Get slot data for taxa(s)

get_tx_slot(phylota, txid, slt_nm = list_taxrec_slots())

Arguments

phylota

Phylota object

txid

Taxonomic ID

slt_nm

Slot name

Value

vector or list

See also

Examples

data('aotus') random_txid <- sample(aotus@txids, 1) (get_tx_slot(phylota = aotus, txid = random_txid, slt_nm = 'scnm'))
#> 867331 #> "Aotus azarai infulatus"
# see list_taxrec_slots() for available slots (list_taxrec_slots())
#> [1] "id" "scnm" "cmnm" "rnk" "prnt"