cb_participant_count {cloudos}R Documentation

Participant Count

Description

Returns the number of participants in a cohort if the supplied query were to be applied.

Usage

cb_participant_count(cohort, query = list(), keep_query = TRUE)

Arguments

cohort

A cohort object. (Required) See constructor function cb_create_cohort or cb_load_cohort

query

A phenotype query defined using the codephenotype function and logic operators (see example below)

keep_query

Apply newly specified query on top of exisiting query (Default: TRUE)

Value

A list with count of participants in the cohort and the total no. of participants in the dataset.


[Package cloudos version 0.4.0 Index]