"FederalReserveEconomicData" (Service Connection)
Connect to the Federal Reserve Economic Data (FRED®) API using the Wolfram Language to search and retrieve economic time series data.
Connecting & Authenticating
ServiceConnect["FederalReserveEconomicData"] creates a connection to the Federal Reserve Economic Data API. If a previously saved connection can be found, it will be used; otherwise, a new authentication request will be launched.
Requests
ServiceExecute["FederalReserveEconomicData","request",params] sends a request to the Federal Reserve Economic Data API, using parameters params. The following gives possible requests.
Search Series
"SeriesSearch" — a Dataset with information about series matching search criteria
"Query" | (required) | words to match against economic data series | |
"Frequency" | None | frequency to filter series by, e.g. "Annual", "Monthly" | |
"Units" | None | units to filter series by, e.g. "Dollars","Percentage" | |
"SeasonalAdjustment" | None | whether to include seasonal adjusted series | |
MaxItems | 1000 | ||
"StartIndex" | 0 | ||
"SortBy" | None | field to sort by ("SeriesID", "Title", "Units", "Frequency", "SeasonalAdjustment", "LastUpdated", "ObservationDate", "Popularity") |
Series Data
"SeriesData" — a TimeSeries containing data for the specified series
"ID" | (required) | series ID or list of IDs | |
"Date" | None | observation date or date range to filter results by |