createCohortIndexes: A function to add indexes to the Cohort Generator results

View source: R/Indexes.R

createCohortIndexesR Documentation

A function to add indexes to the Cohort Generator results

Description

A function to add indexes to the Cohort Generator results

Usage

createCohortIndexes(connectionHandler, schema, cgTablePrefix = "cg_")

Arguments

connectionHandler

A connection handler that connects to the database and extracts sql queries. Create a connection handler via 'ResultModelManager::ConnectionHandler$new()'.

schema

The result database schema (e.g., 'main' for sqlite)

cgTablePrefix

The prefix used for the cohort generator results tables

Details

Specify the connectionHandler, the schema and the prefixes

See Also

Other Indexes: createCharacterizationIndexes(), createIncidenceIndexes(), createSccsIndexes()


OhdsiReportGenerator documentation built on Nov. 14, 2026, 1:09 a.m.