parse_search {eFRED} | R Documentation |
The function replaces spaces from character vectors with "+"
and separates
search terms with ";"
. Use whenever search terms are needed in the args
list for API calls. It is automatically applied for fred_search
and not needed.
parse_search(...)
... |
character vectors of search terms |
character string
terms <- c("Real GDP", "medical inflation", "Japan")
parse_search(terms, "unemployment")