species_code: Return species code

View source: R/species_code.R

species_codeR Documentation

Return species code

Description

Returns the species code for a given scientific name. Uses an internally-stored version of the taxonomy. Also provides a message with the common name, scientific name, and species code of the species.

Usage

species_code(sciname = NULL)

Arguments

sciname

(required) Character string of length 1 with the scientific name to look for. Case insensitive.

Value

A character string with the eBird species code.

Author(s)

Sebastian Pardo sebpardo@gmail.com

References

http://ebird.org/

Examples

species_code("Anhinga anhinga")

ropensci/rebird documentation built on Nov. 27, 2024, 9:47 p.m.