Learn R Programming

CirceR (version 1.3.3)

createGenerateOptions: Create Generation Options

Description

Creates the generation options object for use in generateSql()

Usage

createGenerateOptions(
  cohortIdFieldName,
  cohortId,
  cdmSchema,
  targetTable,
  resultSchema,
  vocabularySchema,
  generateStats
)

Value

A jObj that can be passed to generateSql().

Arguments

cohortIdFieldName

The field that contains the cohortId in the cohort table.

cohortId

The generated cohort ID.

cdmSchema

The value of the CDM schema.

targetTable

the cohort table name.

resultSchema

the schema the cohort table belongs to.

vocabularySchema

the schema of the vocabulary tables (defaults to cdmSchema)

generateStats

a boolean representing if the query should include inclusion rule statistics calculation