fars_read: Read FARS file

Description Usage Arguments Details Value Examples

Description

A FARS file contains data 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)

Arguments

filename

Name of the file to read

Details

Requires dpyr, tidyr, readr, maps, graphics

Value

This function returns a data frame containing the data read from the file if the requested file does not exist, an error will be reported and the function will stop

Examples

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

## End(Not run)

adhager/farsr documentation built on June 21, 2019, 8:35 a.m.