ba_locations_details: ba_locations_details

Description Usage Arguments Details Value Note Author(s) References Examples

View source: R/ba_locations_details.R

Description

Gets details for a location given by a required database identifier.

Usage

1
2
ba_locations_details(con = NULL, locationDbId = "",
  rclass = c("tibble", "data.frame", "list", "json"))

Arguments

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"

Details

All standard attributes are always listed. However, attributes in the additionalInfo only when at least one record has data.

Value

An object of class as defined by rclass containing the location details.

Note

Tested against: test-server

BrAPI Version: 1.0, 1.1, 1.2

BrAPI Status: active

Author(s)

Reinhard Simon, Maikel Verouden

References

github

Examples

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")

}

c5sire/brapi documentation built on Oct. 17, 2019, 11:45 a.m.