View source: R/cb_cohort_extract.R
cb_get_participants_table_long | R Documentation |
Get participant data table in a longform dataframe.
cb_get_participants_table_long(
cohort,
cols,
broadcast = TRUE,
page_number = 0,
page_size = 100
)
cohort |
A cohort object. (Required)
See constructor functions |
cols |
Vector of phenotype IDs to fetch as columns in the dataframe. If omitted, columns saved in the cohort are fetched. |
broadcast |
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 |
page_number |
Number of page (can be 'all' to fetch all data) . (Optional) Default - 0 |
page_size |
Number of entries in a page. (Optional) Default - 10 |
A tibble.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.