printCohortDefinitionFromNameAndJson: Print cohort definition with specified name

View source: R/PrettyOutput.R

printCohortDefinitionFromNameAndJsonR Documentation

Print cohort definition with specified name

Description

Outputs a cohort definition into human-readable markdown

Usage

printCohortDefinitionFromNameAndJson(
  name,
  json = NULL,
  obj = NULL,
  withConcepts = TRUE,
  withClosing = TRUE
)

Arguments

name

Cohort name listed as section title

json

JSON cohort definition to be printed

obj

Cohort object outputted from CirceR to be printed; can be NULL in which case json is used.

withConcepts

Boolean: Include concept lists in output?

withClosing

Boolean: Add the output from printCohortClose to end?


ohdsi-studies/LegendT2dm documentation built on July 4, 2025, 8:25 p.m.