api_taxon.Rd
Get information about a single taxon
api_taxon(taxon_id)
taxon_id | internal, numeric id of the taxon. |
---|
A list containing
id
: the numerical id of the taxon,
display_name
: a unique name for the taxon (in which the parent name gets appended if the taxon name is not unique),
lineage
: a vector of the taxon name and its ancestors, in order of ascendance.
api_taxon(1234)#> $id #> [1] 1234 #> #> $display_name #> [1] "Catonella" #> #> $lineage #> [1] "Catonella" "Lachnospiraceae" "Bacteria" "living" #>api_taxon(85004)#> $id #> [1] 85004 #> #> $display_name #> [1] "tail<Appendicularia" #> #> $lineage #> [1] "tail" "Appendicularia" "Tunicata" "Chordata" #> [5] "Metazoa" "Holozoa" "Opisthokonta" "Eukaryota" #> [9] "living" #>api_taxon(84968)#> $id #> [1] 84968 #> #> $display_name #> [1] "tail<Chaetognatha" #> #> $lineage #> [1] "tail" "Chaetognatha" "Metazoa" "Holozoa" "Opisthokonta" #> [6] "Eukaryota" "living" #>