knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(FARSFunctions)

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 provides a set of 5 functions that help to analyse FARS dataset:

Examples

Below code demonstrates examples of function usage:

fars_read(make_filename(2015))
fars_read_years(c(2013,2014,2015))
fars_summarize_years(c(2013,2014,2015))
fars_map_state(1,2015)


sandeepbm/FARSFunctions documentation built on May 17, 2019, 7:58 a.m.