Exports the full SQL query of a CohortPrevalenceAnalysis analysis.

exportPrevalenceQuery(
  prevalenceAnalysisClass,
  executionSettings,
  outputFolder = NULL
)

Arguments

prevalenceAnalysisClass

A CohortPrevalenceAnalysis R6 object with analysis settings (required).

outputFolder

Character string specifying the path to the folder where the output files will be saved. If left NULL, will default to current working directory (optional).