Skip to contents

Updates the current active crop in the internal configuration object (including the BrAPI connection object).

Usage

set_crop(crop_name)

Arguments

crop_name

The name of the crop.

Value

No return value.

See also

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