This function is slated to deprecate in next version. Please use function taxotools::list_higher_taxo instead.
gettaxo(indf, genus = FALSE, verbose = FALSE, progress = TRUE)
indf with added / updated columns
"Kingdom" - Kingdom of the Scientific name
"Phylum" - Phylum of the Scientific name
"Order_" - Order of the Scientific name
"Family" - Family of the Scientific name
"Genus" - Genus of the Scientific name
and also saves a local copy of taxonomy downloaded for future use in taxo.db sqlite file
input data frame containing biodiversity data set
If TRUE, use only genus level data to get taxanomy
If TRUE, displays each name string for which the higher taxonomy is sought
If TRUE prints progress bar and messages on the consol.
Retrieve higher taxonomy information (like Family and Order) for each record from the "Encyclopedia of Life" web API.
This function makes use of certain functions in the taxize
package. It scans and retrieves the taxonomic hierarchy for each scientific
name (or just genus name) in the data set. When new data are retrieved, they
are stored in a local sqlite database, taxo.db, for faster further access.
Other Data preparation functions:
bdsummary()
,
format_bdvis()
,
getcellid()
if (FALSE) {
inat <- gettaxo(inat)
}
Run the code above in your browser using DataLab