create_cohort_table: Create an OHDSI-standard cohort table.

View source: R/cohort.R

create_cohort_tableR Documentation

Create an OHDSI-standard cohort table.

Description

Creates the 4-column cohort table if it does not already exist. Works with both DuckDB and PostgreSQL.

Usage

create_cohort_table(con, cohort_schema = NULL)

Arguments

con

DBI connection.

cohort_schema

Schema for the cohort table. NULL for default.

Value

Invisible TRUE if created, FALSE if already existed.


syrona documentation built on Sept. 5, 2026, 1:06 a.m.