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.
- 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.