This function will return rows that have all TRUE findings of the indicated grepl phrase

filter_all_grepl_all(
  data,
  grepl_phrase,
  evaluates_to = TRUE,
  ignore.case = FALSE,
  perl = FALSE,
  fixed = FALSE,
  useBytes = FALSE
)

Arguments

data

input dataframe

grepl_phrase

phrase that is being filtered for

evaluates_to

whether the filter is for a grepl evaluation of TRUE or FALSE. Defaults to TRUE.

ignore.case

if FALSE, the pattern matching is case sensitive and if TRUE, case is ignored during matching.

perl

logical. Should Perl-compatible regexps be used?

fixed

logical. If TRUE, pattern is a string to be matched as is. Overrides all conflicting arguments.

useBytes

logical. If TRUE the matching is done byte-by-byte rather than character-by-character. See ‘Details’.

See also