Start here
Guides: Quickstart · Which API?
Criteria (Cohort)
db.enrollment.covering_index(...)db.demographic.age_at_index(...)/.sex(...)/.race(...)db.death.recorded(...)- Coded rules:
cohort.include(db.diagnosis.matching(...), window=...)
Connectors and connection
See Connectors.
Errors
Public errors live under theEncodeboxError hierarchy in encodebox.render.errors.
Legacy (deprecated)
Still importable; each call warns. Prefer EventFrame / Cohort.Advanced / internals
Rarely needed day-to-day:encodebox.coerce.to_ir— lower objects to IRencodebox.render— repr / explain / diagram helpersencodebox.frame.verbs— verb implementations (useEventFrameinstead)