createCohorts: Create the exposure and outcome cohorts

Description Usage Details

View source: R/CreateCohorts.R

Description

Create the exposure and outcome cohorts

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
createCohorts(
  connectionDetails,
  connection = NULL,
  cdmDatabaseSchema,
  oracleTempSchema = NULL,
  cohortDatabaseSchema,
  cohortTable = "cohort",
  cohortIdsToExcludeFromExecution = c(1100, 1101, 1102, 1103, 1104, 1105, 1106, 2001,
    2005, 2006),
  cohortGroups = ScyllaCharacterization::getUserSelectableCohortGroups(),
  minCellCount = 0,
  incremental = TRUE,
  outputFolder,
  incrementalFolder = file.path(outputFolder, "RecordKeeping")
)

Details

This function will create the target, subgroup, and outcome cohorts using inputs from this study package and using functions from ScyllaCharacterization


tfalcs/ScyllaEstimation documentation built on Jan. 17, 2021, 2:18 a.m.