
Use achilles counts to get source codes used in the database
sourceCodesInUse.Rd
Use achilles counts to get source codes used in the database
Usage
sourceCodesInUse(
cdm,
table = c("condition_occurrence", "device_exposure", "drug_exposure", "measurement",
"observation", "procedure_occurrence", "visit_occurrence")
)
Examples
# \donttest{
cdm <- mockVocabRef("database")
#> 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
#> 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
x <- sourceCodesInUse(cdm = cdm)
x
#> integer(0)
CDMConnector::cdmDisconnect(cdm)
# }