Learn R Programming

FeatureExtraction (version 3.7.2)

createDetailedCovariateSettings: Create detailed covariate settings

Description

Create detailed covariate settings

Usage

createDetailedCovariateSettings(analyses = list())

Value

An object of type covariateSettings, to be used in other functions.

Arguments

analyses

A list of analysisDetail objects as created using createAnalysisDetails.

Details

creates an object specifying in detail how covariates should be constructed from data in the CDM model. Warning: this function is for advanced users only.

Examples

Run this code
# \donttest{
analysisDetails <- createAnalysisDetails(
  analysisId = 1,
  sqlFileName = "DemographicsGender.sql",
  parameters = list(
    analysisId = 1,
    analysisName = "Gender",
    domainId = "Demographics"
  ),
  includedCovariateConceptIds = c(),
  addDescendantsToInclude = FALSE,
  excludedCovariateConceptIds = c(),
  addDescendantsToExclude = FALSE,
  includedCovariateIds = c()
)
covSettings <- createDetailedCovariateSettings(analyses = analysisDetails)
# }

Run the code above in your browser using DataLab