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