Skip to main content
End-to-end example using FDA Sentinel CDM with the sample PostgreSQL database.

Step-by-step

1

Register connector

2

Connect (returns Database)

Start the sample DB with pixi run db-up (port 5433).
3

Query events

Confirmed cases (≥2 distinct dates, ≥30 consecutive-day gap) with index at first qualifying pair:
4

Build a cohort

Inspect SQL

Every EventFrame and Cohort exposes .to_sql() and .explain() so you can audit generated SQL before execution.

Next