Skip to contents

Generate example vocabulary database

Usage

mockVocabRef(backend = "data_frame")

Arguments

backend

'database' (duckdb) or 'data_frame'

Value

cdm reference with mock vocabulary

Examples

# \donttest{
cdm <- mockVocabRef()
#> Warning: There are observation period end dates after the current date: 2025-02-19
#>  The latest max observation period end date found is 2025-12-31
cdm
#> 
#> ── # OMOP CDM reference (local) of mock ────────────────────────────────────────
#>omop tables: person, concept, concept_ancestor, concept_synonym,
#> concept_relationship, vocabulary, drug_strength, observation_period, cdm_source
#>cohort tables: -
#>achilles tables: achilles_analysis, achilles_results, achilles_results_dist
#>other tables: -
# }