rename.duckplyr_df | R Documentation |
This is a method for the dplyr::rename()
generic.
See "Fallbacks" section for differences in implementation.
rename()
changes the names of individual variables
using new_name = old_name
syntax.
## S3 method for class 'duckplyr_df'
rename(.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. |
... |
For For |
There is no DuckDB translation in rename.duckplyr_df()
with a selection that returns no columns.
These features fall back to dplyr::rename()
, see vignette("fallback")
for details.
dplyr::rename()
library(duckplyr)
rename(mtcars, thing = mpg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.