fars_read_years: This function takes a numerical vector of years to be...

Description Usage Arguments Value Note See Also Examples

View source: R/fars_functions.R

Description

This function takes a numerical vector of years to be included in the data frame output. Data should be in .csv.bz2. If a year is not included in the data the function shows a warning and return null for that year.

Usage

1

Arguments

years

A numerical vector indicating the years to include in the search

Value

A list of data frames for each year that was requested.

Note

If file does not exist for corresponding year a warning will be generated and NULL returned for that year

See Also

make_filename

fars_read_years

Examples

1
2
3
4
5
6
7
8
## Not run: 
fars_read_years(2013)
fars_read_years(2013L)
fars_read_years('2013')
fars_read_years(c(2013, 2014))
fars_read_years(list(2013, 2015))

## End(Not run)

lorenzo-arturo/farspackage documentation built on June 13, 2020, 12:24 a.m.