knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
This packages aims to produce simple graphics to show the accidents in US territory.
make_filename
functionThis function generates the filename.
fars_read
functionThe fars_read
will use as input the filename string from make_filename
.
Based on the archives from US FARS are located in the documents folder.
fars_read_years
functionThis functions goes further and use the both functions (make_filename
and fars_read
) to generate a list.
fars_summarize_years
functionThis functions print a summary.
fars_map_state
functionPlot a Graphic of each State of US.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.