R/CustomCovariates.R
getDbDuringCovariateData.Rd
Extracts covariates that occur during a cohort
getDbDuringCovariateData(
connection,
oracleTempSchema = NULL,
cdmDatabaseSchema,
cdmVersion = "5",
cohortTable = "#cohort_person",
rowIdField = "subject_id",
aggregated = T,
cohortIds = c(-1),
covariateSettings,
minCharacterizationMean = 0,
...
)
The database connection
The temp schema if using oracle
The schema of the OMOP CDM data
version of the OMOP CDM data
the table name that contains the target population cohort
string representing the unique identifier in the target population cohort
whether the covariate should be aggregated
cohort id for the target cohort
settings for the covariate cohorts and time periods
the minimum value for a covariate to be extracted
additional arguments from FeatureExtraction
The the during covariates based on user settings
The user specifies a what during covariates they want and this executes them using FE
Other CovariateSetting:
createDuringCovariateSettings()