fars_read_years: fars_read_years

Description Usage Arguments Value Note Examples

Description

Function fars_read_years takes a list of years and return the data of specific years, which only remains the variables of MONTH and year.

Usage

1

Arguments

years

a vector or list of years

Value

Function fars_read_years returns a list, with the variables MONTH and year for each element in argument years.

Note

If a element year in argument years is invalid, function fars_read_years returns NULL and be reported as error in the invalid year. If year is not integer, it would be transfered to as.integer.

Examples

1
2
fars_read_years(c(2013,2014))
fars_read_years(c(2014,2015))

maianhdang/fars documentation built on May 20, 2019, 7:57 a.m.