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