mrio_toolbox.extractors.gtap11.gtap_mrio.mrio_builder

Functions to build an MRIO object from GTAP data.

Functions

transform_gtap(gtap)

Convert the gtap data into an MRIO object.

build_io(gtap)

Create the input-output table from the GTAP data

Module Contents

mrio_toolbox.extractors.gtap11.gtap_mrio.mrio_builder.transform_gtap(gtap)[source]

Convert the gtap data into an MRIO object.

Parameters:

gtap (xarray Dataset) – Extracted gtap data

mrio_toolbox.extractors.gtap11.gtap_mrio.mrio_builder.build_io(gtap)[source]

Create the input-output table from the GTAP data

This function treats GTAP data as is. It does not solve any imbalance and stays as close as possible to the raw dataset.

The international trade block allocation follows from the proportionality assumptions. Given the disagreement between import and export data, we average the two to get the bilateral trade shares.

Parameters:

gtap_data (MRIO object) – Direct extraction from the gtap data