Learn R Programming

letsRept (version 1.1.0)

reptSearch: Search for a Single Reptile Species in The Reptile Database (RDB)

Description

Queries The Reptile Database (RDB) for information about a single reptile species using its binomial name.

Usage

reptSearch(binomial=NULL, getRef=FALSE, verbose=TRUE)

Value

A list containing species information retrieved from The Reptile Database. If getRef = TRUE, returns references related to the species.

Arguments

binomial

Character string. The valid binomial name of a reptile species (e.g., "Boa constrictor").

getRef

Logical. If TRUE, returns the list of references from RDB associated with the species. Default is FALSE.

verbose

Logical. If TRUE, prints species information in the console. Default is TRUE.

References

Uetz, P., Freed, P., & Hošek, J. (Eds.). (2025). The Reptile Database. Retrieved from http://www.reptile-database.org

See Also

reptSynonyms, reptSpecies for related species data functions.

Examples

Run this code
# \donttest{
reptSearch("Boa constrictor")
reptSearch("Boa constrictor", getRef = TRUE)
# }

Run the code above in your browser using DataLab