kw_negative_phrase: Negative phrase match keywords

Description Usage Arguments Value Examples

View source: R/keywords.R

Description

Wraps a minus sign as well as quotation marks around a character vector to turn them into the "embedded" negative phrase match keywords. It takes care of removing any other match characters like +, -, or ".

Usage

1

Arguments

x

a keyword or a vector of keywords

Value

negative phrase match keywords

Examples

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

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