knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(farspackage)
Read the data
fars_data <- fars_read_years(2013)
Summary basic
knitr::kable(fars_summarize_years(years = c(2013:2014)))
To plot the locations of the accidents in a year:
```r fars_map_state(11, 2013)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.