select.duckplyr_df | R Documentation |
This is a method for the dplyr::select()
generic.
See "Fallbacks" section for differences in implementation.
Select (and optionally rename) variables in a data frame,
using a concise mini-language that makes it easy to refer to variables
based on their name (e.g. a:f
selects all columns from a on the left
to f on the right) or type
(e.g. where(is.numeric)
selects all numeric columns).
## S3 method for class 'duckplyr_df'
select(.data, ...)
.data |
A data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr). See Methods, below, for more details. |
... |
< |
There is no DuckDB translation in select.duckplyr_df()
with no expression,
nor with a selection that returns no columns.
These features fall back to dplyr::select()
, see vignette("fallback")
for details.
dplyr::select()
library(duckplyr)
select(mtcars, mpg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.