Description Usage Arguments Value Examples
The function calculate from FARS files the number of accidents per month and per year. It permits to compare months year by year. FARS is US National Highway Traffic Safety Administration's Fatality Analysis Reporting System, which is a nationwide census providing the American public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes.
1 | fars_summarize_years(years)
|
years |
a vector (atomic or list) of integer(s) representing year in 4 digits format YYYY. Years must be presents in FARS data. |
a tibble data frame in the wide format
1 2 3 4 5 | ## Not run:
output <- fars_summarize_years(c(2013,2014))
print(output)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.