fars_read_years: Batch read data "MONTH" info in given year(s)

Description Usage Arguments Value Examples

Description

This function creates a list of tibbles based on input of years. It will first read in the data corresponding to the year(s), then extract the year and month information for each requested year. Conditions that may result in an error: years is not a valid vector containing number of year(s); Data of requested year does not exist.

Usage

1

Arguments

years

a vector of integer representing number of year(s)

Value

This function returns a list of tibbles. Each tibble contain two columns with month and year information extrated from data of requested years.

Examples

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

perfectslumber/far documentation built on May 8, 2019, 12:49 p.m.