View source: R/model-downscale.R
generate_ds_proxy_data | R Documentation |
Takes in file paths to country-level data that is used to construct downscaling proxy datasets for any number of country-level socioeconomic realizations, in all time periods. Input socioeconomic data must include all future analysis years; these data are used to expand but other proxy data from a given base year to all iTEM analysis years. Returns a list of downscaling proxy dataframes.
generate_ds_proxy_data(
pop_data_fn = "downscale/SSP_Population.csv",
gdp_data_fn = "downscale/SSP_GDP_PPP.csv",
transportenergy_data_t0_fn = "downscale/IEA_trn_ctry.csv",
use_modal_detail = TRUE,
apply_modal_elasticities = TRUE,
save_output = TRUE,
create_dir = TRUE,
output_dir = DS_OUTPUT_DIR,
...
)
pop_data_fn |
file name of data with population by scenario, country, year (including future iTEM years) |
gdp_data_fn |
file name of data with GDP by scenario, country, year (including future iTEM years) |
transportenergy_data_t0_fn |
file name of data with transportation energy consumption data by country, for a base year. May include mode-level detail. |
use_modal_detail |
logical indicating whether to determine mode-specific proxy values. If false, a single proxy will be calculated for the whole transportation sector. |
apply_modal_elasticities |
logical indicating whether to differentiate income elasticities by mode. If true, exogenous assumptions are used. If false, all modes are assigned an income elasticity of 1. |
save_output |
indicate whether to save the output of this function |
create_dir |
indicate whether to create a new directory if the specified one does not already exist |
output_dir |
file path where output of this function is saved |
The downscaling proxy data generated by this function are assumed to apply to all models; i.e., elasticities linking future GDP growth to future changes in the base-year proxy data do not differ by model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.