View source: R/export_county_files.R
export_county_files | R Documentation |
Export data into a csv and/or rds file
export_county_files(
dat,
file_name = "",
output_path = NULL,
export_csv = TRUE,
export_rds = TRUE,
return_global = FALSE
)
dat |
Dataframe to be exported, e.g., output from
|
file_name |
Name for the output file. Will be appended with today's date. |
output_path |
Path to where assembled file(s) should be exported. The
default will export the csv file to the Open Data/Submissions folder on the
CMAR Operations shared drive (for submission to the Open Data Portal) and
the rds file to the Open Data/County Datasets folder. For custom
|
export_csv |
Logical argument indicating whether the data should be
exported as a *.csv file. File name will be county_todays-date.csv. Default
is |
export_rds |
Logical argument indicating whether the assembled data
should be exported as a *.rds file. File name will be
county_todays-date.rds. Default is |
return_global |
Logical argument indicating whether the assembled data
should be returned to the global environment. Default is |
Exports dat
as a csv and/or rds file.
Danielle Dempsey
Other OpenData CMAR:
assemble_county_data()
,
import_strings_data()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.