dbase.RdDatabase class for duckdb and sqlite
Database class for duckdb and sqlite
dba character string specifying a database name.
tablea character string specifying a table name.
cona database connection object.
tbla dplyr::tbl object.
new()dbase$new(db = NULL, table = NULL, ...)open_db()dba character string specifying a database name.
tablea character string specifying a table name.
...others to be passed to duckdb::duckdb or RSQLite::SQLite, or dbConnect
read_data()...dplyr::filter expressions
verbosea logical specifying whether to print the time or not. Write Table
write_table()valuedata.frame
namea character string specifying a table name. SQLite table names are not case sensitive, e.g., table names ABC and abc are considered equal.
overwritea logical specifying whether to overwrite an existing table or not. Its default is FALSE.
appenda logical specifying whether to append to an existing table in the DBMS. Its default is FALSE.
...others to be passed to dbWriteTable
Write Tables
write_tables()valuesa list of data.frame
namesa character vector specifying table names.
overwritea logical specifying whether to overwrite an existing table or not. Its default is FALSE.
appenda logical specifying whether to append to an existing table in the DBMS. Its default is FALSE.
...others to be passed to dbWriteTable