Description Usage Arguments Value Source Examples
This function summarizes the number of traffic accidents for the requested years accross all states. The data is presented in a tabular form.
1 | fars_summarize_years(years)
|
years |
a numerical vector of years, or a vector that can be coerced into a numerical vector. The years when data are available include 2013, 2014, and 2015. |
The function returns a tbl_df, tbl, data.frame class that summarizes the number of accidents that have occured across all states in any given year.
US National Highway Traffic Safety Administration's Fatality Analysis Reporting System
1 | ## Not run: DTA<-fars_summarize_years(c(2013, 2014))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.