Description Usage Arguments Value Examples
View source: R/fars_functions.R
fars_read_years
reads multiple yearly data files
and returns a list of tibbles with MONTH and year
columns from the data in "accident_<year>.csv.bz2"
files
1 | fars_read_years(years)
|
years |
vector of years to get data for |
list of tibbles, one per year, with two columns
MONTH and year. If any of the years from the input vector
does not corresponds to an existing data file for that
particular year, NULL and invalid year
warning message
will be returned
1 2 | ## Not run: fars_read_years('2015')
## Not run: fars_read_years(c('2013','2014'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.