module_energy_LA100.IEA_downscale_ctry: module_energy_LA100.IEA_downscale_ctry

View source: R/zchunk_LA100.IEA_downscale_ctry.R

module_energy_LA100.IEA_downscale_ctryR Documentation

module_energy_LA100.IEA_downscale_ctry

Description

Downscale proprietary IEA energy balance data to 201 countries, by iso code, FLOW, PRODUCT, and historical year.

Usage

module_energy_LA100.IEA_downscale_ctry(command, ...)

Arguments

command

API command to execute

...

other optional parameters, depending on command

Details

Combine OECD and non-OECD data; perform upfront adjustments for other Africa, Turkey, and South Africa; split out and handle the 1990 split of Yugoslavia and USSR, back-projecting individual country values based on 1990 shares; use population to downscale IEA composite regions (Other Africa, Other non-OECD Americas, Other non-OECD Asia) to individual countries; filter out countries without data in any year.

Value

Depends on command: either a vector of required inputs, a vector of output names, or (if command is "MAKE") all the generated outputs: L100.IEA_en_bal_ctry_hist. The corresponding file in the original data system was LA100.IEA_downscale_ctry.R (energy level1).

Note

We build from the raw (and proprietary) IEA_EnergyBalances_2019 file if they are available; if not, this chunk reads in a pre-generated L100.IEA_en_bal_ctry_hist file and returns that. (In other words, our output is an optional input.)

Author(s)

BBL May 2017


bpbond/gcamdata documentation built on March 22, 2023, 4:52 a.m.