Description Usage Arguments Examples
save_tables
exports the table input(s) to the designated directory
in .csv
, .feather
, or both formats.
1 | save_tables(tables, filenames, dir = NA, format = NA)
|
tables |
A list of data frames. |
filenames |
A character vector of filenames. |
dir |
A character value for a path to a directory where the tables will be stored. If missing, each table is exported to the working directory. |
format |
A character value for the output format. |
1 2 3 4 5 | ## Export a single table
save_tables(tbl, "tbl")
## Export multiple tables
save_tables(list(tbl1, tbl2), c("tbl1", "tbl2"), dir="data", format="csv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.