This package contains function for loading, summarizing and mapping data from the 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.
https://en.wikipedia.org/wiki/Fatality_Analysis_Reporting_System
Returns a list, each element a data frame with data for individual year. Each row in data frame is a single fatal accident.
fars::fars_read_years(c(2013,2014,2015))
fars::fars_summarize_years(c(2013,2014,2015))
Use the index from state.name as first parameter.
fars::fars_map_state(1,2013)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.