fars_read: Read data downloaded from FARS

Description Usage Arguments Value Examples

Description

Reads the data downloaded from the Fatality Analysis Reporting System into an R data.frame. A csv.bz2 file must exist in the working directory. Otherwise the function throws an error.

Usage

1
fars_read(filename)

Arguments

filename

A character string giving the name of the file to read

Value

The function returns a data.frame

Examples

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

## End(Not run)

MartinPons/fars documentation built on May 7, 2019, 3:38 p.m.