createDetailedCovariateSettings: Create detailed covariate settings

View source: R/DetailedCovariateSettings.R

createDetailedCovariateSettingsR Documentation

Create detailed covariate settings

Description

Create detailed covariate settings

Usage

createDetailedCovariateSettings(analyses = list())

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.

Value

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

Examples


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)



FeatureExtraction documentation built on Oct. 18, 2024, 9:06 a.m.