Tweeted By @robinson_es
.@richierocks shows a great trick at #noreastr18 if you have a list column (col) and want to filter for ones that contain an entry (“my_term”):
— Emily Robinson (@robinson_es) October 26, 2018
library(purrr)
library(dplyr)
Df %>%
filter(map_lgl(col, ~ “my_term” %in% .))#rstats pic.twitter.com/tHXOk1uAct