Skip to content

DrugUtilisation

1.3.1Package record

Summarise Patient-Level Drug Utilisation in Data Mapped to the OMOP Common Data Model

3packages dependsuggested by 2
10.9Kdownloads / year
96.9%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.3.1
  • 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

CRAN checks
13OK
Slowest check: 13.7 min · r-devel-linux-x86_64-debian-clang
Status changes
  • 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
Advisories

none known

Documentation

In release 1.3.1
READMEYes · 340 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 1.3.1Citation fileYes · cites a publicationWebsiteYes · pkgdown
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

10.9K
CRAN downloads in the past year
Rank #3,395 · ~30/day · ~905/mo
Daily download trend is not available in this view yet.
1.1K30 days
3.2K90 days
10.9K1 year
Compare downloads with other packages →
Also on1.2K r2u15 autocran

Repository

1Stars
1Forks
2Open issues
0Open PRs
16Releases
1,428Commits
14Commit identities
License file reads as Apache-2.0 · 1,428 commits · Last activity 2026-08-24 · 0% stars, 30d
Responsiveness
How these are sampled
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

2026-07-07 · 02026-09-05 · 1
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on macOS

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-08-24 · The repository has a site deploy workflow

pkgdown site last built 2026-08-24

Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
37 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.1
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
0indirect
Imports 3
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (9)
Author, Maintainer · added in 0.7.0
Author · added in 0.7.0
Author
Author · added in 0.3.1
Author · added in 0.7.0
Contributor · added in 0.5.0
Contributor
Contributor

Maintainer since 0.2.0 (2023)

Listed in earlier versions (1)
no longer listed · 0.2.0 to 0.6.1
Releases (29)

Pick two releases to compare their code metrics.

Show 19 earlier eventsHide 19 earlier events
  • 0.8.0
    record
    2024-12-10 · diff ↗ ·
    removed 1 export
    defaultTableOptions
    added 13 exports
    addDaysExposed, addDaysPrescribed, addDrugRestart, addInitialExposureDuration, addTreatment, additionalColumns, erafyCohort, groupColumns, importSummarisedResult, plotDrugUtilisation, settingsColumns, strataColumns, tidy
  • 0.7.1
    record
    2024-09-06 · diff ↗
  • 0.7.0
    record
    2024-07-29 · diff ↗ ·
    removed 8 exports
    %>%, benchmarkDUS, generateConceptCohortSet, indicationToStrata, summariseCharacteristics, summariseLargeScaleCharacteristics, summariseTreatmentFromCohort, summariseTreatmentFromConceptSet
    added 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 CRAN
    2024-06-04
  • 0.6.1
    record
    2024-06-04 · diff ↗
  • archivedRemoved from CRAN
    2024-06-01
    requires archived package 'CohortCharacteristics'
  • 0.6.0
    record
    2024-05-14 · diff ↗ ·
    removed 1 export
    summariseCharacteristicsFromCodelist
    added 1 export
    cohortCodelist
  • R
    R 4.4.0 released · 2024-04-24
  • 0.5.3
    record
    2024-04-02 · diff ↗
  • 0.5.2
    record
    2024-03-06 · diff ↗
  • 0.5.1
    record
    2024-02-28 · diff ↗ ·
    added 2 exports
    generateAtcCohortSet, generateIngredientCohortSet
  • 0.5.0
    record
    2024-02-10 · diff ↗ ·
    added 6 exports
    attrition, benchmarkDUS, cohortCount, settings, summariseTreatmentFromCohort, summariseTreatmentFromConceptSet
  • 0.4.1
    record
    2023-11-23 · diff ↗ ·
    removed 1 export
    seeFormulas
  • 0.4.0
    record
    2023-10-20 · diff ↗ ·
    removed 3 exports
    addPattern, drugUseColumns, indicationColumns
    added 2 exports
    addRoute, seeFormulas
  • 0.3.3
    record
    2023-09-25 · diff ↗
  • 0.3.2
    record
    2023-08-31 · diff ↗
  • 0.3.1
    record
    2023-08-09 · diff ↗ ·
    removed 3 exports
    computeCohortAttrition, computeCohortCount, summariseTableOne
    added 1 export
    summariseCharacteristics
  • 0.2.0
    record
    2023-06-19
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for DrugUtilisation version 1.3.1 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy