parse_search: Convert Search Terms to a API Friendly Format

Description Usage Arguments Value Examples

View source: R/fred_search.R

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

1

Arguments

...

character vectors of search terms

Value

character string

Examples

1
2
terms <- c("Real GDP", "medical inflation", "Japan")
parse_search(terms, "unemployment")

eFRED documentation built on Jan. 16, 2021, 5:30 p.m.