View source: R/DetailedCovariateSettings.R
createAnalysisDetails | R Documentation |
Create detailed covariate settings
createAnalysisDetails(
analysisId,
sqlFileName,
parameters,
includedCovariateConceptIds = c(),
addDescendantsToInclude = FALSE,
excludedCovariateConceptIds = c(),
addDescendantsToExclude = FALSE,
includedCovariateIds = c()
)
analysisId |
An integer between 0 and 999 that uniquely identifies this analysis. |
sqlFileName |
The name of the parameterized SQL file embedded in the
|
parameters |
The list of parameter values used to render the template SQL. |
includedCovariateConceptIds |
A list of concept IDs that should be used to construct covariates. |
addDescendantsToInclude |
Should descendant concept IDs be added to the list of concepts to include? |
excludedCovariateConceptIds |
A list of concept IDs that should NOT be used to construct covariates. |
addDescendantsToExclude |
Should descendant concept IDs be added to the list of concepts to exclude? |
includedCovariateIds |
A list of covariate IDs that should be restricted to. |
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.
An object of type analysisDetail
, to be used in
createDetailedCovariateSettings
or
createDetailedTemporalCovariateSettings
.
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()
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.