fars_read: Read FARS data into data frame

Description Usage Arguments Value Examples

Description

Read downloaded data from US National Highway Traffic Safety Administration's Fatality Analysis Reporting System into a data frame, with header and correct formats for each column.

Usage

1
fars_read(filename)

Arguments

filename

A string indicating the path to the wanted file

Value

A data frame with the data from the file. If file is not found, returns an error.

Examples

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

## End(Not run)

danielmoralesx/dmorales.fars documentation built on May 10, 2019, 1:09 a.m.