Retrieve the parent taxa for a given taxon.

get_parent_taxa(taxon)

Arguments

taxon

The name of a Taxon in the "TaxonName" column of the elements::EuroSL data frame, or the "taxon_name" column of the elements::TaxonomicBackbone data frame.

Value

A data frame in wide format containing the parent taxa for the specified taxon.

Examples

elements::get_parent_taxa(taxon = "Populus nigra subsp. betulifolia")
#>                          TaxonName                       Subspecies
#> 1 Populus nigra subsp. betulifolia Populus nigra subsp. betulifolia
#>         Species   Genus     Family        Order Superorder         Class
#> 1 Populus nigra Populus Salicaceae Malpighiales    Rosanae Magnoliopsida
#>       Subdivision       Phylum    Root
#> 1 Spermatophytina Tracheophyta Plantae