knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(farspackage)
This package reads and summarises USA National Highway Traffic Safety Administration NHFTS Fatality Analysis Reporting System FARS format data files.
fars_read("accident_2013.csv.bz2")
make_filename(2020)
fars_read_years(c(2013, 2014, 2015))
fars_summarize_years(c(2013, 2014, 2015))
fars_map_state(6, 2013)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.