fars_read_years: Function 'fars_read_years': Reads years and returns list with...

Description Usage Arguments Value Examples

Description

This function reads a vector or list 'years' with four digit number in the format yyyy (e.g., 1927) and if the years exist/are correct the function wil returns a list with the correspondung month and year found in the data

Usage

1

Arguments

years

It can be a vector or a list of number representing years with format 'yyyy', such as in '1927'

Value

If 'years' has element corresponding with data bases's years a list of months corresponding to the/these year/s is given back other wise a exception error is thrown.

Examples

1
2
3
fars_read_years(years = c(2013, 2015))
fars_read_years(years = 2013:2015)
fars_read_years(years = list(2013,2015))

pez-espada/fars2 documentation built on May 14, 2019, 8:02 a.m.