get_conservation_status: Get Conservation Status of Species

View source: R/get_conservation_status.R

get_conservation_statusR Documentation

Get Conservation Status of Species

Description

This function retrieves the conservation status of species from the iucn_data dataset. It is vectorized to handle multiple species names and optimized using data.table for performance.

Usage

get_conservation_status(splist)

Arguments

splist

A character vector of species names to search for in the iucn_data dataset.

Value

A data.table with species names and their corresponding conservation status or "no match found".

Examples


species <- c("Panthera uncia", "Cedrela odorata")
result <- get_conservation_status(splist = species)
print(result)


iucnr documentation built on April 3, 2025, 5:26 p.m.