ebird_species: Lookup species in eBird taxonomy

Description Usage Arguments Value Examples

Description

Given a list of common or scientific names, check that they appear in the official eBird taxonomy and convert them all to scientific names, or common names if scientific = FALSE. Un-matched species are returned as NA.

Usage

1
ebird_species(x, scientific = TRUE)

Arguments

x

character; species to look up, provided as scientific or English common names, or a mixture of both. Case insensitive.

scientific

logical; whether to return scientific (TRUE) or English common names (FALSE).

Value

Character vector of scientific names or common names if names if scientific = FALSE.

Examples

1
2
3
4
5
# mix common and scientific names, case-insensitive
species <- c("Blackburnian Warbler", "Poecile atricapillus",
             "american dipper", "Caribou")
# species not in the ebird taxonomy return NA
ebird_species(species)

mstrimas/auk documentation built on May 20, 2019, 5:26 p.m.