View source: R/SubgroupConstruction.R
This function wraps together 2 calls: @insertRefcreateBulkSubgroupFromFile and @insertRefcreateBulkSubgroupFromCohorts. This function assumes that cohorts are already generated and located in the cohortDatabaseSchema.cohortStagingTable
1 2 3 4 5 6 7 8 | createBulkSubgroup(
connection,
cdmDatabaseSchema,
cohortDatabaseSchema,
cohortStagingTable,
targetIds,
oracleTempSchema
)
|
connection |
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'. |
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'. |
cohortStagingTable |
Name of the staging cohort table containing the cohorts before performing any sub-grouping |
targetIds |
A vector containing the target IDs to subgroup |
oracleTempSchema |
Should be used in Oracle to specify a schema where the user has write privileges for storing temporary tables. |
connectionDetails |
An object of type |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.