Giter Club home page Giter Club logo

full_fred's Introduction

Hi there ๐Ÿ‘‹

Investment Professional

  • GPG FINGERPRINT: BA51 7E6C 000A 94C9 38D1 C59A CFA9 5500 B751 F766

full_fred's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

full_fred's Issues

observation_date

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!

fred.get_series_df('GOLDPMGBD229NLBM') -> Error cannot create DataFrame

When I run this line of code:
fred.get_series_df('GOLDPMGBD229NLBM')

I get the following error message:
No key 'observations' found, cannot make DataFrame

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'

A part of critical information inaccessible

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.