Description Usage Arguments Value Examples
This function uses a vector or list of years and returns a list of data frames containing the month and years for each accident in the corresponding CSV file. It will display a warning and return NULL if the year does not exist
1 | fars_read_years(years)
|
years |
A list or vector containing the years to search |
Returns a list of data frames containing MONTH and year columns based on the "accident_<year>.csv.bz2 files Returns NULL if the year does not exist
1 2 3 4 5 6 | ## Not run:
fars_read_years(c(2014, 2015, 2016))
fars_read_years(2014:2016)
fars_read_years(list(2014, 2015, 2016))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.