Skip to content

Pymrio - regex aggregation of stressors

Compare
Choose a tag to compare
@konstantinstadler konstantinstadler released this 12 Mar 12:52
· 229 commits to master since this release

Pymrio is an open source tool for analysing global environmentally extended multi-regional input-output tables (EE MRIOs). Pymrio aims to provide a high-level abstraction layer for global EE MRIO databases in order to simplify common EE MRIO data tasks. Pymrio includes automatic download functions and parsers for available EE MRIO databases like EXIOBASE, WIOD and EORA26. It automatically checks parsed EE MRIOs for missing data necessary for calculating standard EE MRIO accounts (such as footprint, territorial, impacts embodied in trade) and calculates all missing tables. Various data report and visualization methods help to explore the dataset by comparing the different accounts across countries.


v0.3.6 (March 12, 2018)


Function get_index now has a switch to return dict
for direct input into pandas groupby function.

Included function to set index across dataframes.

Docs includes examples how to use pymrio with pandas groupby.

Improved test coverage.


v0.3.5 (Jan 17, 2018)


Added xlrd to requirements


v0.3.4 (Jan 12, 2018)


API breaking changes

  • Footprints and territorial accounts were renamed to "consumption based accounts" and "production based accounts": D_fp was renamed to D_cba and D_terr to D_pba

v0.3.3 (Jan 11, 2018)


Note: This includes all changes from 0.3 to 0.3.3

  • downloaders for EORA26 and WIOD

  • codebase fully pep8 compliant

  • restructured and extended the documentation

  • License changed to GNU GENERAL PUBLIC LICENSE v3

Dependencies

  • pandas minimal version changed to 0.22
  • Optional (for aggregation): country converter coco >= 0.6.3

API breaking changes

  • The format for saving MRIOs changed from csv + ini to csv + json. Use the method '_load_all_ini_based_io' to read a previously saved MRIO and than save it again to convert to the new save format.
  • method set_sectors(), set_regions() and set_Y_categories() renamed to rename_sectors() etc.
  • connected the aggregation function to the country_converter coco
  • removed previously deprecated method 'per_source'. Use 'diag_stressor' instead.