write_csv_rds | R Documentation |
Write a dataframe to a CSV and RDS
write_csv_rds(df, path, basename)
df |
(Dataframe) A dataframe. |
path |
(Character) The output folder. It will be created if it does not
exist. Two sub-directories ( |
basename |
(Character) The name of the resulting files, without a path or extension. |
Returns TRUE
invisibly on success.
# write_csv_rds(iris, "_output", "my_iris")
#> Wrote 'iris' to '_output/csv/my_iris.csv'.
#> Wrote 'iris' to '_output/rds/my_iris.rds'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.