Push a local (in-memory) dataset into a the duckdb database as a table. This enables it to share the connection source with other data. This is equivalent to the behavior of copy=TRUE on many (but not all) of the two-table verbs in dplyr.
Usage
as_dataset(df, conn = cached_connection())
Value
a remote dplyr::tbl
connection to the table.