Learn R Programming

eFRED (version 0.1.0)

parse_search: 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

Run this code
# NOT RUN {
terms <- c("Real GDP", "medical inflation", "Japan")
parse_search(terms, "unemployment")
# }

Run the code above in your browser using DataLab