Recently, some one asked me in a workshop this question: “What are the names of the cars with 4 (6,8) cylinders?” (he referred to the mtcars data set). That was a workshop on the tidyverse, so the question is how to answer this question using tidyverse techniques. First, let’s load the usual culprits. library(tidyverse) library(purrrlyr) library(knitr) library(stringr) data(mtcars) d <- as_tibble(mtcars) %>% rownames_to_column(var = "car_names") d %>% head() %>% kable() car_names mpg cyl disp hp drat wt qsec vs am gear carb Mazda RX4 …