Description Usage Arguments Details Value Examples
This function inputs a list of years, reads in the data and outputs a list of data frames with the month and year
1 | fars_read_years(years)
|
years |
A vector or list of years. Each value should be a character, integer or numeric |
Warning: The relevant fars files need to be in the working directory with the format: accident_YEAR.csv.bz2 where YEAR is a placeholder for a 4-digit year
A list of data frames by year with the month and year
1 2 | ## Not run: data_2013 <- fars_read_years(2013)
## Not run: data_2013_to_2015 <- fars_read_years(c(2013,2014,2015))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.