fars_read: Reading FARS csv data files

Description Usage Arguments Details Value Note Examples

Description

fars_read is used to read FARS (Fatality Analysis Reporting System) csv files.

Usage

1
fars_read(filename)

Arguments

filename

A character string of the path and the file name. For example "./A/B/C/xyz.csv.bz2"

Details

Converts a FARS bz2 file into a dataframe

Value

This function returns a data frame.

Note

Error Message: If a wrong file name is entered then an error is thrown

Examples

1
2
t <- system.file("extdata", "accident_2013.csv.bz2", package="fars")
fars_read(t)

cablegui/fars documentation built on May 13, 2019, 10:37 a.m.