Learn R Programming

faunabr (version 1.0.0)

fauna_synonym: Retrieve synonyms for species

Description

Retrieve synonyms for species

Usage

fauna_synonym(data, species,
                   include_subspecies = TRUE)

Value

A data.frame containing unique synonyms of the specified species along with relevant information on taxonomic status.

Arguments

data

(data.frame) the data.frame imported with the load_faunabr function

species

(character) names of the species

include_subspecies

(logical) include subspecies that are synonyms of the species? Default = TRUE

Examples

Run this code
data("fauna_data") #Load Flora e Funga do Brasil data
#Species to extract synonyms
spp <- c("Panthera onca", "Mazama jucunda", "Subulo gouzoubira")
spp_synonyms <- fauna_synonym(data = fauna_data, species = spp,
                              include_subspecies = FALSE)
spp_synonyms

Run the code above in your browser using DataLab