Search UK National Biodiversity Network database for taxonomic classification

nbn_classification(id, ...)

Arguments

id

(character) An NBN identifier.

...

Further args passed on to crul::verb-GET

Value

A data.frame

References

https://api.nbnatlas.org/

See also

Other nbn: get_nbnid(), nbn_search(), nbn_synonyms()

Author

Scott Chamberlain,

Examples

if (FALSE) {
nbn_classification(id="NHMSYS0000376773")

# get id first, then pass to this fxn
id <- get_nbnid("Zootoca vivipara", rec_only = TRUE, rank = "Species")
nbn_classification(id)

nbn_classification(id="NHMSYS0000502940", verbose = TRUE)
}