knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
https://travis-ci.org/gben1750/fatal-car-analysis-reporting-system.svg?branch=main
The goal of the Fatal Car Analysis package is to graphically display the location of fatal car accidents for a given year and state. Data sets for the years 2013-2015 are available in the package.
You can install the released version of fatalcaranalysiisreports from CRAN with:
install.packages("fatalcaranalysiisreports")
And the development version from GitHub with:
# install.packages("devtools") devtools::install_github("gben1750/fatal-car-analysis-reporting-system")
This is a basic example which demonstrates how to display the location of fatal accidents for a selected year and state.
The following R code will display the location of accidents for Alabama during 2014.
library(fatalcaranalysiisreports) fars_map_state(1, 2014)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.