Get participant data table in a longform dataframe.
cb_get_participants_table_long(
cohort,
cols,
broadcast = TRUE,
page_number = 0,
page_size = 100
)
A cohort object. (Required)
See constructor functions cb_create_cohort
or cb_load_cohort
Vector of phenotype IDs to fetch as columns in the dataframe. If omitted, columns saved in the cohort are fetched.
Whether to broadcast single value phenotypes across rows. (Optional) Can be TRUE, FALSE or a vector of phenotype IDs to specify which phenotypes to broadcast. Default - TRUE
Number of page (can be 'all' to fetch all data) . (Optional) Default - 0
Number of entries in a page. (Optional) Default - 10
A tibble.