read_fileMDB {TKCat} | R Documentation |
Read a fileMDB from a path
Description
Read a fileMDB from a path
Usage
read_fileMDB(
path,
dbInfo = NULL,
dataModel = NULL,
collectionMembers = NULL,
check = TRUE,
n_max = 10,
verbose = TRUE
)
Arguments
path |
the path to a folder with data or with the following structure:
|
dbInfo |
a list or a json file with DB information:
"name" (only mandatory field), "title", "description",
"url" (or "reference URL"),
"version", "maintainer". If NULL (default), the DESCRIPTION.json file found
in path. This file should also contains relevant parameters for the
|
dataModel |
a ReDaMoR::RelDataModel object or json file. If NULL (default), the model json file found in path/model. |
collectionMembers |
the members of collections as provided to the collection_members<- function. If NULL (default), the members are taken from json files found in path/model/Collections |
check |
logical: if TRUE (default) the data are confronted to the data model |
n_max |
maximum number of records to read
for checks purpose (default: 10). See also |
verbose |
if TRUE (default) display the data confrontation report |
Value
A fileMDB object
See Also
get_confrontation_report, ReDaMoR::format_confrontation_report and ReDaMoR::format_confrontation_report_md for getting and formatting the report confronting the data to the model.