species_code: Return species code

Description Usage Arguments Value Author(s) References Examples

View source: R/species_code.R

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

1
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

1
species_code("Anhinga anhinga")

Example output

Anhinga (Anhinga anhinga): anhing
[1] "anhing"

rebird documentation built on Sept. 20, 2021, 9:06 a.m.