Description Usage Arguments Value Source Examples
This function takes a list of years and returns a table of the total number of fatalities per month for each year
1 | fars_summarize_years(years)
|
years |
A list of years in YYYY format |
A table of the total fatalities per month in each year
The data used is from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System (FARS), which is a nationwide census providing the American public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes.
1 2 3 4 5 6 | ## Not run:
fars_summarize_years(2013)
fars_sumarize_years(c(2014, 2015))
fars_summarize_years(2013:2015)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.