Create a file with empty data or footnotes to blank pre-existing values in DCS.
create_blank(indicator, iso3c = "all", year = "all", type = c("data", "meta"))
character: A CETS type indicator code.
character: ISO3 code. Defaults to 'all'.
numeric: Year. Defaults to 'all'.
character: Type, either 'data' or 'meta'.
data.frame
# A specific indicator / country /year
df <- create_blank("SP.POP.TOTL",
iso3c = "ALB", year = 2014
)
# Multiple indicators / countries / years
df <- create_blank(
indicator = c("SP.POP.TOTL", "SH.MLR.NETS.ZS"),
iso3c = c("ALB", "AGO"),
year = 2014:2015
)
# All countries and years (data)
df <- create_blank("SP.POP.TOTL",
type = "data"
)
# All countries and years (metadata)
df <- create_blank("SP.POP.TOTL",
type = "meta"
)