get_cohorts | R Documentation |
Retrieves cohorts via the PGS Catalog REST API. Please note that all
cohort_symbol
is vectorised, thus allowing for batch mode search.
get_cohorts( cohort_symbol = NULL, verbose = FALSE, warnings = TRUE, progress_bar = TRUE )
cohort_symbol |
A cohort symbol or |
verbose |
A |
warnings |
A |
progress_bar |
Whether to show a progress bar indicating download progress from the REST API server. |
A cohorts object.
# Get information about specific cohorts by their symbols (acronyms) get_cohorts(cohort_symbol = c('23andMe', 'IPOBCS')) # Get info on all cohorts (may take a few minutes to download) ## Not run: get_cohorts() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.