Description Usage Arguments Value Note Examples
View source: R/fars_functions.R
This function reads csv files of Fatality Analysis Reporting
System data for the years (using the years
argument)
and returns a list of data.frames corresponding to the years.
1 | fars_read_years(years)
|
years |
A vector of years |
A list of data.frames corresponding to the years
Any invalid year in the vector of years results in Null item of the returned list with warning messages "invalid year: yyyy"
1 2 3 4 | ## Not run:
dat_list <- fars_read_years(c(2013, 2014, 2015))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.