message_ix_models.tools.iea.web.load_data
- message_ix_models.tools.iea.web.load_data(provider: str, edition: str, query_expr="MEASURE == 'TJ' and TIME >= 1980", path: Path | None = None) DataFrame[source]
Load data from the IEA World Energy Balances.
- Parameters:
query_expr (
str, optional) – Used withpandas.DataFrame.query()to reduce the returned data.base_path (
os.Pathlike, optional) – Path containingFILES. If not provided, locations withinmessage_dataormessage_ix_modelsare used.
- Returns:
The data frame has one column for each of
DIMS, plus “Value”.- Return type: