as.ba_db: as.ba_db

Description Usage Arguments Value Author(s) See Also Examples

View source: R/as.ba_db.R

Description

as.ba_db

Usage

1
2
3
4
as.ba_db(secure = FALSE, protocol = "http://", db = "127.0.0.1",
  port = 80, apipath = NULL, multicrop = FALSE, crop = "",
  user = "", password = "", token = "", granttype = "password",
  clientid = "rbrapi", bms = FALSE, version = "v1")

Arguments

secure

logical; default: false

protocol

character

db

character

port

integer; default: 80

apipath

character; default: ”

multicrop

logical; default: false

crop

character

user

character; default: ”

password

character; default: ”

token

character; default: ”

granttype

character; default: 'password'

clientid

character; default: 'rbrapi'

bms

logical; default: false

version

character; default: 'v1'

Value

ba_db class

Author(s)

Reinhard Simon, Maikel Verouden

See Also

Other brapiutils: ba_can_internet, ba_check, ba_connect, ba_db, ba_login, ba_logout, is.ba_con, print.ba_con, print.ba_db_list

Examples

1
2
3
4
5
6
7
8
9
if (interactive()) {

  con <- as.ba_db(
    crop = "potato",
    user = "myself"
    )

  print(con)
}

CIP-RIU/brapi documentation built on Oct. 17, 2019, 2 p.m.