fars_read_years: Read FARS data files

Description Usage Arguments Value See Also Examples

Description

Read the multiple year of Fatality Analysis Reporting System data files based on the provided years.

Usage

1

Arguments

years

numerical inputs to indicate the years of the required data

Value

The function uses the make_filename function and returns a tibble data.frame based on the multiple provided years under csv format. The error occured if the input year does not exist.

See Also

make_filename

Examples

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

## End(Not run)

nanhung/fars documentation built on May 30, 2019, 4:04 p.m.