Searches across columns in a data object for rows matching a given pattern.

filter_across(.data, code, cols, partial = FALSE)

Arguments

.data

An object of either class data.frame or arrow .Dataset

code

A character string representing a search term.

cols

A vector of column names to filter on

partial

A logical determining when partial matching should occur

Details

  • Function currently returns a "data.frame" if passed a "data.frame". If passed a .Dataset or arrow_dplyr_query, the result will be an object of class arrow_dplyr_query which can preceed arrow::collect().