Skip to content

add optional realtime_start/end arguments to get_series_all_releases()#49

Merged
mortada merged 3 commits into
masterfrom
realtime-start-end-args
Mar 15, 2022
Merged

add optional realtime_start/end arguments to get_series_all_releases()#49
mortada merged 3 commits into
masterfrom
realtime-start-end-args

Conversation

@mortada

@mortada mortada commented Mar 15, 2022

Copy link
Copy Markdown
Owner

Issue raised here: #28 #48

tested with:

In [2]: from fredapi import Fred
   ...: fred = Fred()
   ...: d = fred.get_series_all_releases('DFF', realtime_start='2020-10-01', realtime_end='2022-03-10')

In [3]: d
Out[3]:
      realtime_start       date value
0         2020-10-01 1954-07-01  1.13
1         2020-10-01 1954-07-02  1.25
2         2020-10-01 1954-07-03  1.25
3         2020-10-01 1954-07-04  1.25
4         2020-10-01 1954-07-05  0.88
...              ...        ...   ...
24719     2022-03-08 2022-03-05  0.08
24720     2022-03-08 2022-03-06  0.08
24721     2022-03-08 2022-03-07  0.08
24722     2022-03-09 2022-03-08  0.08
24723     2022-03-10 2022-03-09  0.08

[24724 rows x 3 columns]

@mortada
mortada merged commit 8a6beb9 into master Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant