fars_read_years: Read data from multiple years from the Fatality Analysis...

Description Usage Arguments Value Examples

Description

Function generates file names and reads files for multiple years of data from the Fatality Analysis Reporting System. Uses make_filename fars_read from this package. Error message is generated if year number is invalid.

Usage

1

Arguments

years

Vector of years of data to be retrieved. Current dataset contains years 2013-2015.

Value

A list containing the data.frames generated from the function fars_read that is called inside this function.

Examples

1
2
3
4
## Not run: 
fars_read_years(c(2013:2015))

## End(Not run)

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