fars_read_years: Read Fatality Analysis Reporting System data for the years

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

This function reads csv files of Fatality Analysis Reporting System data for the years (using the years argument) and returns a list of data.frames corresponding to the years.

Usage

1

Arguments

years

A vector of years

Value

A list of data.frames corresponding to the years

Note

Any invalid year in the vector of years results in Null item of the returned list with warning messages "invalid year: yyyy"

Examples

1
2
3
4
## Not run: 
 dat_list <- fars_read_years(c(2013, 2014, 2015))
 
## End(Not run)

atibot/tobitar documentation built on May 28, 2019, 6:35 p.m.