Description Usage Arguments Details Value Examples
Loops through rds files containing dataframes with CAGED preprocessed data from a given month, reads them, and organizes data in a single dataframe.
1 2 3 4 5 6 7 8 |
data_folder |
A character string indicating the directory where the rds files are located. |
start |
A character string indicating the month and year of the first month. Recommended format: YYYY-MM. |
end |
A character string indicating the month and year of the last month. Recommended format: YYYY-MM. |
periodos_12meses |
Logical. Can be set to |
nested |
Logical. Defaults to |
stringAsFactors |
Logical. |
Note: rds files must be located inside the directory passed in the
data_folder
argument, and must be named in the following way:
CAGED_YYYY_MM.rds.
A dataframe.
1 2 3 4 5 6 | ## Not run:
caged2012 <-
read_caged_rds(data_folder = 'caged_clean',
start = '2012-01', end = '2012-12')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.