Description Usage Arguments Value Examples
fars_read_years
will read in multiple Fatality Analysis Reporting
System data files based on the years provided.
1 | fars_read_years(years)
|
years |
A vector or list of years in numeric or integer format. |
fars_read_years
will search for the file names based on the
years provided. For example, if 2013:2014 is provided fars_read_years
will search for the following files:
"accident_2013.csv.bz2"
"accident_2014.csv.bz2"
If the files exist a list containing the respective data will be returned. If the files do not exist an error will be returned stating the invalid year(s).
1 | fars_read_years(2013:2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.