knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of my.far.pkg is to read data of Fatality Analysis Reporting System (FARS) from the National Highway Traffic Safety. Also, provides some map plotting functionality.
library(my.far.pkg)
fars_summarize_years
Summary info per each year-month:
fars_summarize_years(c(2014, 2015))
fars_map_state
Plot accidents onto the map.
plot(fars_summarize_years(2014))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.