get_taxonomy | R Documentation |
Get accepted canonical names and taxonomy for a given species name
get_taxonomy(x, preferred_data_sources=c(11:15), fuzzy = TRUE, verbose = TRUE)
x |
a character string or vector of species names. |
preferred_data_sources |
Select the datasources that should be used for name matching, default is GBIF. |
fuzzy |
logical. If TRUE, function tries fuzzy matching for species requests. May produce output, if normal matching fails. (not working!) |
verbose |
logical. If FALSE, warnings and messages are suppressed. |
If 'synonym' is returned as TRUE, the user provided name has been identified as a synonym and was mapped to an accepted name. The field confidence reports the confidence of the matching procedure performed by the function 'get_gbifid_()' of the package 'taxize'. The taxonID is a globally valid URI that links to the taxon description of the GBIF backbone taxonomy.
a data.frame
mapping the user supplied names to the accepted taxon names and
higher taxonomic information (kingdom, phylum, class, order, family, genus).
RS-eco
The initial code of this function was obtained from the 'traitdataform' package, which is available on GitHub: https://github.com/EcologicalTraitData/traitdataform.
## Not run: get_taxonomy(x="Chorthippus albomarginatus") get_taxonomy(x=c("Equus burchellii", "Equus quagga")) get_taxonomy(x="Aegotheles tatei") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.