fars_read_years: fars_read_years - read files with all the years

Description Usage Arguments Value Note Examples

Description

This function takes a list of years of the accidents and read all the coorisponding files.

Usage

1

Arguments

years

List of years whcih the files will be read.

Value

a list of dplyr tbl_df which shows the month there is an accident in that year.

Note

Error when file does not exist or cannot be read

Examples

1
2
## Not run: recent_accident <- fars_read_years("2015")
## Not run: other_accident <- fars_read_years(c(2013,2014))

Cheukting/fars documentation built on May 29, 2019, 5:56 p.m.