ropensci / taxize

A taxonomic toolbelt for R
https://docs.ropensci.org/taxize
Other
270 stars 61 forks source link

API rate limit exceeded using comm2sci() #879

Open aczich opened 3 years ago

aczich commented 3 years ago

I've having issues running the comm2sci() function. I realize that the API limit is set by NCBI, however I was reading that you introduced "waits" as a way around this for other functions I believe. I'm not sure if that's can be used with comm2sci() or what other work around I could use to resolve this issue. Thanks.

sckott commented 3 years ago

Thanks @aczich . First of all, do you have your API key set? Second, what wait are you talking about specifically?

aczich commented 3 years ago

@sckott, I'm not sure if I do have an API set. I would guess not. If I pass through a list of common names that is too long (~40-50+) I receive an error that says API rate limit exceeded after it runs through about ~40 names. This happens with all databases except for tropicos.

sckott commented 3 years ago

Okay, see https://docs.ropensci.org/taxize/reference/taxize-authentication.html to get yourself and NCBI API key - that page has details about how to make sure you set up your key correctly as well

try again after doing that and report back