Skip to content

search_species returning outdated species_ids #49

@cjardine-bsc

Description

@cjardine-bsc

Reported by David Iles.

When using search_species, the species_code being returned for Northern Flicker has species_status = 0.

NOFL <- naturecounts::search_species(name = "Northern Flicker")

A tibble: 7 × 5

species_id scientific_name english_name french_name taxon_group

1 10460 Colaptes auratus Northern Flicker Pic flamboyant BIRDS
2 10470 Colaptes auratus auratus/luteus Northern Flicker (Yellow-shafted) Pic flamboyant (auratus/luteus) BIRDS
3 10480 Colaptes auratus [cafer Group] Northern Flicker (Red-shafted) Pic flamboyant (groupe cafer) BIRDS
4 10485 Colaptes auratus luteus x cafer Northern Flicker (Yellow-shafted x Red-shafted) Pic flamboyant (hybride forme dorée x rosée) BIRDS
5 40560 Colaptes auratus mexicanoides Northern Flicker (Guatemalan) Pic flamboyant (mexicanoides) BIRDS
6 41776 Colaptes auratus chrysocaulosus Northern Flicker (Cuban) Pic flamboyant (chrysocaulosus) BIRDS
7 41777 Colaptes auratus gundlachi Northern Flicker (Grand Cayman I.) Pic flamboyant (gundlachi) BIRDS

Guatemalan Flicker was split from Northern Flicker and 10460 refers to the species complex for both. The correct species_ids that should be returned for the “true” Northern Flicker (sans Guatemalan) is now species_id 48798.

Is search_species maybe using a cached table?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions