79797677

Date: 2025-10-23 10:35:44
Score: 1
Natty:
Report link

I reproduce the problem. With the above-mentioned code I get result as follows:

# ->
# Found 61444 results
# Fetched 9946 available abstracts
# Read 9946 abstracts

Actually it is well-known PubMed problem of 10,000 results. See discussion here for example.

retmax=61444 sudgested by @Denis Sechin in Entrez.efetch does not solve the problem.

The way I can suggest is to handle entries year by year by changing mindate and maxdate in a cycle as follows:

# mindate = '2013/01/01',  maxdate = '2013/12/31',
# Found 2827 results
# Fetched 2824 available abstracts
# Read 2824 abstracts

# mindate = '2014/01/01',  maxdate = '2014/12/31',
# Found 3102 results
# Fetched 3098 available abstracts
# Read 3098 abstracts
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @indoes
  • Low reputation (1):
Posted by: Vladimir