Investment Professional
- GPG FINGERPRINT: BA51 7E6C 000A 94C9 38D1 C59A CFA9 5500 B751 F766
Full Python interface to Federal Reserve Economic Data (FRED)
License: GNU General Public License v3.0
Is it possible to alter the observation_date rather than realtime_date?
For example, on series UNRATE I'd like to just grab the last 12 months - but realtime_date wouldn't effect this selection:
realtime_start realtime_end date value
0 2021-05-07 2021-05-07 1948-01-01 3.4
1 2021-05-07 2021-05-07 1948-02-01 3.8
2 2021-05-07 2021-05-07 1948-03-01 4.0
3 2021-05-07 2021-05-07 1948-04-01 3.9
4 2021-05-07 2021-05-07 1948-05-01 3.5
5 2021-05-07 2021-05-07 1948-06-01 3.6
6 2021-05-07 2021-05-07 1948-07-01 3.6
7 2021-05-07 2021-05-07 1948-08-01 3.9
8 2021-05-07 2021-05-07 1948-09-01 3.8
9 2021-05-07 2021-05-07 1948-10-01 3.7
10 2021-05-07 2021-05-07 1948-11-01 3.8
11 2021-05-07 2021-05-07 1948-12-01 4.0
Thank you!
When I run this line of code:
fred.get_series_df('GOLDPMGBD229NLBM')
KeyError Traceback (most recent call last)
in
----> 1 df_gold = fred.get_series_df('GOLDPMGBD229NLBM')
2 df_gold
~\anaconda3\lib\site-packages\full_fred\series.py in get_series_df(self, series_id, realtime_start, realtime_end, limit, offset, sort_order, observation_start, observation_end, units, frequency, aggregation_method, output_type, vintage_dates)
339 e = "No key 'observations' found, cannot make DataFrame"
340 print(e)
--> 341 self.series_stack["get_series_df"].pop("observations")
342 self.series_stack["get_series_df"]["df"] = df
343 return self.series_stack["get_series_df"]["df"]
KeyError: 'observations'
use doctest to test code embedded in docs
Integrate code coverage to incentivize tests and measure coverage
Hi, if you pay close attention to a FRED page like this:
https://fred.stlouisfed.org/series/GDPPOT
There is also some textual data attached to this time series about the Units, the Frequency, and a one line description, in the notes section. this part of data is also critical for the timeseries to be meaningful, but seemingly it is not accessible through this API.
Can you develop an integrated workaround please?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.