I have this file of 500.000 queries and I want to find different companies (30.000), locations and more long lists. However, it is taking a very long time to label. Is there a better way to do this?
g_query_samp[str_detect(g_query_samp$search_q, regex(paste0(Loc$cities, collapse = ".*|.*"), ignore_case = T)), "city"] <- 1