ed_fred_symbol {pedquant} | R Documentation |
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
## 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")
## End(Not run)
[Package pedquant version 0.2.4 Index]