
Last chance! 50% off unlimited learning
Sale ends in
Run benchmark of drug utilisation cohort generation
benchmarkDrugUtilisation(
cdm,
ingredient = "acetaminophen",
alternativeIngredient = c("ibuprofen", "aspirin", "diclofenac"),
indicationCohort = NULL
)
A summarise_result object.
A cdm_reference
object.
Name of ingredient to benchmark.
Name of ingredients to use as alternative treatments.
Name of a cohort in the cdm_reference object to use as indicatiomn.
# \donttest{
CDMConnector::requireEunomia()
con <- duckdb::dbConnect(duckdb::duckdb(), CDMConnector::eunomiaDir())
cdm <- CDMConnector::cdmFromCon(con = con, cdmSchema = "main", writeSchema = "main")
timings <- benchmarkDrugUtilisation(cdm)
timings
# }
Run the code above in your browser using DataLab