Skip to content

Highlight usage of as_duckdb_tibble() for dbplyr connections #633

@krlmlr

Description

@krlmlr

@sparrow925 @vorpalvorpal: This is the new syntax:

library(duckdb)
#> Loading required package: DBI
con <- dbConnect(duckdb())
dbWriteTable(con, "data", data.frame(a = 1:3))
tbl <- dplyr::tbl(con, "data")

duckplyr::as_duckdb_tibble(tbl)
#> # A duckplyr data frame: 1 variable
#>       a
#>   <int>
#> 1     1
#> 2     2
#> 3     3

Created on 2025-03-04 with reprex v2.1.1

How do we need to adapt the documentation?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions