fars_read_years: fars_read_years fuction given a list of years, extracts for...

Description Usage Arguments Value Examples

Description

fars_read_years fuction given a list of years, extracts for each year the MONTH column and a year column of the accident data of that year.

Usage

1

Arguments

years

a vector or list of integers representing the years

Value

a list of dataframes of the same length of /code "year". Each element of the list refers to a year of the list and si a dataframe that includes the MONTH column of the accident data of the year and a column with the year. If there is no data of the year the element of the list will be null.

Examples

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

## End(Not run)

llafuenteDECIDE/FAR documentation built on May 18, 2019, 8:12 p.m.