powered by
Search for a pattern in all columns of a data.frame
search_data(dataset, pattern, ignore.case = TRUE, fixed = FALSE)
Data.frame to search
String to match
Should search be case sensitive or not (default is FALSE)
Allow regular expressions or not (default is FALSE)
See grepl for a detailed description of the function arguments
grepl
# NOT RUN { publishers %>% filter(search_data(., "^m")) # }
Run the code above in your browser using DataLab