Skip to main content

fred_regional

Query the Geo Fred API for regional economic data by series group.

The series group ID is found by using fred_search and the series_id parameter.

Examples

from openbb import obb
obb.economy.fred_regional(symbol='NYICLAIMS', provider='fred')
# With a date, time series data is returned.
obb.economy.fred_regional(symbol='NYICLAIMS', start_date='2021-01-01', end_date='2021-12-31', limit=10, provider='fred')

Parameters

NameTypeDescriptionDefaultOptional
symbolstrSymbol to get data for.False
start_dateUnion[date, str]Start date of the data, in YYYY-MM-DD format.NoneTrue
end_dateUnion[date, str]End date of the data, in YYYY-MM-DD format.NoneTrue
limitintThe number of data entries to return.100000True

Returns

OBBject
results : List[FredRegional]
Serializable results.

provider : Optional[Literal['fred']]
Provider name.

warnings : Optional[List[Warning_]]
List of warnings.

chart : Optional[Chart]
Chart object.

extra : Dict[str, Any]
Extra info.

Data

NameTypeDescription
dateUnion[date, str]The date of the data.