to_csv | R Documentation |
Takes a tidysummary object and saves it into a CSV file with UTF-8 encoding.
to_csv(df, file, overwrite = FALSE)
df |
a data frame. |
file |
filename to create on disk. |
overwrite |
whether to overwrite the file if it already exists. |
Uses the write.csv
function to save the file.
tidysummary()
## Not run: data <- tidysummary(iris) to_csv(data, file="filename.csv") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.