Summarise Patient-Level Drug Utilisation in Data Mapped to the OMOP Common Data Model
Overview
Summarise patient-level drug utilisation cohorts using data mapped to the Observational Medical Outcomes Partnership (OMOP) common data model. New users and prevalent users cohorts can be generated and their characteristics, indication and drug use summarised.
- Add restrictIncident parameter for intersect functions by @catalamarti in #785
- Run benchmark in a 100000 sample by default by @catalamarti in #786
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-30
- ERROR12 OK, 1 ERROR2026-09-04
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-19
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-03-30
- OK14 OK2026-03-10
Documentation
- Help pages
- 87 (39 internal)includes a package overview page
- Examples that run
- 0%44 only when donttest examples are enabled (R CMD check --as-cran) · 2 never run
- Exported functions with examples
- 96%
- Documented parameters
- 96%
- Return-value docs
- 98%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 46
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
11 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/darwin-eu/drugutilisation on 2026-10-11.
The R CMD check workflow runs on macOS
GitHub Pages site last deployed 2026-08-24 · The repository has a site deploy workflow
pkgdown site last built 2026-08-24
Show all practicesHide 2 practices
Dependencies
Installing DrugUtilisation adds 29 packages (14 with compiled code, 25 MB of source tarballs). Heaviest: stringi 11 MB, CodelistGenerator 3.1 MB, vctrs 1.0 MB.
Code & Tests
Datasets
People & History
Maintainer since 0.2.0 (2023)
Pick two releases to compare their code metrics.
- 1.3.1Latest
- 1.3.02026-07-24 · diff ↗
- 1.2.12026-07-03 · diff ↗
- 1.2.02026-06-18 · diff ↗ ·
added 3 exports
plotDiscontinuationAsSurvival, summariseDiscontinuationAsSurvival, tableDiscontinuationAsSurvival - RR 4.6.0 released · 2026-04-24
- 1.1.0
- 1.0.5
- 1.0.42025-07-03 · diff ↗
- 1.0.32025-06-03 · diff ↗
- 1.0.22025-05-13 · diff ↗
- 1.0.12025-04-16 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.0.02025-03-27 · diff ↗ ·
removed 8 exports
addDailyDose, addDrugUse, addExposedTime, addRoute, dailyDoseCoverage, readConceptList, stratifyByUnit, summariseDrugUse - 0.8.32025-03-20 · diff ↗
- 0.8.22025-01-16 · diff ↗
- 0.8.12024-12-19 · diff ↗
Show 19 earlier eventsHide 19 earlier events
- 0.8.02024-12-10 · diff ↗ ·
removed 1 export
defaultTableOptionsadded 13 exports
addDaysExposed, addDaysPrescribed, addDrugRestart, addInitialExposureDuration, addTreatment, additionalColumns, erafyCohort, groupColumns, importSummarisedResult, plotDrugUtilisation, settingsColumns, strataColumns, tidy - 0.7.12024-09-06 · diff ↗
- 0.7.02024-07-29 · diff ↗ ·
removed 8 exports
%>%, benchmarkDUS, generateConceptCohortSet, indicationToStrata, summariseCharacteristics, summariseLargeScaleCharacteristics, summariseTreatmentFromCohort, summariseTreatmentFromConceptSetadded 35 exports
addCumulativeDose, addCumulativeQuantity, addDrugUtilisation, addExposedTime, addInitialDailyDose, addInitialQuantity, addNumberEras, addNumberExposures, addTimeToExposure, benchmarkDrugUtilisation, bind, cohortGapEra, defaultTableOptions, exportSummarisedResult, mockDisconnect, plotDrugRestart, plotIndication, plotProportionOfPatientsCovered, plotTreatment, requireDrugInDateRange, requireIsFirstDrugEntry, requireObservationBeforeDrug, requirePriorDrugWashout, summariseDoseCoverage, summariseDrugRestart, summariseDrugUtilisation, summariseProportionOfPatientsCovered, summariseTreatment, suppress, tableDoseCoverage and 5 more - unarchivedReturned to CRAN2024-06-04
- 0.6.12024-06-04 · diff ↗
- archivedRemoved from CRAN2024-06-01requires archived package 'CohortCharacteristics'
- 0.6.02024-05-14 · diff ↗ ·
removed 1 export
summariseCharacteristicsFromCodelistadded 1 export
cohortCodelist - RR 4.4.0 released · 2024-04-24
- 0.5.32024-04-02 · diff ↗
- 0.5.22024-03-06 · diff ↗
- 0.5.1
- 0.5.02024-02-10 · diff ↗ ·
added 6 exports
attrition, benchmarkDUS, cohortCount, settings, summariseTreatmentFromCohort, summariseTreatmentFromConceptSet - 0.4.1
- 0.4.02023-10-20 · diff ↗ ·
removed 3 exports
addPattern, drugUseColumns, indicationColumnsadded 2 exports
addRoute, seeFormulas - 0.3.32023-09-25 · diff ↗
- 0.3.22023-08-31 · diff ↗
- 0.3.12023-08-09 · diff ↗ ·
removed 3 exports
computeCohortAttrition, computeCohortCount, summariseTableOneadded 1 export
summariseCharacteristics - 0.2.02023-06-19
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-06-19
- Total releases
- 29 / 3 yrs
- License
- Apache License (>= 2)
- Minimum R
- ≥ 4.1
- Bundled data
- 0.8 KB / 1 file
- Download size
- 1.7 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("DrugUtilisation")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1002/pds.5809.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.