
Function to create a mock cdm reference.
mockMeasurementDiagnostics.Rd
Creates an example dataset that can be used to show how the package works
Examples
# \donttest{
library(MeasurementDiagnostics)
cdm <- mockMeasurementDiagnostics()
cdm
#>
#> ── # OMOP CDM reference (duckdb) of mock database ──────────────────────────────
#> • omop tables: cdm_source, concept, concept_ancestor, concept_relationship,
#> concept_synonym, condition_occurrence, drug_exposure, drug_strength,
#> measurement, observation, observation_period, person, procedure_occurrence,
#> visit_occurrence, vocabulary
#> • cohort tables: my_cohort
#> • achilles tables: -
#> • other tables: -
# }