check_available_years: Helper to check yearly availability
Description
Use this function to check if a specifed vector of years intersects
with the yearly availablity of a resource.
Usage
check_available_years(target_years, available_years, indicator)
Arguments
- target_years
Numeric indicating the target year.
- available_years
Numeric indicating the available years.
- indicator
A character vector with target resource/indicator name.