R/global_search.R
col_search_sum.Rd
Search every character column of a data frame for a pattern and count hits.
col_search_sum(df, pattern, na.rm = TRUE)
A data frame
The pattern to search for (regular expression)
Ignore missing values.
A data frame where each column is the number of times that column matched the target pattern.