pedquant (version 0.1.3)

ed_fred_symbol: symbol of FRED economic data

Description

ed_fred_symbol provides an interface to search symbols of economic data from FRED by category or keywords.

Usage

ed_fred_symbol(category = NULL, keywords = NULL, ...)

Arguments

category

the category id. If it is NULL, then search symbols from the top categories step by step.

keywords

the query text. If it is NULL, the function will search symbols by category.

...

ignored parameters

Examples

Run this code
# NOT RUN {
# search symbols by category
# from top categories
symbol_dt1 = ed_fred_symbol()
# specify the initial categories
symbol_dt2 = ed_fred_symbol(category = 1)

# search symbol by keywords
symbol_dt3 = ed_fred_symbol(keywords = "gdp china")

# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace