View source: R/AdditionalCovariates.R
getCohortCovariateData | R Documentation |
Extracts covariates based on cohorts
getCohortCovariateData(
connection,
oracleTempSchema = NULL,
cdmDatabaseSchema,
cdmVersion = "5",
cohortTable = "#cohort_person",
rowIdField = "row_id",
aggregated,
cohortIds,
covariateSettings,
...
)
connection |
The database connection |
oracleTempSchema |
The temp schema if using oracle |
cdmDatabaseSchema |
The schema of the OMOP CDM data |
cdmVersion |
version of the OMOP CDM data |
cohortTable |
the table name that contains the target population cohort |
rowIdField |
string representing the unique identifier in the target population cohort |
aggregated |
whether the covariate should be aggregated |
cohortIds |
cohort id for the target cohort |
covariateSettings |
settings for the covariate cohorts and time periods |
... |
additional arguments from FeatureExtraction |
The user specifies a cohort and time period and then a covariate is constructed whether they are in the cohort during the time periods relative to target population cohort index
The models will now be in the package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.