ropensci / rentrez

talk with NCBI entrez using R
https://docs.ropensci.org/rentrez
Other
195 stars 38 forks source link

Fix sleep_time causing API rate limit exceeded #137

Open ttdtrang opened 5 years ago

ttdtrang commented 5 years ago

When api_key is not provided, Entrez allows 3 requests per second, thus sleep_time should be at least (1/3) second. Rounding error caused it to wait for less than (1/3), resulting in API rate limit exceeded error. Fix it into 0.34.