Skip to contents

Retrieve summary information for one or all studies in the Metabolomics Workbench database.

Usage

get_study_summary(client, study_id = "ST", format = "json")

Arguments

client

An mw_rest_client object

study_id

Character. Study ID (use "ST" for all studies)

format

Character. Output format ("json" or "txt")

Value

Study summary data as tibble (JSON) or character string (txt)

Examples

if (FALSE) { # \dontrun{
client <- mw_rest_client()

# Get all studies
all_studies <- get_study_summary(client)

# Get specific study
study_info <- get_study_summary(client, study_id = "ST000001")
} # }