check_year: check and convert year argument

Description Usage Arguments Examples

View source: R/utils.R

Description

check and convert year argument

Usage

1
check_year(year)

Arguments

year

Single year for which file is to be downloaded.

Examples

1
2
3
4
# check_year("2018") # fails
# check_year(2017)
# check_year(2006)
# check_year(1985)

stats19 documentation built on Feb. 15, 2019, 5:05 p.m.