prepare_transportenergy_t0_data: Generate base-year transportation dataset from which to...

View source: R/model-downscale.R

prepare_transportenergy_t0_dataR Documentation

Generate base-year transportation dataset from which to construct the transport energy downscaling proxy

Description

Perform some pre-processing of the base-year transportation data that will be expanded to all years and used as a downscaling proxy in generate_ds_proxy_data.

Usage

prepare_transportenergy_t0_data(
  country_data,
  use_modal_detail = TRUE,
  mode_mapping_fn = "downscale/map_mode_IEA.csv",
  ...
)

Arguments

datafile

data table with transportation energy consumption

mode_mapping_file

mapping from mode in the transportation energy data to the iTEM modes

Details

The transportation proxy data has modes which may or may not be used, and if they are used, they are somewhat different from the iTEM modes. This function performs the modal pre-processing to construct a useful base-year dataset which can be expanded to all iTEM years for each socioeconomic realization.


transportenergy/item_mip_data_processing documentation built on July 6, 2023, 7:51 p.m.