fars_read_years: Data date range

Description Usage Arguments Details Value Examples

Description

This function returns the month and year of the data in a range of annual data files

Usage

1

Arguments

years

a vector of integer year values (YYYY)

Details

This function iterates over a range of year values and uses the fars_read and make_filename to find and report the content of the MONTH and YEAR columns in each data file. The data files have to be in the same working directory.

Value

A tipple of the MONTH and YEAR values for each data file in the years range

Examples

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

## End(Not run)

barnabe/building_an_r_package documentation built on May 11, 2019, 6:23 p.m.