Creating summaries from the Fatality Analysis Reporting System (FARS) data in mvfars is done by calling fars_summarize_years() and passing it a single year or a vector of years:
fars_summarize_years(2013) #returns a data frame with total fatalities for each month of 2013 fars_summarize_years(c(2013, 2014, 2015)) #returns a data frame with total fatalities for each month of 2013, 2014, and 2015
The fars_summarize_years() function reads the corresponding data file for each year listed, grouping by month and year, and totaling fatalities for each month of each year.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.