FRED (fred_client v0.1.1)
Summary
Functions
Get a category from the FRED API
Get a category's children from the FRED API
Get a category's related from the FRED API
Get a category's related tags from the FRED API
Get a category's series from the FRED API
Get a category's tags from the FRED API
Get the related FRED tags for one or more FRED tags.
Get a release of economic data.
Get release dates for a release of economic data.
Get the related tags for one or more FRED tags within a release of economic data.
Get the series on a release of economic data.
Get the sources for a release of economic data.
Get release table trees for a given release.
Get the tags for a release of economic data.
Get all releases of economic data.
Get release dates for all releases of economic data.
Get an economic data series.
Get the categories for an economic data series.
Get the observations or data values for an economic data series.
Get the release for an economic data series.
Get economic data series that match search text.
Get the related tags for one or more tags.
Get the tags for a series search.
Get the sources for a series search.
Get economic data series sorted by when observations were updated on the FRED® server.
Get the dates in history when a series' data values were revised or new data values were released.
Get a source of economic data.
Get the releases for a source.
Get all sources of economic data.
Get FRED tags.
Get the series matching all tags.
Functions
category(category_id)
Get a category from the FRED API
Required
category_idThe id for a category
category_children(category_id, opts \\ [])
Get a category's children from the FRED API
Required
category_idThe id for a category
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)
category_series(category_id, opts \\ [])
Get a category's series from the FRED API
Required
category_idThe id for a category
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)limitThe maximum number of results to return.offsetThe number of results to skiporder_byOrder results by values of the specified attribute.sort_orderSort results is ascending or descending order for attribute values specified by order_by.filter_variableThe attribute to filter results by.filter_valueThe value of the filter_variable attribute to filter results by.tag_namesA semicolon delimited list of tag names that series match all of.exclude_tag_namesA semicolon delimited list of tag names that series match none of.
category_tags(category_id, opts \\ [])
Get a category's tags from the FRED API
Required
category_idThe id for a category
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)tag_namesA semicolon delimited list of tag names to only include in the response.tag_group_idA tag group id to filter tags by type.search_textThe words to find matching tags with.limitThe maximum number of results to return.offsetThe number of results to skiporder_byOrder results by values of the specified attribute.sort_orderSort results is ascending or descending order for attribute values specified by order_by.
release(release_id, opts \\ [])
Get a release of economic data.
Required
release_idThe id for a release
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)
release_dates(release_id, opts \\ [])
Get release dates for a release of economic data.
Required
release_idThe id for a release
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)limitThe maximum number of results to return.offsetThe number of results to skiporder_byOrder results by values of the specified attribute.sort_orderSort results is ascending or descending order for attribute values specified by order_by.include_release_dates_with_no_dataDetermines whether release dates with no data available are returned.
release_series(release_id, opts \\ [])
Get the series on a release of economic data.
Required
release_idThe id for a release
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)limitThe maximum number of results to return.offsetThe number of results to skiporder_byOrder results by values of the specified attribute.sort_orderSort results is ascending or descending order for attribute values specified by order_by.filter_variableThe attribute to filter results by.filter_valueThe value of the filter_variable attribute to filter results by.tag_namesA semicolon delimited list of tag names that series match all of.exclude_tag_namesA semicolon delimited list of tag names that series match none of.
release_sources(release_id, opts \\ [])
Get the sources for a release of economic data.
Required
release_idThe id for a release
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)
release_tables(release_id, opts \\ [])
Get release table trees for a given release.
Required
release_idThe id for a release
Optional
element_idThe id for an elementinclude_observation_valuesA flag to indicate that observations need to be returned.observation_dateThe observation date to be included with the returned release table.
release_tags(release_id, opts \\ [])
Get the tags for a release of economic data.
Required
release_idThe id for a release
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)tag_group_idA tag group id to filter tags by type.search_textThe words to find matching tags with.limitThe maximum number of results to return.offsetThe number of results to skiporder_byOrder results by values of the specified attribute.sort_orderSort results is ascending or descending order for attribute values specified by order_by.
releases(opts \\ [])
Get all releases of economic data.
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)limitThe maximum number of results to return.offsetThe number of results to skiporder_byOrder results by values of the specified attribute.sort_orderSort results is ascending or descending order for attribute values specified by order_by.
releases_dates(opts \\ [])
Get release dates for all releases of economic data.
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)limitThe maximum number of results to return.offsetThe number of results to skiporder_byOrder results by values of the specified attribute.sort_orderSort results is ascending or descending order for attribute values specified by order_by.include_release_dates_with_no_dataDetermines whether release dates with no data available are returned.
series(series_id, opts \\ [])
Get an economic data series.
Required
series_idThe id for a series
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)
series_categories(series_id, opts \\ [])
Get the categories for an economic data series.
Required
series_idThe id for a series
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)
series_observations(series_id, opts \\ [])
Get the observations or data values for an economic data series.
Required
series_idThe id for a series
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)limitThe maximum number of results to return.offsetThe number of results to skipsort_orderSort results is ascending or descending order for attribute values specified by order_by.observation_startThe start of the observation period. (YYYY-MM-DD)observation_endThe end of the observation period. (YYYY-MM-DD)unitsA key that indicates a data value transformation.frequencyAn indicator of the frequency of an observation.aggregation_methodA key that indicates the aggregation method used for frequency aggregation.output_typeAn integer that indicates an output type.vintage_datesA comma separated string of YYYY-MM-DD formatted dates in history (e.g. 2000-01-01,2005-02-24).
series_release(series_id, opts \\ [])
Get the release for an economic data series.
Required
series_idThe id for a series
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)
series_search(search_text, opts \\ [])
Get economic data series that match search text.
Required
search_textThe words to match against economic data series.
Optional
search_typeDetermines the type of search to perform.realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)limitThe maximum number of results to return.offsetThe number of results to skiporder_byOrder results by values of the specified attribute.sort_orderSort results is ascending or descending order for attribute values specified by order_by.filter_variableThe attribute to filter results by.filter_valueThe value of the filter_variable attribute to filter results by.tag_namesA semicolon delimited list of tag names to match against.exclude_tag_namesA semicolon delimited list of tag names to exclude from the returned data series.
series_search_tags(series_search_text, opts \\ [])
Get the tags for a series search.
Required
series_search_textThe words to match against economic data series.
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)tag_namesA semicolon delimited list of tag names to only include in the response.tag_group_idA tag group id to filter tags by type.tag_search_textThe words to find matching tags with.limitThe maximum number of results to return.offsetThe number of results to skiporder_byOrder results by values of the specified attribute.sort_orderSort results is ascending or descending order for attribute values specified by order_by.
series_tags(series_id, opts \\ [])
Get the sources for a series search.
Required
series_idThe id for a series
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)order_byOrder results by values of the specified attribute.sort_orderSort results is ascending or descending order for attribute values specified by order_by.
series_updates(opts \\ [])
Get economic data series sorted by when observations were updated on the FRED® server.
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)limitThe maximum number of results to return.offsetThe number of results to skipfilter_valueLimit results by geographic type of economic data series; namely 'macro', 'regional', and 'all'.start_timeStart time for limiting results for a time range, can filter down to minutesend_timeEnd time for limiting results for a time range, can filter down to minutes
series_vintagedates(series_id, opts \\ [])
Get the dates in history when a series' data values were revised or new data values were released.
Required
series_idThe id for a series
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)limitThe maximum number of results to return.offsetThe number of results to skipsort_orderSort results is ascending or descending order for attribute values specified by order_by.
source(source_id, opts \\ [])
Get a source of economic data.
Required
source_idThe id for a source
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)
source_releases(source_id, opts \\ [])
Get the releases for a source.
Required
source_idThe id for a source
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)limitThe maximum number of results to return.offsetThe number of results to skiporder_byOrder results by values of the specified attribute.sort_orderSort results is ascending or descending order for attribute values specified by order_by.
sources(opts \\ [])
Get all sources of economic data.
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)limitThe maximum number of results to return.offsetThe number of results to skiporder_byOrder results by values of the specified attribute.sort_orderSort results is ascending or descending order for attribute values specified by order_by.
tags(opts \\ [])
Get FRED tags.
Optional
realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)tag_namesA semicolon delimited list of tag names to only include in the response.tag_group_idA tag group id to filter tags by type.search_textThe words to find matching tags with.limitThe maximum number of results to return.offsetThe number of results to skiporder_byOrder results by values of the specified attribute.sort_orderSort results is ascending or descending order for attribute values specified by order_by.
tags_series(tag_names, opts \\ [])
Get the series matching all tags.
Required
tag_namesA semicolon delimited list of tag names for series to match.
Optional
exclude_tag_namesA semicolon delimited list of tag names to exclude from the response.realtime_startThe start of the real-time period. (YYYY-MM-DD)realtime_endThe end of the real-time period. (YYYY-MM-DD)limitThe maximum number of results to return.offsetThe number of results to skiporder_byOrder results by values of the specified attribute.sort_orderSort results is ascending or descending order for attribute values specified by order_by.