cpi icon indicating copy to clipboard operation
cpi copied to clipboard

Quickly adjust U.S. dollars for inflation using the Consumer Price Index (CPI)

Results 29 cpi issues
Sort by recently updated
recently updated
newest added

If I understand what's happening, data lives and is updated here: https://github.com/datadesk/cpi/blob/master/cpi/data.csv Two things make my queasy about this (with the caveat that I haven't used this in a project...

I'm using a dataset that stores dates as strings "YYYY-MM-DD". I sliced the first four characters, then inflate complained without providing useful error information. Converting the year_or_month parameter to an...

Every time I have starting to execute the script, I need to wait for the update process. There should be an auto-update mechanism or a method to check whether the...

Currently BLS website is unavailable like this: ![Screenshot from 2020-08-08 17-47-17](https://user-images.githubusercontent.com/15036825/89714478-5b1ee400-d99f-11ea-9368-081357c74f86.png) The library just parsing the error HTML page and there is no validation check whether the correct thing gets...

Python 3.6 Every time I import the library, it is extremely slow (~50 seconds). I don't have time to review the codebase right now for a solution, so I am...

Hi, I've ran cpi.update() before applying the CPI function to a quarterly time series and it appeared to work. But oddly there is a gap between my nominal numbers and...

While `pd.apply()` works for small datasets like the example from the docs ```python df['ADJUSTED'] = df.apply(lambda x: cpi.inflate(x.MEDIAN_HOUSEHOLD_INCOME, x.YEAR), axis=1) ``` it quickly falls apart if one tries to _inflate_...

I wonder if csvkit could do the SQLite insert with less overhead.