fars_read_years: Read Fatality Analysis Reporting System file by providing the...

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

Imports the specified file by only providing the year as a parameter and returns a data frame containing only MONTH and year columns.

Usage

1

Arguments

years

A vector of positive integers representing years of interest

Value

A list of tibbles

Note

Returns an error when supplying the function with years for which there are no data frames to import

Examples

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

## End(Not run)

CTBushong/FARS documentation built on Dec. 17, 2021, 1:02 p.m.