kw_phrase: Phrase match keywords

Description Usage Arguments Value Examples

View source: R/keywords.R

Description

Wraps quotation marks around a character vector to turn them into phrase-match keywords. It takes care of removing any other match characters like +, -, or [ if they exist.

Usage

1

Arguments

x

a keyword or a vector of keywords

Value

keywords in phrase match

Examples

1
2
3
mtcars$phrase <- kw_phrase(rownames(mtcars))
keywords <- c("movie tickets", "movies", "best movies")
kw_phrase(keywords)

eliasdabbas/radvertools documentation built on May 7, 2019, 1:30 p.m.