View source: R/CohortConstruction.R
This function is used by instantiateCohortSet
to generate a cohort
against the CDM.
1 2 3 4 5 6 7 8 9 10 11 12 13 | generateCohort(
cohortId = NULL,
cohortSet,
connection = NULL,
connectionDetails = NULL,
cdmDatabaseSchema,
tempEmulationSchema,
cohortDatabaseSchema,
cohortTable,
inclusionStatisticsFolder,
incremental,
recordKeepingFile
)
|
cohortId |
The cohortId in the list of |
cohortSet |
The
|
connection |
An object of type |
connectionDetails |
An object of type |
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. |
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 |
incremental |
Create only cohorts that haven't been created before? |
recordKeepingFile |
If |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.