list_programs {QBMS}R Documentation

Get the List of Breeding Programs Names

Description

Retrieves the breeding programs list from the current active crop as configured in the internal configuration object using 'set_crop()' function.

Usage

list_programs()

Value

A list of breeding programs names.

Author(s)

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

See Also

login_bms, set_crop

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")

  # List existing breeding programs
  list_programs()
}


[Package QBMS version 1.0.0 Index]