Description Usage Arguments Details Value Examples
View source: R/fars_functions.R
The FARS is a nationwide census prepared by the US National Highway Traffic Safety Administration. It provides the American public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes.
1 | fars_read_years(years)
|
years |
A list of integer years that are of interest. |
Years must be represented by numeric values. Years represented as character strings will cause an error.
FARS files should be situated in the working directory. FARS files can be downloaded from the NHTSA website - https://www.nhtsa.gov/research-data/fatality-analysis-reporting-system-fars.
A Tibble containing the information in a FARS file for each year of interest.
1 | ## Not run: fars_read_years(2013:2015)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.