I'm trying to use rentrez package to retrieve NIH files, and ran the following code (I followed what was on the rentrez tutorial):
pubmed_search <- entrez_search(db = "pubmed",
term = "Case Reports[Filter] AND cardiovascular disease AND English[lang] AND 2009:2019[PDat])",
retmax = 792711,
use_history = TRUE)
for(i in seq(1,10000,100)){
recs <- entrez_summary(db="pubmed",
web_history=pubmed_search$web_history,
retmax=100,
retstart=i) cat(
seq_start+99, "sequences downloaded\r") }
However, instead of the 10,000 texts I expected, I only downloaded 100 files. Could so
edit
button to update it. Also, please indent code with 4 spaces or wrap it in triple backticks (```
) so that it displays in a legible way. $\endgroup$