https://github.com/datasets/cpi-us
Us Consumer Price Index (DataHub Data Package)
https://github.com/datasets/cpi-us
Last synced: about 1 year ago
JSON representation
Us Consumer Price Index (DataHub Data Package)
- Host: GitHub
- URL: https://github.com/datasets/cpi-us
- Owner: datasets
- Created: 2012-05-19T15:48:25.000Z (about 14 years ago)
- Default Branch: main
- Last Pushed: 2025-01-31T00:46:57.000Z (over 1 year ago)
- Last Synced: 2025-04-12T02:34:00.613Z (about 1 year ago)
- Language: Python
- Homepage: https://datahub.io/core/cpi-us
- Size: 80.1 KB
- Stars: 16
- Watchers: 18
- Forks: 11
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Consumer Price Index for *All Urban Consumers (CPI-U)* from U.S. Department
Of Labor Bureau of Labor Statistics. This is a monthly time series from January 1913. Values are U.S. city averages for all items and
1982-84=100. Note that there are many price indices and this is only one of
them (albeit the most standard and with the longest set of data).
## Preparation
Run the following script to get the final data at `data/` folder:
```
# Install libraries
pip install -r scripts?requirements.txt
# Run the script
python scripts/process.py
```
## Data
Data is sourced from [bls.gov](https://api.bls.gov/publicAPI/v2/timeseries/data/) and combined with previous data from 2014 which is now outdated and requires an API for this case.
## Automation
Up-to-date (auto-updates every month) cpi-us dataset could be found on the datahub.io: https://datahub.io/core/cpi-us
Automated using Github Actions
## License
This Data Package is made available under the Public Domain Dedication and License v1.0 whose full text can be found at: http://www.opendatacommons.org/licenses/pddl/1.0/