Description Usage Arguments Value Note References Examples
Reads a series of Fatality Analysis Reporting System (FARS) files and returns a frequency table of fatal crashes by month and year.
1 | fars_summarize_years(years)
|
years |
A vector of 4 digit years, coerced to integers. |
This function returns a data frame of the fatality crash frequency by month (row) and year (column).
If the file for a specified year, or permission to it, does not exist, an error is produced.
https://www.nhtsa.gov/research-data/fatality-analysis-reporting-system-fars
1 | ## Not run: fars_summarize_years(2013:2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.