Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module for inflation adjustments based on CPI #930

Merged
merged 14 commits into from
Jan 27, 2021

Conversation

Mv77
Copy link
Contributor

@Mv77 Mv77 commented Jan 21, 2021

This PR adds a module to HARK.datasets that contains the CPI research series from BLS.

It contains tools to read the raw dataset and extract "deflators" from it, which can then be used to rebase U.S. dollar quantities to any year from 1977 to 2019.

This is useful when combining calibrations from different papers/sources that use different base years.

  • Tests for new functionality/models or Tests to reproduce the bug-fix in code.
  • Updated documentation of features that add new functionality.
  • Update CHANGELOG.md with major/minor changes.

@Mv77
Copy link
Contributor Author

Mv77 commented Jan 21, 2021

Currently failing because the BLS file is distributed as an xlsx and Pandas does not have the dependencies to read from excel in the testing VMs. Will consult whether to manually transform to CSV.

@Mv77
Copy link
Contributor Author

Mv77 commented Jan 21, 2021

Manually converted file from xlsx to csv as discussed in our call.

This is now ready for review (after tests complete).

@sbenthall could you review?

@llorracc llorracc merged commit dd2f9cb into econ-ark:master Jan 27, 2021
@Mv77 Mv77 deleted the Calibration/cpi branch February 8, 2021 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants