lists trials available on a brapi server

ba_trials(con = NULL, programDbId = "", locationDbId = "",
  active = TRUE, sortBy = "", sortOrder = "", page = 0,
  pageSize = 1000, rclass = "tibble")

Arguments

con

list, brapi connection object

programDbId

character; default: 'any'; otherwise an identifier

locationDbId

character; default: 'any'; otherwise an identifier

active

logical; default: 'TRUE'; otherwise TRUE or FALSE

sortBy

character; default: 'none'; otherwise a name from the first level entry names of the return object.

sortOrder

character; default: 'asc'; otherwise 'desc'

page

integer; default 0

pageSize

integer; default 1000

rclass

character; default: "tibble" possible other values: "json"/"list"/"data.frame"

Value

rclass as defined

Note

Tested against: sweetpotatobase, BMS

References

github

See also

Examples

if (interactive()) { library(brapi) # Need to connect to a database with genetic data # con <- ba_db()$xxxxx # ba_trials(con = con, ...) }