Joins extra Catalogue of Life columns to a taxify() result by
looking up taxon_id in the COL backbone. Only enriches rows where
backend == "col".
Arguments
- x
A data.frame returned by
taxify()withbackend == "col".
Value
The same data.frame with additional columns:
- notho
Hybrid type from COL:
"generic","specific","infrageneric", or"infraspecific".- nomenclaturalCode
Nomenclatural code (
"ICN","ICZN", etc.).- nomenclaturalStatus
Nomenclatural status.
- namePublishedIn
Original publication reference.
- kingdom
Kingdom classification.
- phylum
Phylum classification.
- col_class
Class classification (renamed to avoid conflict with R's
classfunction).- order
Order classification.
- infraspecificEpithet
Infraspecific epithet.
- is_extinct
Logical. Whether the species is extinct (from SpeciesProfile, if available).
- is_marine
Logical. Whether the species is marine.
- is_freshwater
Logical. Whether the species is freshwater.
- is_terrestrial
Logical. Whether the species is terrestrial.
Examples
# Runs offline against the bundled example database.
old <- options(taxify.data_dir = taxify_example_data())
taxify("Quercus robur", backend = "col") |>
add_col_info()
options(old)