CohortConstructor: Build and Manipulate Study Cohorts Using a Common Data Model

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

Version: 0.6.0
Depends: R (≥ 4.1)
Imports: cli, clock, dplyr, glue, omopgenerics (≥ 1.3.2), PatientProfiles (≥ 1.4.4), purrr, rlang, tidyr, utils
Suggests: CDMConnector (≥ 1.7.0), CirceR, CodelistGenerator (≥ 3.4.1), CohortCharacteristics, covr, DBI, DiagrammeR, DrugUtilisation, duckdb, ggplot2, ggpubr, gt, here, IncidencePrevalence, knitr, odbc, omock (≥ 0.5.0), rmarkdown, RPostgres, scales, SqlRender, stringr, testthat (≥ 3.0.0), tictoc, visOmopResults
Published: 2025-10-31
DOI: 10.32614/CRAN.package.CohortConstructor
Author: Edward Burn ORCID iD [aut, cre], Martí Català ORCID iD [aut], Nuria Mercade-Besora ORCID iD [aut], Marta Alcalde-Herraiz ORCID iD [aut], Mike Du ORCID iD [aut], Yuchen Guo ORCID iD [aut], Xihang Chen ORCID iD [aut], Kim Lopez-Guell ORCID iD [aut], Elin Rowlands ORCID iD [aut]
Maintainer: Edward Burn <edward.burn at ndorms.ox.ac.uk>
License: Apache License (≥ 2)
URL: https://ohdsi.github.io/CohortConstructor/, https://github.com/OHDSI/CohortConstructor
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: CohortConstructor results

Documentation:

Reference manual: CohortConstructor.html , CohortConstructor.pdf
Vignettes: a00_introduction (source, R code)
a01_building_base_cohorts (source, R code)
a02_cohort_table_requirements (source, R code)
a03_require_demographics (source, R code)
a04_require_intersections (source, R code)
a04_update_cohort_start_end (source, R code)
a05_concatanate_cohorts (source, R code)
a07_filter_cohorts (source, R code)
a08_split_cohorts (source, R code)
a08_combine_cohorts (source, R code)
Generate a matched age and sex cohort (source, R code)
a11_benchmark (source, R code)
a12_behind_the_scenes (source, R code)

Downloads:

Package source: CohortConstructor_0.6.0.tar.gz
Windows binaries: r-devel: CohortConstructor_0.5.0.zip, r-release: CohortConstructor_0.5.0.zip, r-oldrel: CohortConstructor_0.6.0.zip
macOS binaries: r-release (arm64): CohortConstructor_0.6.0.tgz, r-oldrel (arm64): CohortConstructor_0.6.0.tgz, r-release (x86_64): CohortConstructor_0.6.0.tgz, r-oldrel (x86_64): CohortConstructor_0.5.0.tgz
Old sources: CohortConstructor archive

Reverse dependencies:

Reverse imports: MeasurementDiagnostics, OmopSketch, PhenotypeR
Reverse suggests: CodelistGenerator, CohortCharacteristics, OmopViewer, PatientProfiles

Linking:

Please use the canonical form https://CRAN.R-project.org/package=CohortConstructor to link to this page.