added functionality to download and parse 2023 release of OECD IO tables (by @jaimeoliver1, #132)
Added draft Gosh implementation for downstream analysis (by @Beckebanze , #136)
- equivalent of A for Ghosh (A* in literature, called As in pymrio)
- the Ghosh inverse (often referred to G in literature).
- downstream scope 3 multiplier, M_{down}, such the sum of the M+M_{down} is the full scope multiplier, with M the existing multiplier in pymrio that covers scope 1,2&3 upstream.
- a short addition to the pymrio background page that introduces the Ghosh model
- tests that test the functionality of the added functions
- Fix downloader for new Zenodo API (by @hazimhussein)
- Fix coverage report (by @konstantinstadler)
- OECD bundle download (by @hazimhussein) - see https://pymrio.readthedocs.io/en/latest/notebooks/autodownload.html#OECD-download
- Fix EORA26 parsing (by @hazimhussein)
- Switched to Micromamba in the CI
- Fixed readthedocs settings
- small bugfix with version numbering
- Move the repository to the public IndEcol organization on GitHub: https://github.com/IndEcol/pymrio
- dropped support for Python 3.7 and added 3.10 and 3.11
- License changed to LESSER GNU GENERAL PUBLIC LICENSE v3 (LGPLv3)
- added pyarrow as requirment
- Autodownloader for GLORIA MRIO (by @hazimhussein)
- Support of parquet format for load and save function
- Fix Eora downloader (by @hazimhussein)
- Added inbuild classification for - Test MRIO - EXIOBASE 2 - EXIOBASE 3
- Method for renaming sectors/regions based on the built in classification
- Method for aggregating duplicated indexes
- F_Y was removed in reset_full - fixed
- updated deprecated pandas methods - fix #93
- Fixed OECD downloader and parser (by @jaimeoliver1)
- Fixed indexing bug in calc_accounts for non-full Y
- Added Stadler 2021 reference
- change github actions testing to development -> production for multiple os
- dropped support for Python 3.6
- Index sorting consistent for all characterized impacts
- Characterization for cases when some stressors are missing from the characterization matrix
- Spelling mistakes
- Fixed installation description in readme and documentation
- Added automatic downloader for EXIOBASE 3 files
- Method for characterizing stressors (pymrio.Extension.characterize)
- Fixed: xlrd and numpy requirments for later pandas versions
- Switched from travis to github actions for testing and converage reports
- Fixed: OECD parsing bug caused by pandas update
- Fixed: Missing inclusion of auxiliary data for exiobase 2
- Fixed: Making python version explicit and update package requirements
- Fixed: hard-coded OS specific path
- switched to black code style
- updated travis.yml for testing different python versions
- added github workflows for automated releases
- switched to git trunk based development
- Fixed: Parsing EXIOBASE 3 from zip on Windows system
- Fixed: Doc spelling
- The tutorial notebooks of the documentation are now also used for integration tests. See CONTIBUTING.rst for more infos.
- New parser and automatic downloader for the OECD-ICIO tables (2016 and 2018 release)
- Improved test coverage to over 90 %
- Equality comparison for MRIO System and Extension
- Fixed some typos
- Minimum python version changed to 3.7
- The FY and SY matrixes has been renamed to F_Y and S_Y. Previously stored data, however, can still be read (FY/SY files are automatically parsed as F_Y and S_Y)
Hotfix for two EXIOBASE 3 issues
- FY in the raw files is named F_hh. F_hh now get automatically renamed to FY.
- In the ixi tables of EXIOBASE 3 some tables had ISO3 country names. The parser now renames these names to the standard ISO2.
- pymrio.parse_exiobase3, accepting the compressed archive files and extraced data (solves #26)
- pymrio.archive for archiving MRIO databases into zipfiles (solves #26)
- pymrio.load and pymrio.load_all can read data directly from a zipfile (solves #26)
- Calculate FY and SY when final demand impacts are available (fixes issue #28)
- Ensures that mrio.x is a pandas DataFrame (fixes issue #24)
- Some warning if a reset method would remove data beyond recovery by calc_all (see issue #23 discussion)
- Removed the Eora26 autodownloader b/c worldmrio.com needs a registration now (short time fix for #34)
- pymrio now depends on python > 3.6
- Stressed the issue driven development in CONTRIBUTING.rst
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.
Added xlrd to requirements
- 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
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
- pandas minimal version changed to 0.22
- Optional (for aggregation): country converter coco >= 0.6.3
- 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.
- pytest. For the unit tests.
- Fixed filename error for the test system.
- Various small bug fixes.
- Preliminary EXIOBASE 3 parser.
- Preliminary World Input-Output Database (WIOD) parser.
- pandas version > 0.15. This required some change in the xls reading within the parser.
- pytest. For the unit tests.
- Unit testing for all mathematical functions and a first system wide check.
- Fixed some mistakes in the tutorials and readme
- IOSystem.reset() replaced by IOSystem.reset_all_to_flows()
- IOSystem.reset_to_flows() and IOSystem.reset_to_coefficients() added
- Version number attribute added
- Parser for EXIOBASE like extensions (pymrio.parse_exio_ext) added.
- plot_accounts now works also for for specific products (with parameter "sector")
- Several bugfixes
- Mainmodule split into several packages and submodules
- Added 3rd tutorial
- Added CHANGELOG
Initial version