Description Usage Arguments Details Value Note Author(s) References Examples
View source: R/ba_locations_details.R
Gets details for a location given by a required database identifier.
1 2 | ba_locations_details(con = NULL, locationDbId = "",
rclass = c("tibble", "data.frame", "list", "json"))
|
con |
list, brapi connection object |
locationDbId |
character, the internal database identifier for a location of which the details are to be retrieved; REQUIRED ARGUMENT with default: "" |
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 the location details.
Tested against: 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)
# Need to connect to a database with genetic data
con <- ba_db()$testserver
loc <- ba_locations_details(con = con, "1")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.