fars_read_years: Support Function

Description Usage Arguments Value Examples

View source: R/fars_functions.R

Description

fars_read_years(years) is a support function that creates list(s) of month- year based on the parameters passed into the function. This function uses *make_filename* function as well as mutate and select functions from the dplyr package.

Usage

1

Arguments

years

Numerical values which can be a single or multiple years and this value must be supplied as four digit integer value. This parameter will be used to generate list(s) of month-year. Error will result if non-numerical parameter is passed into the function

Value

The function will return a list or lists of month-year (<int><dbl>).

Examples

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

MoRudyKim/farsfunc documentation built on May 28, 2019, 1:54 p.m.