Skip to content

CohortConstructor

0.6.3Package record

Build and Manipulate Study Cohorts Using a Common Data Model

4packages dependsuggested by 10
12.5Kdownloads / year
77.3%test coverage
13/13flavors OK

Overview

About

Create and manipulate study cohorts in data mapped to the Observational Medical Outcomes Partnership Common Data Model.

Install

Health

CRAN checks
13OK
Slowest check: 7.0 min · r-oldrel-windows-x86_64
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-09
Show 8 earlier changesHide 8 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-24
  • ERROR12 OK, 1 ERROR2026-05-17
  • OK13 OK2026-05-15
  • ERROR12 OK, 1 ERROR2026-05-13
  • OK13 OK2026-05-02
  • ERROR11 OK, 1 ERROR2026-04-25
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.6.3
READMEYes · 540 wordsVignettesYes · 13 · evaluation depends on the environmentNEWSYes · 100% structured · does not mention 0.6.3Citation fileNoWebsiteYes · pkgdown
Help pages
65 (20 internal)includes a package overview page
Examples that run
0%43 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
96%
Documented parameters
99%
Return-value docs
96%
Help pages citing references
0%

Downloads

12.5K
CRAN downloads in the past year
Rank #3,260 · ~34/day · ~1K/mo
Daily download trend is not available in this view yet.
1.3K30 days
3.6K90 days
12.5K1 year
Compare downloads with other packages →
Also on315 r2u12 autocran

Repository

10Stars
3Forks
66Open issues
6Open PRs
10Releases
1,289Commits
13Commit identities
License file reads as Apache-2.0 · 1,289 commits · Last activity 2026-08-15 · 0% stars, 30d · Default branch at 0.6.3.9000, ahead of CRAN 0.6.3 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
95%
Median days to close, 50 most recently updated closed issues
44
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-09-26 · 72026-07-07 · 10
PracticesBeta

11 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/ohdsi/cohortconstructor on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Docs source (4)
README.Rmdpkgdown

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

pkgdown site last built 2026-08-15

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 v4 (2026-10-20)

Dependencies

Declared dependencies
35 external dependencies (excludes base and recommended)

Installing CohortConstructor 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
4direct
0indirect
Imports 4
Suggested by 10
Show all 14 packagesHide all 14 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (9)
Author, Maintainer since 0.1.0 (2024)
Author · added in 0.6.0
Author · added in 0.2.0
Author
Author
Author · added in 0.3.1
Author · added in 0.3.0
Listed in earlier versions (2)
no longer listed · 0.1.0 to 0.5.0
no longer listed · 0.2.0 to 0.3.0
Releases (16)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.6.3Latest
    record
    2026-03-30 · current release · diff ↗
  • 0.6.2
    record
    2026-03-08 · diff ↗
  • 0.6.1
    record
    2025-12-23 · diff ↗ ·
    added 1 export
    timeWindowCohorts
  • 0.6.0
    record
    2025-10-31 · diff ↗ ·
    added 2 exports
    requireDuration, trimDuration
  • 0.5.0
    record
    2025-07-30 · diff ↗
  • 0.4.0
    record
    2025-05-08 · diff ↗ ·
    removed 1 export
    requireDeathFlag
    added 2 exports
    deathCohort, renameCohort
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.5
    record
    2025-02-16 · diff ↗ ·
    added 2 exports
    benchmarkCohortConstructor, copyCohorts
  • 0.3.4
    record
    2025-01-17 · diff ↗
  • 0.3.3
    record
    2024-11-26 · diff ↗
  • 0.3.2
    record
    2024-11-11 · diff ↗ ·
    added 3 exports
    addCohortTableIndex, padCohortDate, padCohortEnd
  • 0.3.1
    record
    2024-10-08 · diff ↗
  • 0.3.0
    record
    2024-09-25 · diff ↗ ·
    added 3 exports
    padCohortStart, requireIsEntry, requireMinCohortCount
  • 0.2.2
    record
    2024-07-31 · diff ↗
  • 0.2.1
    record
    2024-06-14 · diff ↗
Show 3 earlier eventsHide 3 earlier events
  • 0.2.0
    record
    2024-06-12 · diff ↗ ·
    removed 3 exports
    requireCohortIntersectFlag, requireConceptIntersectFlag, requireTableIntersectFlag
    added 4 exports
    requireCohortIntersect, requireConceptIntersect, requireTableIntersect, sampleCohorts
  • 0.1.0
    record
    2024-06-01
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-06-01
Total releases
16 / 2 yrs
License
Apache License (>= 2)
Minimum R
≥ 4.1
Bundled data
6.5 KB / 1 file
Download size
1.0 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("CohortConstructor")
Burn, E., Alcalde-Herraiz, M., Català, M., Chen, X., Du, M., Guo, Y., Lopez-Guell, K., Mercade-Besora, N., & Rowlands, E. (2026). CohortConstructor: Build and Manipulate Study Cohorts Using a Common Data Model (Version 0.6.3) [Computer software]. https://doi.org/10.32614/CRAN.package.CohortConstructor

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 CohortConstructor version 0.6.3 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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