format_dcs | R Documentation |
Convert a dataset retrieved with fetch_indicator()
to DCS format.
format_dcs(df, type = c("data", "meta"))
df |
data.frame: A |
type |
character: Type, either 'data' or 'meta'. |
tibble
# Load example data
data("bednets")
# Convert to 'data' format
format_dcs(bednets, type = "data")
# Convert to 'metadata' format
format_dcs(bednets, type = "meta")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.