Joins IUCN Red List conservation status to a taxify() result by
looking up accepted_name in the conservation status enrichment.
Arguments
- x
A data.frame returned by
taxify().- verbose
Logical. Show download progress if enrichment data needs to be fetched. Default
TRUE.
Value
The same data.frame with an additional column:
- conservation_status
IUCN category:
"LC"(Least Concern),"NT"(Near Threatened),"VU"(Vulnerable),"EN"(Endangered),"CR"(Critically Endangered),"EW"(Extinct in the Wild),"EX"(Extinct), orNAif not assessed.
Details
Conservation status values are compiled from publicly available sources including GBIF and the IUCN Red List API. Coverage is global across all taxonomic groups (~166k species).
Examples
# Runs offline against the bundled example database.
old <- options(taxify.data_dir = taxify_example_data())
taxify("Panthera tigris", backend = "gbif") |>
add_conservation_status()
options(old)