View source: R/CohortConstruction.R
This function instantiates a set of cohorts in the cohort table and where
specified the inclusion rule statistics are computed and stored in the
inclusionStatisticsFolder
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | instantiateCohortSet(
connectionDetails = NULL,
connection = NULL,
numThreads = 1,
cdmDatabaseSchema,
tempEmulationSchema = NULL,
cohortDatabaseSchema = cdmDatabaseSchema,
cohortTable = "cohort",
cohortSet = NULL,
inclusionStatisticsFolder = NULL,
createCohortTable = FALSE,
incremental = FALSE,
incrementalFolder = NULL
)
|
connectionDetails |
An object of type |
connection |
An object of type |
numThreads |
Specify the number of threads for cohort generation. Currently this only supports single threaded operations. |
cdmDatabaseSchema |
Schema name where your patient-level data in OMOP CDM format resides. Note that for SQL Server, this should include both the database and schema name, for example 'cdm_data.dbo'. |
tempEmulationSchema |
Some database platforms like Oracle and Impala do not truly support temp tables. To emulate temp tables, provide a schema with write privileges where temp tables can be created. |
cohortDatabaseSchema |
Schema name where your cohort table resides. Note that for SQL Server, this should include both the database and schema name, for example 'scratch.dbo'. |
cohortTable |
Name of the cohort table. |
cohortSet |
The
|
inclusionStatisticsFolder |
The folder where the inclusion rule statistics are stored. Can be left NULL if you do not wish to export the inclusion rule statistics |
createCohortTable |
Create the cohort table? If |
incremental |
Create only cohorts that haven't been created before? |
incrementalFolder |
If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.