Learn R Programming

QBMS (version 1.5.0)

list_programs: Retrieve Breeding Programs for the Active Crop

Description

Retrieves the list of breeding programs available for the currently selected crop. The crop must be set using the set_crop function prior to calling this.

Usage

list_programs()

Arguments

Value

A data frame containing the names of breeding programs available for the active crop.

Author

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

See Also

login_bms, set_crop, list_crops for managing server connection and crop selection.

Examples

Run this code
if (interactive()) {
  set_qbms_config("https://bms.icarda.org/ibpworkbench")
  login_bms()  # Log in to the server
  set_crop("wheat")  # Set "wheat" as the active crop
  list_programs()  # Retrieve breeding programs for the active crop
}

Run the code above in your browser using DataLab