fars_read: Read in FARS data file

Description Usage Arguments Details Value See Also Examples

View source: R/fars_functions.R

Description

Read in a Facility Analysis Reporting System data file.

Usage

1
fars_read(filename)

Arguments

filename

A character string of the data file path.

Details

Throws an error if file cannot be found.

Value

This function returns a data frame table of the FARS data.

See Also

https://www.nhtsa.gov/Data/Fatality-Analysis-Reporting-System-(FARS)

Examples

1
## Not run: fars_read("accident_2015.csv.bz2")

dandewaters/FARSFunctions documentation built on May 27, 2020, 12:04 a.m.