validateCohortIdArgument {omopgenerics} | R Documentation |
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)
.
Description
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)
.
Usage
validateCohortIdArgument(
cohortId,
cohort,
validation = "error",
call = parent.frame()
)
Arguments
cohortId |
A cohortId vector to be validated. |
cohort |
A cohort_table object. |
validation |
How to perform validation: "error", "warning". |
call |
A call argument to pass to cli functions. |
[Package omopgenerics version 0.4.1 Index]