fars_read_years: Reads FARS data for selected years and generates separate...

Description Usage Arguments Value Note Examples

Description

Reads FARS data for selected years and generates separate lists for each year with two columns each: MONTH and year.

Usage

1

Arguments

years

A numerical vector representing years to read in the dataset(s)

Value

This function returns a list for each year containing two columns: MONTH and year

Note

Throws an error if the year is not a number or not a year found in the file(s)

Examples

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

samthomasRLA/FARS documentation built on May 28, 2019, 5:40 p.m.