cohortflow - Define and Apply Cohort Inclusion/Exclusion Criteria
Define inclusion and exclusion criteria for cohort studies
using formulas or functions, apply them to data, and render the
resulting attrition flow as CONSORT flow diagrams, tables, or
narrative text. Supports hierarchical designs (participants
nested in clusters/sites) and flexible grouping for reporting.
Criteria pipelines can be serialised to YAML for
reproducibility and sharing. Parts of this package were
developed with the assistance of GitHub Copilot (powered by
Claude), an AI coding assistant.