Skip to contents

Searches for species by common or scientific name. Useful for finding species IDs to pass into get_detections(), or for exploring what species exist in the BirdWeather database.

Usage

find_species(query, limit = 20)

Arguments

query

A search string - common name, scientific name, or partial match (e.g. "chickadee", "Poecile", "Black-capped")

limit

Maximum number of results to return (default: 20)

Value

A data.table with columns: species_id, common_name, scientific_name

See also

get_detections for filtering detections by species, get_tod_counts which requires a species_id, get_species_info for full species metadata given IDs

Examples

if (FALSE) { # \dontrun{
bw_find_species("chickadee")
bw_find_species("Poecile atricapillus")
bw_find_species("quail", limit = 20)
} # }