options(colorDF_tibble_style=TRUE)
if(require(dplyr)) {
# Search for "blue" in any column
starwars %>% df_search("blue")
# Search in a specific column
starwars %>% df_search("(Human|Wookie)", "species")
# save the search pattern in a new object
saved <- starwars %>% df_search("blue")
# remove the search patterns
saved <- df_search(saved)
}
Run the code above in your browser using DataLab