Returns summary metrics (total subjects, total spans, min/max start dates, mean duration).
Usage
get_cohort_summary(con, cohort_id = NULL)
Arguments
- con
Active DuckDB DBI connection.
- cohort_id
Optional integer cohort definition ID to filter.
Value
A data.frame with summary metrics.