Skip to contents

Retrieves the studies list from the current active trial as configured in the internal state object using `set_trial()` function.

Usage

list_studies()

Value

A list of study and location names.

Author

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

Examples

if(interactive()) {
  # Configure your server connection
  set_qbms_config("https://bms.icarda.org/ibpworkbench")

  # Login using your account (interactive mode)
  # You can pass your username and password as parameters (batch mode)
  login_bms()

  # Select a crop by name
  set_crop("wheat")

  # Select a breeding program by name
  set_program("Wheat International Nurseries")

  # Select a specific study/trial by name
  set_trial("IDYT39")

  # List all environments/locations information in the selected study/trial
  list_studies()
}