scenario_for_sector_x_geography: Obtain available scenario_x_source for geography - sector...

View source: R/config-helpers.R

scenario_for_sector_x_geographyR Documentation

Obtain available scenario_x_source for geography - sector combinations

Description

Function returns a vector holding names of scenarios for a provided sector and scenario_geography. To identify valid sector x scenario_geography combinations refer to geographies_for_sector(). Source of truth is the overview scenario_geography_x_ald_sector per default. In case combination of sector and scenario_geography is not available an error is thrown.

Usage

scenario_for_sector_x_geography(st_input_folder, sector, scenario_geography)

Arguments

st_input_folder

path to the input folder containing stress test input files

sector

String of length 1 holding sector name.

scenario_geography

String of length 1 holding sector name.

Value

A string holding valid scenario names.


2DegreesInvesting/r2dii.climate.stress.test documentation built on June 6, 2024, 8:23 a.m.