Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_gbif_taxonomy fails on synonymous genus #35

Open
alexpiper opened this issue Aug 14, 2019 · 0 comments
Open

get_gbif_taxonomy fails on synonymous genus #35

alexpiper opened this issue Aug 14, 2019 · 0 comments
Labels

Comments

@alexpiper
Copy link

alexpiper commented Aug 14, 2019

Hi,

Ive encountered an issue with the get_gbif_taxonomy breaking when trying to resolve a synonymous genus. See below example:

traitdataform::get_gbif_taxonomy("Epiptera septentrionalis",subspecies = FALSE, verbose=TRUE, higherrank=FALSE, fuzzy=TRUE ,resolve_synonyms = TRUE )

The problem seems to be that a taxon is flagged as synonymous at any rank, but this function conducts a new get_gbifid_ search for only the species:

taxize::get_gbifid_(temp[[i]]$species[which.max(temp[[i]]$confidence)], messages = verbose)

Which is NULL, breaking the function

@alexpiper alexpiper changed the title get_gbif_taxonomy on synonymous genus get_gbif_taxonomy fails on synonymous genus Aug 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants