metaMDB {TKCat}R Documentation

A metaMDB object

Description

A metaMDB object is an MDB gathering several other MDBs glued by relational tables.

Usage

metaMDB(MDBs, relationalTables, dataModel, dbInfo, check = TRUE)

## S3 replacement method for class 'metaMDB'
names(x) <- value

## S3 method for class 'metaMDB'
rename(.data, ...)

## S3 method for class 'metaMDB'
x[i]

## S3 method for class 'metaMDB'
x[[i]]

## S3 method for class 'metaMDB'
x$i

Arguments

MDBs

a list of MDB objects

relationalTables

a list of tibbles corresponding to the relational tables between the different MDBs

dataModel

a ReDaMoR::RelDataModel object gathering all the data model of all the MDBs plus the relational tables

dbInfo

a list with DB information: "name" (only mandatory field), "title", "description", "url", "version", "maintainer".

check

logical: if TRUE (default) the data are confronted to the data model

x

a metaMDB object

value

new table names

.data

a metaMDB object

...

Use new_name = old_name to rename selected tables

i

the index or the name of the tables to take

Value

A metaMDB object

See Also


[Package TKCat version 1.1.7 Index]