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

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

# 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")

# }