check and convert year argument

check_year(year)

Arguments

year

Single year for which file is to be downloaded.

Examples

# check_year("2018") # fails # check_year(2017) # check_year(2006) # check_year(1985)