Duck species reference data, recent eBird sightings and nearby birding hotspots, plus eBird Status and Trends seasonal ranges, weekly regional abundance and migration calendars, all from the Cornell Lab of Ornithology. Sightings and hotspots need an eBird API key.
Duck data for birders and analysts from the Cornell Lab of Ornithology, in two families. Observation data comes from the eBird API 2.0: recent reported sightings of duck species near a point and the birding hotspots around it, which need an ebird DuckDB secret or EBIRD_API_KEY. Migration data comes from eBird Status and Trends: modeled seasonal range polygons and weekly relative abundance summarized over a WGS84 region, which need a separate ebirdst secret or EBIRDST_KEY, except Cornell's public yebsap-example sample. An offline species reference table (a bundled eBird 2026 taxonomy subset) supplies the species codes both families take. Observations are bounded recent snapshots with local wall-clock times and reported counts, not population estimates or a historical archive. Status and Trends values are modeled distributions for a model year (default 2023) whose species codes can differ from the current taxonomy; they are not individual tracks or live forecasts, so read coverage alongside abundance.
How the parts fit
Look a duck up in the species table to get its eBird code, then pass that code to the observation or migration functions. Sightings and hotspots share eBird location identifiers, so a join shows which birding sites have reported ducks. Range polygons are WKB for DuckDB Spatial, and regional abundance takes a longitude/latitude polygon, so the two compose with any geometry you already have. Join with weather and tide workers to explore conditions at sighting locations.
Caveats
Data are supplied by the Cornell Lab of Ornithology's eBird and its terms apply. The worker preserves source identifiers and review flags; a missing count is SQL NULL. Only species-level records are kept: hybrids, domestic forms and unidentified groups are excluded.
Sources and references