api_taxon: Get information about a single taxon

View source: R/api_taxonomy.R

api_taxonR Documentation

Get information about a single taxon

Description

Get information about a single taxon

Usage

api_taxon(taxon_id)

Arguments

taxon_id

internal, numeric id of the taxon.

Value

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.

Examples

api_taxon(1234)
api_taxon(85004)
api_taxon(84968)

jiho/ecotaxar documentation built on Jan. 16, 2024, 12:26 a.m.