fars_read_years: fars_read_years

Description Usage Arguments Value Examples

Description

A wrapper function for applying the 'fars_read' & 'make_filename' to read multiple years of data using lapply. If an invalid year string is provided it will return an error

Usage

1

Arguments

years

A list of character vectors

Value

returns a list containing data (or an error) for each of the years passed in.

Examples

1
2
years <- c("2013","2014")
## Not run: fars_read_years(years)

mattmalcher/farsdemopkg documentation built on May 4, 2019, 6:30 a.m.