rebird (version 1.1.0)

species_code: 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.

References

http://ebird.org/

Examples

Run this code
# NOT RUN {
species_code("Anhinga anhinga")
# }

Run the code above in your browser using DataLab