fars_read_years: "fars_read_years" function return the dataframe containing 1)...

Description Usage Arguments Value Examples

Description

This is utility function. This is called internally, by "fars_summarize_years" function. not intended for user call.

Usage

1

Arguments

years

years vector.

Value

dataframe containing MONTH and year For the given vector of "years", in a file.

Error : If the given year is not found with the prepared filename by "make_filename", then error is thrown as "invalid year: ": xxxx where xxxx is invalid year.

Examples

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

## End(Not run)

dappaduppa/ddweek4pkg documentation built on May 26, 2019, 9:31 a.m.