R/filter-arrow.R
flag_across.Rd
Add a logical flag (new column) based on a pattern search across columns
flag_across(.data, code = NULL, cols = NULL, partial = FALSE, flag_name = NULL)
An object of either class data.frame or arrow .Dataset
A character string representing a search term.
a vector of column names to search in
A logical determining when partial matching should occur
the name of the new column to create
An object the same class as the input (methods for data.frame
, Dataset
, arrow_dplyr_query
),
with a new logical column