kw_broad: Broad match keywords

Description Usage Arguments Value Examples

View source: R/keywords.R

Description

This is useful in case you already have keywords as phrase, or exact for example and want to return to broad. Another useful thing about this function is that it serves as an intermediary state between transforming a keyword from phrase to exact for example, it makes sure that you don't end up with something like ["keyword"].

Usage

1

Arguments

x

a keyword or a vector of keywords

Value

keywords without ", [, ], +, or -

Examples

1
2
3
4
iris$exact <- kw_exact(iris$Species)
iris$broad <- kw_broad(iris$exact)
mtcars$phrase <- kw_phrase(rownames(mtcars))
mtcars$broad <- kw_broad(mtcars$phrase)

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