fars_read_years: Read multiple FARS dataset

Description Usage Arguments Details Value Examples

Description

Reads the data for the given years. If the dataset corresponding to a year is not found, the function creates a warning and returns null

Usage

1

Arguments

years

The years for which FARS data has to be read

Details

Error if file for the given year not found in the FARS dataset

Value

list of datasets for each year having the MONTH and year column. The count of MONTH represents the fatalities in that month.

Examples

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

## End(Not run)

utkarshphirke/fars documentation built on May 7, 2019, 6:10 a.m.