Skip to contents

This function retrieves comprehensive information from the Red Book of Endemic Plants of Peru database for a provided list of species. It associates the provided species names with their corresponding updated taxonomic information and descriptions recorded in the original publication.

Usage

get_redbook_data(splist, dist = 0.1)

Arguments

splist

A character vector containing the species names to be queried.

dist

Maximum allowed distance for fuzzy matching of species names.

Value

A data frame containing comprehensive information about the provided species, including updated taxonomic details and descriptions.

Details

This function checks each species name in the provided list against the Red Book of Endemic Plants of Peru database using fuzzy matching based on the specified maximum distance (dist). For each species, it retrieves and combines taxonomic information (accepted name, accepted family, accepted name author) with additional descriptive data recorded in the original publication, such as IUCN conservation category, bibliographic reference, collector, herbariums, common name, departmental registrations, ecological regions, protected natural areas (SINANPE), Peruvian herbaria, and additional remarks.

See also

check_redbooklist function for a more focused check of species endemic status.

Examples

# Example illustrating how to use the get_redbook_data function
species_list <- c("Aphelandra cuscoensis", "Sanchezia ovata", "Piper stevensii")
redbook_data <- get_redbook_data(species_list)
head(redbook_data)
#>           name_subitted         accepted_name accepted_name_author
#> 1 Aphelandra cuscoensis Aphelandra cuscoensis               Wassh.
#> 2       Sanchezia ovata                   ---                  ---
#> 3       Piper stevensii       Piper stevensii                Trel.
#>   accepted_family          redbook_name    iucn
#> 1     Acanthaceae Aphelandra cuscoensis EN, B1a
#> 2             ---                   ---     ---
#> 3      Piperaceae       Piper stevensii    <NA>
#>                                          publication          collector
#> 1                 Phytologia 25(7): 469 - 470. 1973. C. Vargas C. 15415
#> 2                                                ---                ---
#> 3 Field Mus. Nat. Hist., Bot. Ser. 13(2): 237. 1936.    F.L. Stevens 85
#>   herbariums  common_name dep_registry              ecological_regions
#> 1       (US) Desconocido.           CU                 BHA; 470—520 m.
#> 2        ---          ---          ---                             ---
#> 3       ILL. Desconocido.           JU Sin datos; altitud desconocida.
#>        sinampe peruvian_herbariums
#> 1          PNM            CUZ (1).
#> 2          ---                 ---
#> 3 Sin registro            Ninguno.
#>                                                                                                                                                                         remarks
#> 1 Hierba terrestre conocida solamente del sur del país, de las cuencas del Marcapata y del Madre de Dios. Aparentemente no ha vuelto a ser recolectada desde la década de 1960.
#> 2                                                                                                                                                                           ---
#> 3                              Este taxón fue considerado por Brako & Zarucchi (1993) como un endemismo; sin embargo, no ha sido posible evaluarlo, ni asignarle una categoría.