fars_read: Reads a Fatality Analysis Reporting System (FARS) file.

Description Usage Arguments Details Value Examples

View source: R/fars_functions.R

Description

The FARS is a nationwide census prepared by the US National Highway Traffic Safety Administration. It provides the American public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes.

Usage

1
fars_read(filename)

Arguments

filename

A character string that represents the location of the FAR file on your computer.

Details

FARS files can be downloaded from the NHTSA website - https://www.nhtsa.gov/research-data/fatality-analysis-reporting-system-fars.

This function reads a FARS file into the R namespace.

Value

A Tibble containing the information in the FARS file.

Examples

1
## Not run: fars_read("./data/accident_2013.csv.bz2")

larkinj/Submission documentation built on Dec. 21, 2021, 8:50 a.m.