Description Usage Arguments Details Value Author(s) See Also Examples
Sets a global list variable 'brapi' that contains all parameters to connect to a BrAPI compliant online database.
1 2 3 4 |
brapiDb |
brapiDb R object for brapi databases created by as.ba_db [default: NULL] |
secure |
logical TRUE/FALSE |
protocol |
string; default: http:// (else: https://) |
db |
string; default '127.0.0.1' (localhost) |
port |
integer; default: 80 |
apipath |
character; default NULL |
multicrop |
logical; default FALSE |
crop |
string; default: ” (empty) |
user |
string; default: ” (empty) |
password |
string; default: ” (empty) |
token |
string; default: ” (empty) |
granttype |
string |
clientid |
string: default: rbrapi |
bms |
logical; default: FALSE |
If the brapi_db parameter is used it will override the other parameters; except user, password and session.
connection object
Reinhard Simon, Maikel Verouden
Other brapiutils: as.ba_db
,
ba_can_internet
, ba_check
,
ba_db
, ba_login
,
ba_logout
, is.ba_con
,
print.ba_con
,
print.ba_db_list
1 2 3 4 5 6 7 | if (interactive()) {
library(brapi)
con <- ba_db()$testserver
con <- ba_connect(con)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.