mario.parse_exiobase_sut(
path: str,
calc_all: bool = False,
name: str = None,
year: int = None,
add_extensions: str | None = None,
model: str = 'Database',
version: str | None = None,
**kwargs,
)#

Parse the monetary EXIOBASE SUT into a Database instance.

Note

EXIOBASE 3.8.2 and locally supplied 3.11.2 MRSUT bundles share the same text layout and parser. Automatic SUT downloads are available for 3.8.2 only.

Parameters:
  • path (str) – Path to the EXIOBASE SUT directory or ZIP archive containing supply.csv, use.csv, final_demand.csv and value_added.csv.

  • calc_all (boolean) – if True, by default will calculate z,v,e after parsing

  • year (int, Optional) – optional to the Database (just for recoding the metadata)

  • add_extensions (str, Optional) – optional path to the corresponding EXIOBASE IOT. When provided, the parser reads only the IOT extension blocks and uses them to populate Ea and EY for the SUT.

  • version (str, Optional) – Release label in major.minor.patch form. Checked against a release found in metadata or the bundle/directory name; otherwise recorded as the caller-supplied release. The meta.json field vers is a revision date and does not identify a release. Leave unset if the release is unknown. For a confirmed local 3.11.2 bundle, pass version="3.11.2".

  • name (str, Optional) – optional but suggested. is useful for visualization and metadata.

  • model (str, optional) – Public MARIO model class to instantiate; defaults to Database.

Return type:

mario.Database

See the EXIOBASE monetary guide for local MRSUT imports and download availability.