Non-standard evaluation (NSE) in dplyr’s filter_ & pulling data from MySQL
It’s not really related to SQL. This example in R does not work either: df <- data.frame( v1 = sample(5, 10, replace = TRUE), v2 = sample(5,10, replace = TRUE) ) df %>% filter_(~ “v1” == 1) It does not work because you need to pass to filter_ the expression ~ v1 == 1 — … Read more