mario.read_gloria_use_valuations
- mario.read_gloria_use_valuations(
- path: str | Path,
- *,
- commodity: str,
- year: int | None = None,
- destination_regions: list[str] | tuple[str, ...] | None = None,
Read signed GLORIA use valuations for one commodity.
- Parameters:
path (str or Path) – Local GLORIA release root, annual archive, or annual CSV directory.
commodity (str) – Exact native commodity label from the GLORIA ReadMe.
year (int, optional) – Reference year. Required if the source contains multiple years.
destination_regions (sequence of str, optional) – GLORIA region codes for purchasers, in the requested order. By default, keep all purchasers. All supplier regions are retained.
- Returns:
Basic values, trade margins, transport margins, product taxes, signed product subsidies, and their sum, under keys
basic,trade,transport,taxes,subsidiesandpurchaser. Rows are supplier regions and columns are a three-level index of use type, destination region and buyer activity or final demand category. Values use GLORIA’s native monetary unit (current thousand USD).- Return type:
dict of str to pandas.DataFrame
Notes
Use these values to price a demand basket. This function reads use-side transactions and does not build a purchaser-price production model.
See the GLORIA guide.