Run All Validation and Upload Steps
buildVocabulariesAll.Rd
Runs the complete workflow of validating vocabulary files and uploading them to CDM tables. It performs the following steps:
Validate the vocabulary folder
If sourceToConceptMapTable is not NULL, create the SourceToConceptMap table
Upload the vocabulary.csv and Usagi files to the SourceToConceptMap table
Move the SourceToConceptMap table to the CDM table
Validate the CDM tables with DQD
Usage
buildVocabulariesAll(
pathToVocabularyFolder,
connectionDetails,
vocabularyDatabaseSchema,
validationResultsFolder,
sourceToConceptMapTable = NULL
)
Arguments
- pathToVocabularyFolder
Path to folder containing vocabulary files
- connectionDetails
DatabaseConnector connection details object
- vocabularyDatabaseSchema
Schema containing the vocabulary tables
- validationResultsFolder
Folder where validation results will be saved
- sourceToConceptMapTable
Optional name of source to concept map table