validateCohortIdArgument function

Validate cohortId argument. CohortId can either be a cohort_definition_id value, a cohort_name or a tidyselect expression referinc to cohort_names. If you want to support tidyselect expressions please use the function as: validateCohortIdArgument({{cohortId}}, cohort).

  • Maintainer: Martí Català
  • License: Apache License (>= 2)
  • Last published: 2026-01-28