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

US FARS (Fatality Analysis Recording System)

The package aims to produce graphics showing accidents in US history.

The make_filename function

Generates the file name.

The fars_read function

The function will read the file name string from make_filename. It is based on the archives from US FARS and are located in the documents folder.

The fars_read_years function

Generates a list using the make_filename and fars_read functions.

The summarize_years function

Prints a summary based on the selected years if they are in the data.

The fars_map_state function

Plot of a graph from the selected data for each State in the US.

Dependecies



jeff-hardwoodsnb/Week4Fars documentation built on May 7, 2022, 12:07 a.m.