Hi,
I'm finding this function very useful, however when run at scale, some species names seem to throw an error, and I'm not sure how to resolve them.
For example:
get_gbif_taxonomy("Cediopsylla inaequalis",subspecies=F,higherrank=T)
Error in temp[i] <- taxize::get_gbifid_(temp[[i]]$species[which.max(temp[[i]]$confidence)], :
replacement has length zero
Hi,
I'm finding this function very useful, however when run at scale, some species names seem to throw an error, and I'm not sure how to resolve them.
For example:
get_gbif_taxonomy("Cediopsylla inaequalis",subspecies=F,higherrank=T)
Error in temp[i] <- taxize::get_gbifid_(temp[[i]]$species[which.max(temp[[i]]$confidence)], :
replacement has length zero