fars_read_years: Read Multiple Years of FARS Data

Description Usage Arguments Value Note Examples

Description

This function takes a vector of years as input and returns a list of tables containing the month and year variables from the FARS data tables. The years returned correspond to the years in the input vector.

Usage

1

Arguments

years

a numeric vector of length >= 1

Value

A list of tables

Note

The function will throw an 'invalid year' error if it encounters any error.

Examples

1
2
3
4
5
## Not run: 
fars_read_years(c(2000, 2002))
fars_read-years(2013:2015)

## End(Not run)

codyschulz/samplePackage2 documentation built on May 3, 2019, 9:37 p.m.