Skip to contents

Explore a regex pattern applied on queries

Usage

kwr_test_regex(
  kwr,
  pattern,
  and = NULL,
  except = NULL,
  stopwords = kwr_stopwords()
)

Arguments

kwr

A kwresearch object.

pattern

A single regular expression.

and

A vector of regular expressions. If more than one, they are treated as OR.

except

A vector of regular expressions. If more than one, they are treated as OR.

stopwords

A vector of stopwords to remove from n-grams.

Value

A list of data frames.