Description Usage Arguments Value Note Examples
View source: R/fars_read_years.R
The function reads years and months from multiple FARS files.
1 | fars_read_years(years)
|
years |
A vector of years to read the datasets for |
Function returns a list of tibbles for each selected year, containing month and year columns.
The files should be named 'accident_year.csv.bz2' otherwise the function will return an error.
1 2 3 4 5 | ## Not run:
#' my.data.lst <- fars_read_years(c(2013, 2014, 2015))
my.data.lst <- fars_read_years(2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.