Description Usage Arguments Details Value Note Author(s) References Examples
Lists locations available on a brapi server.
1 2 | ba_locations(con = NULL, locationType = "", pageSize = 1000,
page = 0, rclass = c("tibble", "data.frame", "list", "json"))
|
con |
list, brapi connection object |
locationType |
character, filter by a specified location type. |
pageSize |
integer, items per page to be returned; default: 1000 |
page |
integer, the requested page to be returned; default: 0 (1st page) |
rclass |
character, class of the object to be returned; default: "tibble" , possible other values: "json"/"list"/"data.frame" |
All standard attributes are always listed. However, attributes in the additionalInfo only when at least one record has data.
An object of class as defined by rclass containing locations.
Tested against: BMS, sweetpotatobase, test-server
BrAPI Version: 1.0, 1.1, 1.2
BrAPI Status: active
Reinhard Simon, Maikel Verouden
1 2 3 4 5 6 7 8 9 | if (interactive()) {
library(brapi)
con <- ba_db()$testserver
ba_locations(con)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.