Learn R Programming

QBMS (version 1.5.0)

get_study_data: Get the Observations Data of the Current Active Study

Description

Retrieves the observations data (e.g., measurements, variables) for the active study, which must be set using the set_study function.

Usage

get_study_data()

Arguments

Value

A data frame containing the observation data for the active study, or NULL

if no data is available.

Author

Khaled Al-Shamaa, k.el-shamaa@cgiar.org

See Also

login_bms, set_crop, set_program, set_trial, set_study for related study operations.

Examples

Run this code
if (interactive()) {
  set_qbms_config("https://bms.icarda.org/ibpworkbench")
  login_bms()
  set_crop("wheat")
  set_program("Wheat International Nurseries")
  set_trial("IDYT39")
  set_study("IDYT39 Environment Number 9")
  data <- get_study_data()
  head(data)
}

Run the code above in your browser using DataLab