Scenario construction
Arguments
- driver
A string designating the driver. Available drivers are:
GDP
Population
GDPpc
Labour
Urban
- scenario
A string (or vector of strings) designating the scenario(s) to be returned. Use
toolGetScenarioDefinition()
to learn what scenarios are available.- popAsWeight
If TRUE, then population data of the same scenario is used as weight.
- naming
A string giving the naming scheme of the data dimension. Can be either:
"indicator_scenario" (default): Returns names of the type "gdp_SSP2", or "pop_SSP2".
"indicator.scenario": (deprecated) Returns names of the type "gdp.SSP2", or "pop.SSP2".
"scenario": Returns names of the type "SSP2".
Set naming to "scenario" when you want to operate on SSP2 gdp and population data for instance, and not have to worry about the conflicting names.
- extension2150
A string specifying if/how the scenarios should be extended until 2150. Can be either:
"bezier" (default): A bezier curve extension that leads to a smooth flattening of the scenario: the slope in the last year of the scenario is halved by 2150. Currently only works for scenarios with 2100 as their last year.
"constant": The last value of the scenarios is taken as constant until 2150.
"none": No extension.
Value
magpie object with the requested output data either on country or on regional level depending on the choice of argument "aggregate" or a list of information if supplementary is set to TRUE.
Combining data sources with "-"
Data sources can be combined with "-" and passed to both the pastData and futureData arguments, i.e. "WDI-MI". This signifies that WDI data will be taken first, but missing data will be then be filled in with data from MI.
See also
calcGDPPast()
for the scenario builiding blocks.