Check the year(s) supplied are valid
Usage
check_year(year, call = rlang::caller_env())
Arguments
- year
Year of the file to be read, you can specify multiple years which will then be returned as one file. It will be converted to short FY using
format_year()
.- call
Supply environment from the top-level function to make any error messages more useful.