New feature: added a tool to convert numbers to current PPP, using World Bank data. Improved how missing data gets logged.
Fixes a bug with current USD to non-USD constant figures.
Fixes a bug with non-USD constant figures.
🚀 Major Release
- New Function Names and API Structure:
- Introduced source-specific deflator functions (e.g., imf_gdp_deflate, wb_gdp_deflate, oecd_dac_deflate).
- Added source-specific exchange functions for currency conversion (e.g., imf_exchange, oecd_dac_exchange).
- Deprecated deflate function; users are encouraged to transition to new deflator functions.
- Improved Setup and Data Requirements:
- Streamlined DataFrame requirements: id_column, year_column, and value_column now required explicitly.
- Added use_source_codes parameter to allow for DAC, IMF, and other source-specific country codes.
- And much more. Please see the release documentation or the readme for more details.
- Use a later version of oda_reader to deal with a bug found in the new OECD donor code schema.
- Fixed a bug in reading the exchange data
- Implements a change to the oda_reader package to manage reading the OECD DAC data. There are no changes in terms of usage, but it greatly optimises how data is read.
- The above change fixes an error where newly downloaded files were not read automatically
- Updated requirements.
- Fixed a bug introduced by changes in the OECD bulk download service.
- Updated requirements.
- Updated requirements.
- Updated requirements.
- Fixed an issue created by a change in OECD encoding of files
- Updated requirements
- Fixed an issue which meant not all date columns were accepted.
- Updated requirements
- Fixed an issue created by the preliminary OECD data release which mixes base years
- Updated requirements
- Updated requirements.
- Fixed issues with downloading world bank data
This release includes a major refactoring/rewriting of the underlying logic, tools to get and manage the data, and tests.
No breaking changes were introduced, but the API for the deflate
and exchange()
functions has changed. The new API
has more consistent naming and provides additional options. The old API
is still available, but will be deprecated in a future release. Using
the old parameters will raise a warning.
New features:
- Added new exchange rates for the IMF. As a side effect, deflators can now be calculated for future years for which the IMF has GDP projections.
- A data folder can now be specified by calling
pydeflate.set_pydeflate_path()
. This allows users to specify where the data should be stored. - Users can now specify (and therefore combine) the source of deflators and exchange rates.
- Updated requirements.
- Greatly improved how DAC deflators are handled for the "DAC Total" grouping. It now tracks the data as used in the database even if the published "deflator" figures differ.
- Update requirements.
- Revert change to the precision level of deflators for OECD data.
- Fix problem when saving dac1 feather.
- Update dependencies
- Reduced the precision level of deflators and exchange rates on DAC data. This update aligns with the precision level in DAC data, as published by the OECD.
- Fix issues with pd.NA when too many values are replaced. It now uses np.nan.
- Fix issues with the change to pathlib.
- Updated the underlying data
- Added an optional way for users to specify the folder where the data
should be stored. Use by calling
pydeflate.set_pydeflate_path()
.
- Fixed the documentation
- Fixed bugs and added other minor improvements.
- Calling deflate() or exchange() now creates a deep copy of the passed data frame in order to avoid changing the original data/object.
- Re-added a prompt to use update_all_data() to manually update the underlying data.
- Fixed bugs and added other minor improvements.
- Improved documentation.
- Fixed bugs and added other minor improvements.
- Improved documentation.
- Fixed bugs and added other minor improvements.
- Improved documentation.
- Fixed bugs and added other minor improvements.
- Improved documentation.
- Fixed bugs and added other minor improvements.
- Made significant back-end improvements to how data is managed.
- Improved the deflate API to be more clear about what is needed.
- Fixed small bugs and added other minor improvements.
- Fixed small bugs and other minor improvements.
- Major release.
This is the first major release of pydeflate.
- This new version effectively breaks any compatibility with previous versions of pydeflate.
- This version is a complete rewrite of the package. Please refer to the documentation for information on how pydeflate works
- The basic functionality of pydeflate can now be considered to be settled. Further releases to pydeflate will extend what is possible, without altering the basic way in which pydeflate works.
- Minor release.
This is a minor update to fix a couple of small errors in doc strings. It also adds unit testing for updating the underlying data.
- Minor release.
This version achieves the basic task at hand. It does not yet have full testing.
- Minor release.
This version achieves the basic task at hand. It does not yet have full testing.
- Minor release.
This version has been yanked.
- First release on PyPI.
This version has been yanked.