FredApi.get_categoryMethod

Get the categories for an economic data series in the FRED database.

Arguments

- `symbol` : String specifying the name (id) of the time series.

Examples

julia> get_category("GDPC1")
julia> get_category("FEDFUNDS")
julia> get_category("T10Y2Y")
FredApi.get_metadataMethod

Get information about a time series in the FRED database.

get_metadata(symbol)

Arguments

- `symbol` : String specifying the name (id) of the time series.

Examples

julia> get_metadata("GDPC1")
julia> get_metadata("FEDFUNDS")
julia> get_metadata("T10Y2Y")
FredApi.get_releaseMethod

Get release information for an economic data series in the FRED database.

get_release(symbol)

Arguments

- `symbol` : String specifying the name (id) of the time series.

Examples

julia> get_release("GDPC1")
julia> get_release("FEDFUNDS")
julia> get_release("T10Y2Y")
FredApi.get_sourceMethod

Get the source of a specific time series.

get_source(source_id)

Arguments

- `source_id`: an ID, e.g. 1 for "Board of Governors of the Federal Reserve System (US)""

Examples

julia> get_source(1)
julia> get_source(3)
julia> get_source(4)
FredApi.get_sourcesMethod

Get all sources of economic data.

get_sources()

Examples

julia> x = get_sources()
julia> println(x)
FredApi.get_symbolsMethod

Download data from FRED

get_symbols(symbol, start_interval, end_interval)

Arguments

- `symbol`: symbol, e.g. "GDPC1" or "FEDFUNDS"
- `f` : Date character, e.g. "2018-12-13" in the form of "YYYY-MM-DD"
- `t` : Date character, e.g. "2019-12-13" in the form of "YYYY-MM-DD"

Examples

julia> get_symbols("GDPC1", "2010-01-01", "2019-01-01")
julia> get_symbols("FEDFUNDS", "2000-01-01", "2019-01-01")
julia> get_symbols("T10Y2Y", "2000-01-01", "2019-01-01")
FredApi.get_symbolsMethod

Download data from FRED

get_symbols(symbol)

Arguments

- `symbol`: symbol, e.g. "GDPC1" or "FEDFUNDS"

Examples

julia> get_symbols("GDPC1")
julia> get_symbols("FEDFUNDS")
julia> get_symbols("T10Y2Y")
FredApi.search_symbolFunction

Search for the symbol of an economic data series that matches the search text.

search_variable(search_text, must_contain)

Arguments

- `search_title` : A string containing the words with which you expect to find the id of the variable.
- `must_contain` : A string like "Germany" to explicitly search for a variable which contains "Germany" in its title

Description

The resulting DataFrame is sorted by popularity.

Example

julia> search_variable("Exports", "Mexico")
julia> search_variable("GDP", "Germany")
julia> search_variable("G", "France")
julia> x = search_variable("Exports", "Mexico")
julia> println(x)