I want to make thousands of entrez requests. I know that you are not allowed to make more than 3 requests per second unless you have an API key. The rentrez introduction says that rentrez enforces this limit.
I just want to make sure that NCBI does not block me, so the performance is not the issue here.
https://cran.r-project.org/web/packages/rentrez/vignettes/rentrez_tutorial.html
But what if I combine lapply()
with entrez_search()
?
authors <- c("Uhelski ML", "Manjavachi MN")
authors_pubs <- lapply(authors, function(x) entrez_search(db = "pubmed",term = paste0(x, "[AUTH]"), use_history = TRUE))
Does rentrez still enforces the request limit in this case or do I have to introduce stops into my code?