Filter at a variable that contains or doesn't contain a phrase

filter_at_grepl_all(
  data,
  ...,
  grepl_phrase,
  evaluates_to = TRUE,
  ignore.case = TRUE
)

Arguments

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

boolean the ignore.case argument of grepl function

dataframe

input dataframe

col

column to filter