Get participant data table in a dataframe.

cb_get_participants_table(cohort, cols, page_number = "all", page_size = 5000)

Arguments

cohort

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

cols

Vector of phenotype IDs to fetch as columns in the dataframe. If omitted, columns saved in the cohort are fetched.

page_number

Number of page as integer or 'all' to fetch all data. (Optional) Default - 'all'

page_size

Number of entries in a page. (Optional) Default - 5000

Value

A dataframe.