fars_read_years: Read FARS Data for One or More Years

Description Usage Arguments Value Note References Examples

Description

Reads a series of Fatality Analysis Reporting System (FARS) files and returns a dplyr tbl_df of the month and year columns for each file.

Usage

1

Arguments

years

A vector of 4 digit years, coerced to integers.

Value

This function returns a dplyr::tbl_df with month and year columns.

Note

If the file for a specified year, or permission to it, does not exist, an error is produced.

References

https://www.nhtsa.gov/research-data/fatality-analysis-reporting-system-fars

Examples

1
## Not run: fars_read_years(2013:2015)

kaquilino/fars documentation built on May 20, 2019, 7:20 a.m.