Processing Financial Data with FRED API: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:
=Overview=
=Overview=
This article describes the sequence of steps required to process financial data obtained from FRED API.
This article describes the sequence of steps required to process financial data obtained from FRED API.
=Code Examples=
==Initialization==
<syntaxhighlight lang='py'>
from fredapi import Fred
fred = Fred(api_key='...')
</syntaxhighlight>
==Search==
<syntaxhighlight lang='py'>
fred.search("text", limit=1000, order_by=None, sort_order=None, filter=None)
</syntaxhighlight>
Do a full text search for series in the FRED data set. Returns the results as a [[Pandas_Concepts#Data_Frame|data frame]].
==Get Series==

Revision as of 19:27, 8 October 2023

Internal

Overview

This article describes the sequence of steps required to process financial data obtained from FRED API.

Code Examples

Initialization

from fredapi import Fred
fred = Fred(api_key='...')

Search

fred.search("text", limit=1000, order_by=None, sort_order=None, filter=None)

Do a full text search for series in the FRED data set. Returns the results as a data frame.

Get Series