README.md

Fatality-Analysis-Reporting-System

Travis-CI Build Status

The functions contained in this package are designed to be used with data from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System, a nationwide census providing the American public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes.

Installation

If you do not have devtools installed, I recomend installing the ghit package which is a lighter weight package designed to install packages from github. ```r{} install.packages("ghit")


Next, use `ghit` to install the `fars` package from GitHub.
```r{}
ghit::install_github("JustinMShea/fars", build_vignettes = TRUE)

Example

Load the fars package..

library(fars)

Check out the documentation about the functions and what they do.

?make_filename

?fars_read

?fars_read_years

?fars_summarize_years

?fars_map_state

Check out the documentation on the sample data provided in the package.

?accident_2013

?accident_2014

?accident_2015

In addition, please see the fars-vignette for a more in depth example of using these functions.

{r} vignette("fars-vignette")



JustinMShea/Fatality-Analysis-Reporting-System documentation built on Sept. 20, 2017, 12:01 a.m.