ropensci / taxadb

:package: Taxonomic Database
https://docs.ropensci.org/taxadb
Other
43 stars 13 forks source link

Wrong species matched in tutorial article #108

Open frousseu opened 2 years ago

frousseu commented 2 years ago

Wrong accepted names are displayed in the second output block after this link https://docs.ropensci.org/taxadb/articles/intro.html. But perhaps the tutorial article is just and old leftover version of the page that is displayed when we get on the package website? (where the names are OK).

birds %>% 
  mutate(accepted_name = get_names(id, "col")) %>% 
  head()
##>                         species           id        accepted_name
##> 1        Dendrocygna autumnalis COL:35517330      Tringa flavipes
##> 2           Dendrocygna bicolor COL:35517332    Picoides dorsalis
##> 3               Anser canagicus COL:35517329   Setophaga castanea
##> 4            Anser caerulescens COL:35517325  Bombycilla cedrorum
##> 5 Chen caerulescens (blue form)         <NA>       Icteria virens
##> 6                  Anser rossii COL:35517328 Somateria mollissima

Cheers, François

cboettig commented 2 years ago

Thanks! yes, that shows an old version of the COL, which updates names and more importantly, used to change ID numbers on each release. The current version of COL as returned by the package should include both stable COL IDs going forward (thanks to COL team for making this change!!) and the latest available naming information.

Also, we are preparing a new CRAN release of taxadb soon, so stay posted!