ns_altid: Get taxon by uid, id, or elCode

View source: R/ns_altid.R

ns_altidR Documentation

Get taxon by uid, id, or elCode

Description

Get taxon by uid, id, or elCode

Usage

ns_altid(uid = NULL, id = NULL, el_code = NULL, ...)

Arguments

uid

(character) A NatureServe taxon id (The taxon’s Element Global UID)

id

The primary key value (ELEMENT_GLOBAL_ID) of the record within Central Biotics

el_code

The Biotics Element Code (ELCODE_BCD) of the record

...

Curl options passed on to verb-GET

Details

see https://explorer.natureserve.org/api-docs/#_taxon_data_model for details on the response data

Value

A list with lots of elements

References

https://explorer.natureserve.org/api-docs/

Examples

## Not run: 
ns_altid(uid = "ELEMENT_GLOBAL.2.154701")
ns_altid(id = "154701")
ns_altid(el_code = "PDRAN0F010")

## End(Not run)

ropenscilabs/natserv documentation built on Feb. 5, 2024, 5:02 p.m.