Setup a DuckDB database connection
Arguments
- drv
Object returned by
duckdb()
- dbdir
Location for database files. Should be a path to an existing directory in the file system. With the default, all data is kept in RAM
- ...
Additional named parameters passed on to
DBI::dbConnect()
Details
Uses duckdb::duckdb()
under the hood
Examples
if (FALSE) {
con <- src_duckdb()
print(con)
}