fars_read: Reads a Fatality Analysis Reporting System dataset

Description Usage Arguments Value Note Examples

Description

Reads a dataset from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System, which is a nationwide census providing the American public yearly data regarding fatal injuries suffered in motor vehicle traffic crashes.

Usage

1
fars_read(filename,fars_path)

Arguments

filename

character string corresponding to the path of the file

fars_path

charcter string correspondinf to the directory contianing the fars data

Value

data frame tbl

Note

stop the execution and print an error message if the file does not exists

Examples

1
2
3
4
## Not run: 
data2013 <- fars_read("fars_data/data/accident_2013.csv.bz2")

## End(Not run)

BreizhZut/Fars documentation built on May 27, 2019, 2:04 p.m.