ba_crops: ba_crops

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/ba_crops.R

Description

List supported crops in a database.

Usage

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

Arguments

con

list, brapi connection object

rclass

character, class of the object to be returned; default: "tibble" , possible other values: "json"/"list"/"vector"/"data.frame"

Value

an object of class as specified by rclass with crop names or NULL

Note

Tested against: BMS, sweetpotatobase, test-server

BrAPI Version: 1.0, 1.1

BrAPI Status: deprecated

Author(s)

Reinhard Simon, Maikel Verouden

References

github

See Also

Other brapicore: ba_calls, ba_commoncropnames, ba_germplasm_details_study, ba_germplasm_details, ba_germplasm_pedigree, ba_germplasm_progeny, ba_germplasm_search_post, ba_germplasm_search, ba_observationvariables_datatypes, ba_observationvariables_details, ba_observationvariables_ontologies, ba_observationvariables, ba_phenotypes_search_post, ba_programs_search_post, ba_programs, ba_studies_germplasm_details, ba_traits_details, ba_traits

Examples

1
2
3
4
5
6
7
if (interactive()) {
  library(brapi)

  con <-  ba_db()$testserver

  ba_crops(con = con)
}

CIP-RIU/brapi documentation built on Oct. 17, 2019, 2 p.m.