parse_search {eFRED} | R Documentation |
Convert Search Terms to a API Friendly Format
Description
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.
Usage
parse_search(...)
Arguments
... |
character vectors of search terms |
Value
character string
Examples
terms <- c("Real GDP", "medical inflation", "Japan")
parse_search(terms, "unemployment")
[Package eFRED version 0.1.0 Index]