Learn R Programming

redlist (version 0.2.0)

rl_scientific_name: IUCN Red List taxa by scientific name

Description

Retrieve species assessments using scientific names (Latin binomials). Returns summary assessment data including both latest and historic assessments.

Usage

rl_scientific_name(
  genus_name,
  species_name,
  infra_name = NULL,
  subpopulation_name = NULL
)

Value

A tibble (class tbl_df, tbl, data.frame) where each column represents a unique API response JSON key. The tibble contains assessment data for the specified taxon, including taxon details.

Arguments

genus_name

Character. The genus name (required).

species_name

Character. The species name (required).

infra_name

Character. The infraspecific name (optional).

subpopulation_name

Character. The subpopulation name (optional).

Examples

Run this code
if (FALSE) {
# Get assessments for Panthera leo (lion)
rl_scientific_name(genus_name = "Panthera", species_name = "leo")
}

Run the code above in your browser using DataLab