cp_classification: Classification

View source: R/cp_classification.R

cp_classificationR Documentation

Classification

Description

Classification

Usage

cp_classification(dataset_key, taxon_id, ...)

Arguments

dataset_key

(character/integer/numeric) dataset identifier

taxon_id

(character/integer/numeric) taxon identifier

...

curl options passed on to crul::verb-GET

Value

a data.frame/tibble with results, a zero row data.frame if no results found

Examples

if (cp_up("/dataset/1000/taxon/10/classification")) {
cp_classification(dataset_key=1000, taxon_id=10)
}
## Not run: 
cp_classification(dataset_key=1000, taxon_id=20)
cp_classification(dataset_key=3,
 taxon_id="6565450e-1cf2-4dc2-acbb-db728e42e635")

## End(Not run)

ropensci/rcol documentation built on Sept. 12, 2022, 8:08 a.m.