fars_read: Reader for Fatality Analysis Reporting System

Description Usage Arguments Value Examples

Description

A simple read function for an individual file from the US National Highway Traffic Safety Administration's Fatality Analysis Reporting System.

Usage

1
fars_read(filename)

Arguments

filename

Name of a file that contains data from the Fatality Analysis Reporting System. Called by fars_read_years, fars_summarize_years and fars_map_state. Error message is generated if the file does not exist.

Value

A nicely formated data.frame containing the data from the file filename.

Examples

1
2
3
4
5
## Not run: 
file_2013 <- make_filename(2013)
fars_2013 < - fars_read(file_2013)

## End(Not run)

julianbarg/farsfunctions documentation built on May 5, 2019, 1:36 a.m.