tidyverse / dtplyr

Data table backend for dplyr
https://dtplyr.tidyverse.org
Other
664 stars 58 forks source link

Use `collect()` to access results? #438

Closed DavZim closed 1 year ago

DavZim commented 1 year ago

When using dplyr with a database backend (such as arrow, duckdb/sqlite, postgres, etc) we use collect() to force the calculation and return the results. In contrast, dtplyr uses as_tibble(), as.data.frame(), or as.data.table().

I was wondering if its possible to have an alias in dtplyr from dtpyr::collect() to as_tibble() to have consistent syntax with the dplyr database functionality or if this is not desired?

DavZim commented 1 year ago

Apologies, I just saw that the function exists.