rfars

FARS is a nationwide census providing NHTSA, Congress and the American public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes.

This package gives the user the ability to plot all of the fatal traffic accidents for a particular year on a state map plot, which uses the maps package. Below is information about the FARS data from the NHTSA's website.

Installation

devtools::install_packages("galen211/rfars")

Dependencies

Demos

We can plot Michigan as follows

library("rfars")
rfars::fars_map_state(26,2013)

We can plot New York as follows

library("rfars")
rfars::fars_map_state(36,2013)


galen211/rfars documentation built on May 20, 2019, 4:09 p.m.