tax_name(query = NULL, get = NULL, db = "itis", verbose = TRUE)
Taxonomic name for the searched taxon. If the taxon is not found NA is returned.
Specify what database you want to use: itis or ncbi.
# A case where itis and ncbi use the same names tax_name(query="Helianthus annuus", get="family", db="itis")Retrieving data for species ' Helianthus annuus 'http://www.itis.gov/ITISWebService/services/ITISService/getFullHierarchyFromTSN?tsn=36616[1] "Asteraceae"Retrieving data for species ' Helianthus annuus '[1] "Asteraceae"# Case where itis and ncbi use different names tax_name(query="Helianthus annuus", get="kingdom", db="itis")Retrieving data for species ' Helianthus annuus 'http://www.itis.gov/ITISWebService/services/ITISService/getFullHierarchyFromTSN?tsn=36616[1] "Plantae"Retrieving data for species ' Helianthus annuus '[1] "Viridiplantae"