Description Usage Arguments Value Examples
Function generates file names and reads files for multiple years of data from the Fatality Analysis Reporting System. Uses make_filename
fars_read
from this package. Error message is generated if year number is invalid.
1 | fars_read_years(years)
|
years |
Vector of years of data to be retrieved. Current dataset contains years 2013-2015. |
A list containing the data.frames generated from the function fars_read
that is called inside this function.
1 2 3 4 | ## Not run:
fars_read_years(c(2013:2015))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.