CohortGenerator
1.1.1Cohort Generation for the OMOP Common Data Model
Overview
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).
Install
Health
- OK2026-06-2213 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-2112 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-2413 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 6 earlier snapshots
- ERROR2026-05-1712 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-1513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-05-1312 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-0614 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-0413 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 25%
- Documented parameters
- 99%
- Return-value docs
- 41%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Repository practices
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/ohdsi/cohortgenerator on 2026-07-19.
Dependencies
Code & Tests
- Cyclomatic complexity
- 2.0 median / 15 max
- Test cases
- 158 / 0.76 per code line
Test coverage
Line coverage
95%
Expression
94.3%
Tests / Examples
94.6% / – ex
Functions
97 59 exported
Complexity
3.6 avg / 15 max
Call network
97 nodes / 150 edges
Call graph
Open call graph →Lowest coverage
97 functions| Function | Cyclo | Coverage |
|---|---|---|
| addUnionCohortDefinition exp | 1 | 0% |
| createLimitSubset exp | 1 | 0% |
| createUnionCohortTemplate exp | 1 | 0% |
| loadTemplateFromJson | 1 | 0% |
| saveCohortTemplateDefinitions | 1 | 0% |
| loadTemplateDefinitionsFolder | 2 | 63% |
People & History
10 releases. Pick two to compare their code metrics. R releases are shown for context.
- 1.1.1Latest
- RR 4.6.0 released · 2026-04-24
- 1.1.02026-03-03 · diff ↗
- 1.0.22026-02-10 · diff ↗
- 1.0.12025-11-17 · diff ↗
- 1.0.02025-11-12 · diff ↗
- 0.12.22025-09-11 · diff ↗
- 0.12.12025-09-05 · diff ↗
- 0.12.02025-07-31 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.11.22024-09-30 · diff ↗
- 0.11.12024-09-15
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-09-15
- Total releases
- 10 / 2 yrs
- License
- Apache License
- Minimum R
- ≥ 4.1.0
- Bundled data
- 0.7 KB / 2 files
- Download size
- 1.0 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet