Skip to content

CohortGenerator

Cohort Generation for the OMOP Common Data Model

v1.1.0 · Mar 3, 2026 · Apache License

Description

Generate cohorts and subsets using an Observational Medical Outcomes Partnership (OMOP) Common Data Model (CDM) Database. Cohorts are defined using 'CIRCE' (<https://github.com/ohdsi/circe-be>) or SQL compatible with 'SqlRender' (<https://github.com/OHDSI/SqlRender>).

Downloads

CRAN

535

Last 30 days

6674th

1.5K

Last 90 days

9.2K

Last year

Trend: +31.8% (30d vs prior 30d)

r2u CRAN

14

Last 30 days

53

Last 90 days

259

Last year

Trend: -12.5% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 22, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 21, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘CreatingCohortSubsetDefinitions.Rmd’ using rmarkdown
--- finished re-building ‘CreatingCohortSubsetDefinitions.Rmd’

--- re-building ‘GeneratingCohorts.Rmd’ using rmarkdown
trying URL 'https:/
...[truncated]...
ain/datasets/GiBleed/GiBleed_5.3.zip' failed
--- failed re-building ‘UsingTemplateCohorts.Rmd’

SUMMARY: processing the following files failed:
  ‘GeneratingCohorts.Rmd’ ‘UsingTemplateCohorts.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Packages required but not available:
  'DatabaseConnector', 'ResultModelManager'

Package suggested but not available for checking: ‘Eunomia’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 24, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 17, 2026
ERROR r-release-linux-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘CreatingCohortSubsetDefinitions.Rmd’ using rmarkdown

Quitting from CreatingCohortSubsetDefinitions.Rmd:190-212 [unnamed-chunk-8]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...[truncated]...
=====================================
downloaded 6.5 MB

--- finished re-building ‘UsingTemplateCohorts.Rmd’

SUMMARY: processing the following file failed:
  ‘CreatingCohortSubsetDefinitions.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 15, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 13, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘CreatingCohortSubsetDefinitions.Rmd’ using rmarkdown

Quitting from CreatingCohortSubsetDefinitions.Rmd:190-212 [unnamed-chunk-8]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...[truncated]...
=====================================
downloaded 6.5 MB

--- finished re-building ‘UsingTemplateCohorts.Rmd’

SUMMARY: processing the following file failed:
  ‘CreatingCohortSubsetDefinitions.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 6, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 3, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Packages required but not available:
  'DatabaseConnector', 'ResultModelManager', 'SqlRender'

Packages suggested but not available for checking: 'CirceR', 'Eunomia'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

Dependency Network

Dependencies Reverse dependencies DatabaseConnector R6 checkmate digest dplyr lubridate ParallelLogger readr rlang jsonlite ResultModelManager SqlRender stringi tibble TreatmentPatterns CohortGenerator

Version History

10 tracked
new 1.1.0 Mar 10, 2026
updated 1.1.0 ← 1.0.2 diff Mar 2, 2026
updated 1.0.2 ← 1.0.1 diff Feb 9, 2026
updated 1.0.1 ← 1.0.0 diff Nov 16, 2025
updated 1.0.0 ← 0.12.2 diff Nov 11, 2025
updated 0.12.2 ← 0.12.1 diff Sep 10, 2025
updated 0.12.1 ← 0.12.0 diff Sep 4, 2025
updated 0.12.0 ← 0.11.2 diff Jul 30, 2025
updated 0.11.2 ← 0.11.1 diff Sep 29, 2024
new 0.11.1 Sep 14, 2024