An MDB (Modeled DataBase) relying on ClickHouse: chMDB
Rename tables of a chMDB object
chMDB(
tkcon,
dbTables,
dbInfo,
dataModel,
collectionMembers = NULL,
check = TRUE,
n_max = 10,
verbose = FALSE
)# S3 method for chMDB
names(x) <- value
# S3 method for chMDB
rename(.data, ...)
# S3 method for chMDB
[(x, i)
# S3 method for chMDB
[[(x, i)
# S3 method for chMDB
as.list(x, ...)
A chMDB object
as.list.chMDB()
returns a simple list of tibbles with all the
data from the tables in x.
a chTKCat object
a named vector of tables in tkcon$chcon with
all(names(dbTables) %in% names(dataModel))
a list with DB information: "name" (only mandatory field), "title", "description", "url", "version", "maintainer".
a ReDaMoR::RelDataModel object
the members of collections as provided to the collection_members<- function (default: NULL ==> no member).
logical: if TRUE (default) the data are confronted to the data model
maximum number of records to read
for checks purpose (default: 10). If 0, the data are not checked.
See also ReDaMoR::confront_data()
.
if TRUE display the data confrontation report
a chMDB object
new table names
a chMDB object
additional parameters
the index or the name of the tables to take
MDB methods: db_info, data_model, data_tables, collection_members, count_records, dims, filter_with_tables, as_fileMDB
Additional general documentation is related to MDB.
filter.chMDB, slice.chMDB
chTKCat, db_disconnect()
, db_reconnect()