Learn R Programming

QBMS (version 1.0.0)

set_qbms_config: Configure BMS Server Settings

Description

Sets the connection configuration of the BMS server.

Usage

set_qbms_config(
  url = "http://localhost/ibpworkbench/controller/auth/login",
  path = NULL,
  page_size = 1000,
  time_out = 120,
  no_auth = FALSE,
  engine = "bms",
  brapi_ver = "v1",
  verbose = TRUE
)

Value

No return value.

Arguments

url

URL of the BMS login page. Default is "http://localhost/ibpworkbench/".

path

API path. Default is NULL.

page_size

Page size. Default is 1000.

time_out

Number of seconds to wait for a response until giving up. Default is 10.

no_auth

TRUE if the server doesn't require authentication/login. Default is FALSE.

engine

Backend database (bms default, breedbase, gigwa, ebs).

brapi_ver

BrAPI version (v1 or v2).

verbose

Logical indicating if progress bar will display on the console when retrieving data from API. TRUE by default.

Author

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

Examples

Run this code
set_qbms_config("https://bmsdev-brapi.ibp.services/ibpworkbench")

Run the code above in your browser using DataLab