fars_read_years: Extract the month from every accident in the data set

Description Usage Arguments Value Note Examples

View source: R/fars_functions.R

Description

Extract the month from every accident in the data set

Usage

1

Arguments

years

a numeric vector representing one or more years

Value

a list of data frames (a data frame for every year) with the month for every accident in the FARS data set data for each the selected years.

Note

If one of the years used as input does not exist the function will throw a warning, but will read correctly for all the valid values. The invalid year will have a corresponding empty data frame in the output list.

Examples

1
2
3
4
## Not run: 
fars_read_years(2013:2015)

## End(Not run)

DragosMG/fars documentation built on Sept. 16, 2021, 12:58 p.m.