collect.duckplyr_df | R Documentation |
This is a method for the dplyr::collect()
generic.
collect()
converts the input to a tibble, materializing any lazy operations.
## S3 method for class 'duckplyr_df'
collect(x, ...)
x |
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. |
... |
Arguments passed on to methods |
dplyr::collect()
library(duckplyr)
df <- duckdb_tibble(x = c(1, 2), .lazy = TRUE)
df
try(print(df$x))
df <- collect(df)
df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.