TargetCohort objectcreateTargetCohort.RdConstructs a TargetCohort object for use as the prevalence numerator or incidence target cohort.
All analyses use the era pattern (interval overlap).
createTargetCohort(cohortId, cohortName)Integer: the cohort ID within the database results schema of interest.
Character string specifying a name for the cohort.
A TargetCohort R6 object.