mockVocabularyTables {omock} | R Documentation |
It creates a mock database with the vocabulary.
Description
It creates a mock database with the vocabulary.
Usage
mockVocabularyTables(
cdm = mockCdmReference(),
vocabularySet = "mock",
cdmSource = NULL,
concept = NULL,
vocabulary = NULL,
conceptRelationship = NULL,
conceptSynonym = NULL,
conceptAncestor = NULL,
drugStrength = NULL
)
Arguments
cdm |
name of the cdm object |
vocabularySet |
name of the vocabulary set |
cdmSource |
cdm source table. |
concept |
Concept table. |
vocabulary |
Vocabulary table |
conceptRelationship |
Concept_relationship table. |
conceptSynonym |
Concept_synonym table. |
conceptAncestor |
Concept_ancestor table. |
drugStrength |
Drug_strength table. |
Value
A cdm reference with the vocabulary mock tables
Examples
library(omock)
cdm <- mockCdmReference() |> mockVocabularyTables(vocabularySet = "mock")
names(cdm)
[Package omock version 0.2.0 Index]