get_cohorts_list: get_cohorts_list

Description Usage Arguments Value

View source: R/queries.R

Description

For Dr.Warehouse and i2b2 Get the list of cohorts or patient sets for a given username.

Usage

1
get_cohorts_list(username = NULL, only_num = FALSE, config = NULL)

Arguments

username

a username (string)

only_num

set to 'TRUE' if you want only a vector of cohort numbers. Set to 'FALSE' if you also need the name of the cohort and the number of patients (default = 'FALSE')

config

a config environment created by the function getConfig.

Value

a data.frame with the list of cohorts


aneuraz/DWHtools2 documentation built on Sept. 6, 2019, 8:11 p.m.