lists crops available in a database

ba_crops(con = NULL, rclass = "tibble")

Arguments

con

brapi connection object

rclass

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

Value

a vector of crop names or NULL

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_crops(con = con, ...) }