Constructs a TargetCohort object for use as the prevalence numerator or incidence target cohort. All analyses use the era pattern (interval overlap).

createTargetCohort(cohortId, cohortName)

Arguments

cohortId

Integer: the cohort ID within the database results schema of interest.

cohortName

Character string specifying a name for the cohort.

Value

A TargetCohort R6 object.