Build and Manipulate Study Cohorts Using a Common Data Model
Overview
Create and manipulate study cohorts in data mapped to the Observational Medical Outcomes Partnership Common Data Model.
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-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
Documentation
- 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%
- a00_introduction HTML
- a01_building_base_cohorts HTML
- a02_cohort_table_requirements HTML
- a03_require_demographics HTML
- a04_require_intersections HTML
- a04_update_cohort_start_end HTML
- a05_concatanate_cohorts HTML
- a07_filter_cohorts HTML
- a08_combine_cohorts HTML
- a08_split_cohorts HTML
Show 3 moreHide 3 vignettes
Downloads
Repository
- 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
Forks over time
Releases over time
Issues over time
PRs 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/ohdsi/cohortconstructor on 2026-10-21.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2026-08-15 · The repository has a site deploy workflow
pkgdown site last built 2026-08-15
Show all practicesHide 2 practices
Dependencies
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.
Show all 14 packagesHide all 14 packages
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.6.3Latest
- 0.6.22026-03-08 · diff ↗
- 0.6.1
- 0.6.0
- 0.5.02025-07-30 · diff ↗
- 0.4.0
- RR 4.5.0 released · 2025-04-11
- 0.3.5
- 0.3.42025-01-17 · diff ↗
- 0.3.32024-11-26 · diff ↗
- 0.3.2
- 0.3.12024-10-08 · diff ↗
- 0.3.0
- 0.2.22024-07-31 · diff ↗
- 0.2.12024-06-14 · diff ↗
Show 3 earlier eventsHide 3 earlier events
- 0.2.02024-06-12 · diff ↗ ·
removed 3 exports
requireCohortIntersectFlag, requireConceptIntersectFlag, requireTableIntersectFlagadded 4 exports
requireCohortIntersect, requireConceptIntersect, requireTableIntersect, sampleCohorts - 0.1.02024-06-01
- RR 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")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.
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.