
Function to create a mock cdm reference for CohortConstructor
Source:R/mockCohortConstructor.R
mockCohortConstructor.Rd
mockCohortConstructor()
creates an example dataset that can be used for
demonstrating and testing the package
Examples
# \donttest{
library(CohortConstructor)
cdm <- mockCohortConstructor()
cdm
#>
#> ── # OMOP CDM reference (local) of mock database ───────────────────────────────
#> • omop tables: cdm_source, concept, concept_ancestor, concept_relationship,
#> concept_synonym, condition_occurrence, death, drug_exposure, drug_strength,
#> measurement, observation, observation_period, person, vocabulary
#> • cohort tables: cohort1, cohort2
#> • achilles tables: -
#> • other tables: -
# }