# NOT RUN {
mtcars %>% pull(-1)
mtcars %>% pull(1)
mtcars %>% pull(cyl)
# Also works for remote sources
if (requireNamespace("dbplyr", quietly = TRUE)) {
df <- dbplyr::memdb_frame(x = 1:10, y = 10:1, .name = "pull-ex")
df %>%
mutate(z = x * y) %>%
pull()
}
# }
Run the code above in your browser using DataLab