xlExportCSV: Export multiple dataframes to local CSVs

Description Usage Arguments Examples

View source: R/xlExportCSV.R

Description

This function uses write.csv to export one or more dataframes to CSV file(s) on the local drive.

Usage

1
xlExportCSV(dfs, file_loc, file_names, suffix = xlTxtDate(), ...)

Arguments

dfs

A list of dataframes to be exported.

file_loc

Single character string for the path to which the files are to be exported.

file_names

Character vector, the file names to be saved.

suffix

A character vector to append to the end of the file names (such as the current date),

...

passed to write.csv.

Examples

1
2
3
4
## Not run: 
xlExportCSV(list(df1, df2), './output', c('table1', 'table2'))

## End(Not run)

xinye1/xltools documentation built on Dec. 2, 2020, 7:23 p.m.