create_blank | R Documentation |
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"))
indicator |
character: A CETS type indicator code. |
iso3c |
character: ISO3 code. Defaults to 'all'. |
year |
numeric: Year. Defaults to 'all'. |
type |
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"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.