knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

fars (Fatality Accident Reorting System)

Build Status

There are two things you can do with the fars package:

  1. You can summarize car accident fatality counts by year & month using the fars_summarize_years() function
  2. You can visualize car accident fatalities within a state & year using the fars_map_state() function

Installation

You can install fars from github with:

# install.packages("devtools")
devtools::install_github("john-s-christensen/fars")

Example

Here is a basic example:

library(fars)
fars_summarize_years(c(2013, 2014, 2015))

fars_map_state(48, 2015)


john-s-christensen/fars documentation built on May 17, 2019, 3 p.m.