dbase.Rd
Database class for duckdb and sqlite
Database class for duckdb and sqlite
db
a character string specifying a database name.
table
a character string specifying a table name.
con
a database connection object.
tbl
a dplyr::tbl
object.
new()
dbase$new(db = NULL, table = NULL, ...)
open_db()
db
a character string specifying a database name.
table
a character string specifying a table name.
...
others to be passed to duckdb::duckdb
or RSQLite::SQLite
, or dbConnect
read_data()
...
dplyr::filter
expressions
verbose
a logical specifying whether to print the time or not. Write Table
write_table()
value
data.frame
name
a character string specifying a table name. SQLite table names are not case sensitive, e.g., table names ABC and abc are considered equal.
overwrite
a logical specifying whether to overwrite an existing table or not. Its default is FALSE.
append
a 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()
values
a list of data.frame
names
a character vector specifying table names.
overwrite
a logical specifying whether to overwrite an existing table or not. Its default is FALSE.
append
a logical specifying whether to append to an existing table in the DBMS. Its default is FALSE.
...
others to be passed to dbWriteTable