fredapi
fredapi copied to clipboard
Python API for FRED (Federal Reserve Economic Data) and ALFRED (Archival FRED)
How do I get the api to give me data that has been adjusted to "percentage change from a year ago"? for example: https://fred.stlouisfed.org/series/GDP ? thank you
```python >>> from fredapi import Fred >>> fred = Fred(api_key_file='api_key_file.txt') >>> fred.search('Real GDP') OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 1270-01-01 00:00:00 ``` Having dates outside of the limitations of [pd.TimeStamp](http://pandas-docs.github.io/pandas-docs-travis/timeseries.html#timestamp-limitations)...
If you want to get multiple series in dataframe, you have to do something like this: ```python df = pd.DataFrame() for series in ['VIXCLS', 'SP500']: s = fred.get_series(series) s.name =...
Are the LIBOR rates exluded from the Fred API Terms and Agreements? Is there any way to access the indicator?
H, I would like to know if anyone is able to retrieve this serie : 'EUR3MTD156N' from https://fred.stlouisfed.org/series/EUR3MTD156N I still get this error: *** ValueError: Not Found. The series does...
I have been using fredapi to download data from FRED API without problem. But I've been trying to run the same codes that I had before in these two days...
Hi, since some people also need this feature to search by tags, I've made a pull request for this feature. Please kindly review this. Thank you.
Got the following error when searching for "Real GDP" with fred.search: OutOfBoundsDatetime: Out of bounds nanosecond timestamp: 1270-01-01 00:00:00 I identified the cause on the following stack overflow submission: https://stackoverflow.com/questions/32888124/pandas-out-of-bounds-nanosecond-timestamp-after-offset-rollforward-plus-adding-a...
I put 600+ series_id in a text file and let Python loop through it. There occurred error 'HTTPError: HTTP Error 400: Bad Request' & 'HTTPError: HTTP Error 429: Too Many...
The following snippet doesn't work for me: `from fredapi import Fred` `fred = Fred(api_key='insert api key here')` `data = fred.get_series('SP500')` I get the following error: from fredapi import Fred Traceback...