fars_read_years: reads fars files for one or more years.

Description Usage Arguments Details Value Note Examples

Description

fars_read_years produces a list of FARS data containing months and years.

Usage

1

Arguments

years

One or more years as integer or string

Details

for the given years fars file produces a dataframe of year and month observations.

Value

a list of data frames

Note

If the file for a specified year, or permission to it, does not exist, an error is produced.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
fars_read_years(years = 2013)

## End(Not run)

## Not run: 
fars_read_years(years = 1066) # error

## End(Not run)

Gregorypi/fars documentation built on May 23, 2019, 1:25 p.m.