write_dcs | R Documentation |
Write a DCS formatted dataset to a file that can be uploaded to the Data Collection System.
write_dcs(df, path, type = c("data", "meta"))
df |
data.frame: A DCS formatted data frame. Output of |
path |
character: A file name to write to. |
type |
character: Type, either 'data' or 'meta'. |
## Not run:
# Load example data
data("bednets")
# Write DCS 'data' format
df <- format_dcs(bednets, type = "data")
write_dcs(df, path = "data-bednets.xlsx", type = "data")
# Write DCS 'metadata' format
df <- format_dcs(bednets, type = "meta")
write_dcs(df, path = "meta-bednets.xlsx", type = "meta")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.