parse_search: Convert Search Terms to a API Friendly Format

View source: R/fred_search.R

parse_searchR Documentation

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")

eFRED documentation built on Oct. 22, 2026, 5:23 p.m.