exportPrevalenceQuery.RdExports the full SQL query of a CohortPrevalenceAnalysis analysis.
exportPrevalenceQuery(
prevalenceAnalysisClass,
executionSettings,
outputFolder = NULL
)A CohortPrevalenceAnalysis R6 object with analysis settings (required).
An ExecutionSettings R6 object with database details (required).
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).
Invisibly returns the rendered SQL string.