fars_read_years: Create a dataframe of selected year from FARS dataset

Description Usage Arguments Details Value Note Examples

Description

fars_read_years is used to create a datafrane of selected year from FARS dataset

Usage

1

Arguments

years

A character or integer vector of years

Details

The function creates a dataframe of Month and year from the FARS base dataset

Value

This function returns a dataframe.

Note

Error message:If an incorrect year integer or string is entered then an error is thrown

Examples

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

## End(Not run)

cablegui/fars documentation built on May 13, 2019, 10:37 a.m.