set_crop | R Documentation |
This function will update the current active crop in the internal configuration object (including the brapi connection object).
set_crop(crop_name)
crop_name |
the name of the crop |
no return value
Khaled Al-Shamaa, k.el-shamaa@cgiar.org
login_bms
, list_crops
if(interactive()) {
# config your BMS connection
set_qbms_config("https://bmsdev-brapi.ibp.services/ibpworkbench")
# login using your BMS account (interactive mode)
# you can pass BMS username and password as parameters (batch mode)
login_bms()
set_crop("maize")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.