ec_export.Rd
Export an EtherCalc "room" to a local file
ec_export(room, type = c("csv", "json", "html", "md", "xlsx"), path, overwrite = TRUE, ec_host = ethercalc_host())
room | name of an EtherCalc "room" |
---|---|
type | EtherCalc supports exporting as CSV, JSON, HTML, markdown, or Excel.
Use " |
path | place to save the file. Value will be |
overwrite | overwrite |
ec_host | See |
a raw
vector containing the contents of what was written to path
.
# NOT RUN { ec_edit(mtcars, "mtcars") ec_export("mtcars", "csv", "mtcars.csv") ec_export("mtcars", "json", "mtcars.json") ec_export("mtcars", "html", "mtcars.html") ec_export("mtcars", "md", "mtcars.md") ec_export("mtcars", "xlsx", "mtcars.xlsx") # }