R/pull-rd.R

#' @title Extract a single column
#'
#' @description  This is a method for the [dplyr::pull()] generic.
#' See "Fallbacks" section for differences in implementation.
#' `pull()` is similar to `$`.
#' It's mostly useful because it looks a little nicer in pipes,
#' it also works with remote data frames, and it can optionally name the output.
#'
#' @inheritParams dplyr::pull
#' @examples
#' library(duckplyr)
#' pull(mtcars, cyl)
#' pull(mtcars, 1)
#' @seealso [dplyr::pull()]
#' @rdname pull.duckplyr_df
#' @name pull.duckplyr_df
NULL

Try the duckplyr package in your browser

Any scripts or data that you put into this service are public.

duckplyr documentation built on June 8, 2025, 10:53 a.m.