R/dbGetTaxonID.R
getTaxonID.Rd
Extract all possible TaxonIDs corresponding to the provided taxonomical description, which can be at the family, the genus or the species levels.
getTaxonID(
family = "",
genus = "",
species = "",
taxaType = 1,
dbname = "gbif4crest_02"
)
The name of the family.
The name of the genus.
The name of the species.
A numerical index (between 1 and 6) to define the type of palaeoproxy used: 1 for plants, 2 for beetles, 3 for chironomids, 4 for foraminifers, 5 for diatoms and 6 for rodents. The example dataset uses taxaType=0 (pseudo-data). Default is 1.
The name of the data source database.
A vector of unique taxonIDs.
if (FALSE) {
getTaxonID("Zamiaceae")
getTaxonID("Zamiaceae", "Ceratozamia")
## \code{taxaType = 2} searches for beetles and not plants, so the next line returns nothing.
getTaxonID("Zamiaceae", "Ceratozamia", taxaType = 2)
}