climateScenario
Description
Create a climateScenario
object to explore climate scenario
data, compute new values, and visualize the data.
After creating a climateScenario
object, use the associated object functions in your workflows to:
Unstack climate scenario data.
Plot climate scenario data.
Create new regions.
Compute sums and differences of variables.
Compute ratios of variables.
Compute shocked variables and scenarios.
Creation
Syntax
Description
also specifies optional name-value arguments. You can use the
cs
= climateScenario(data
,RegionVar=rVar
,VariableVar=vVar
,ScenarioVar=sVar
,YearVar=yVar
,ValueVar=valVar
,CustomIdenfitifierVars=ciVar
,Name=Value
)CustomIdentifiers
name-value argument to specify additional
identifiers contained in data
. Use the UnitVar
name-value argument to specify a column that contains units in
data
. For example, cs =
climateScenario(data,RegionVar="CL_GEOGRAPHY",VariableVar="CL_VARIABLE",ScenarioVar="CL_SCENARIO",YearVar="CL_YEAR",ValueVar="CL_VALUE",ValueVar="CL_VALUE",CustomIdentifierVars="CL_SECTOR",CustomIdentifiers="Sector",UnitVar="CL_UNIT")
specifies Sector as a custom identifier represented by the CL_SECTOR variable and
specifies a units column CL_UNIT.
Input Arguments
Name-Value Arguments
Output Arguments
Properties
Object Functions
plot | Plot climate scenario data |
query | Return subset of climate scenario data |
groupRegions | Group climate scenario regions |
sumVariables | Compute weighted sum of climate scenario variables |
divideVariables | Compute ratio of climate scenario variables |
shockVariables | Shock climate scenario variables relative to reference scenario |
Examples
Version History
Introduced in R2025a
See Also
plot
| query
| groupRegions
| sumVariables
| divideVariables
| shockVariables