ba_locations.Rd
Lists locations available on a brapi server.
ba_locations(con = NULL, locationType = "all", page = 0, pageSize = 1000, rclass = "tibble")
con | brapi connection object |
---|---|
locationType | character, list of data types |
page | integer; default 0 |
pageSize | integer; default 1000 |
rclass | character; default: "tibble" possible other values: "json"/"list"/"data.frame" |
rclass as defined
All standard attributes are always listed. However, attributes in the additionalInfo only when at least one record has data.
V1.2: same
Tested against: sweetpotatobase, BMS
if (interactive()) { library(brapi) # Need to connect to a database with genetic data # con <- ba_db()$xxxxx # ba_locations(con = con, ...) }