cb_get_participants_table_long {cloudos}R Documentation

Get longform participant data table

Description

Get participant data table in a longform dataframe.

Usage

cb_get_participants_table_long(
  cohort,
  cols,
  broadcast = TRUE,
  page_number = 0,
  page_size = 100
)

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.

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

Value

A tibble.


[Package cloudos version 0.4.0 Index]