cp_classification: Classification

Description Usage Arguments Value Examples

View source: R/cp_classification.R

Description

Classification

Usage

1
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

1
2
3
4
5
6
7
8
9
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)

rcol documentation built on July 3, 2021, 1:06 a.m.