export_named_df | R Documentation |
Export the downloaded table into a csv file.
export_named_df(path_data = "./", year, named_df)
path_data |
where does the download happen: default current directory |
year |
filename for .csv file. Note that you need to pass in the correct year here, since the function has no idea of what the actual year corresponding to this data is |
named_df |
data frame with name |
NIL. Exports csv file "./singlefile/$agglvl_code/$year.csv"
generates the appropriate directory if it does not already exist.
our data does not have any headers; this simplifies the process of joining all the csv files with cat or similar command line tools so that we have a single file across all aggregation level codes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.