You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To increase NCBI request rate of 3 requests / second to 10 request /second an API key needs to be created and provided.
Have script source entrez key from .Renviron
If no entrez key in .Renviron notify user of how to create one, default to sleep time workaround.
Add documentation to README about creation of API key
Notes on NCBI API Keys from rentrez tutorial:
By default, the NCBI limits users to making only 3 requests per second (and rentrez enforces that limit). Users who register for an "API key" are able to make up to ten requests per second. Getting one of these keys is simple, you just need to register for "my ncbi" account then click on a button in the account settings page.
Once you have an API key, rentrez will allow you to take advantage of it. For one-off cases, this is as simple as adding the api_key argument to given function call.
If you use rentrez often you should edit your .Renviron file (see r help(Startup) for description of this file) to include your key. Doing so will mean all requests you send will take advantage of your API key. ENTREZ_KEY=ABCD123
To increase NCBI request rate of 3 requests / second to 10 request /second an API key needs to be created and provided.
.Renviron
.Renviron
notify user of how to create one, default to sleep time workaround.Notes on NCBI API Keys from rentrez tutorial:
Originally posted by @lakikowolfe in #10 (comment)
The text was updated successfully, but these errors were encountered: