Creates a set of predefined cohorts in a cohort table. WARNING: this will delete all existing cohorts in the table!
createCohorts(
connectionDetails,
cdmDatabaseSchema = "main",
cohortDatabaseSchema = "main",
cohortTable = "cohort"
)
The connection details to connect to the (Eunomia) database.
Deprecated. The cdm must be created in the main schema.
Deprecated. The cohort table will be created in the main schema.
Deprecated. Cohort table will be named "cohort".
A data frame listing all created cohorts.