Creates a new Cohort

cb_create_cohort(cohort_name, cohort_desc, filters = "", cb_version = "v2")

Arguments

cohort_name

New cohort name to be created. (Required)

cohort_desc

New cohort description to be created. (Optional)

filters

WIP - details will be added.

cb_version

cohort browser version. ["v1" | "v2"] (Optional) Default - "v2"

Value

A cohort object.

See also

cb_load_cohort for loading a available cohort.

Examples

if (FALSE) {
my_cohort <- cb_create_cohort(cohort_name = "Cohort-R",
                              cohort_desc = "This cohort is for testing purpose, created from R.")
}