This package is a simple example package for the coursera.
The summarise years functions reads in the csv for the FARS data for a particular year. It then summarises the number of fatal crashes per month in those years. The below example illustrates for the years 2013 and 2014.
# setwd("../data") fars_summarize_years(c(2013,2014))
This function will plot all the accidents in a given state for a given year.
# setwd("../data") fars_map_state(1, 2013)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.