getPlCohortDefinitionSet: Get a cohort definition set

View source: R/Phenotypes.R

getPlCohortDefinitionSetR Documentation

Get a cohort definition set

Description

Get a cohort definition set

Usage

getPlCohortDefinitionSet(cohortIds)

Arguments

cohortIds

IDs of cohorts to extraction from the library.

Value

A tibble with the cohort ID, name, sql, and JSON for the provided cohort IDs. Can be used by the CohortGenerator package.

Examples

cohorts <- getPhenotypeLog()
subsetIds <- cohorts$cohortId[1:3]
getPlCohortDefinitionSet(subsetIds)


OHDSI/PhenotypeLibrary documentation built on April 3, 2025, 3:07 p.m.