fars_read_years: Extract monthly data

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

For the specified years this function returns their monthly data. If there is no data for the specified year available, the function will return an error.

Usage

1

Arguments

years

Years of interest provided as list or vector

Value

A list object. Each element holds monthly data for one year as data.frame with columns 'MONTH' and 'year'

Examples

1
2
3
4
5
## Not run: 
fars_year_data <- fars_read_years(2013)
fars_year_data <- fars_read_years(c(2013, 2015))

## End(Not run)

niklaas/fars documentation built on May 5, 2019, 1:38 p.m.