Skip to content

fetch_pubmed_data::retmax #13

@dandycodingpipe

Description

@dandycodingpipe

There appears to be an issue when retrieving large amounts of PubMed data.

retmax = 2000 returns "Killing the request! Something is not working. Please, try again later"

Fortunately anything under still works (e.g retmax = 1500).

Thank you.

  #1) PMID retrieval from query
  query <- 'complement system AND (pathology OR pathologies)'
  my_query <- get_pubmed_ids(query)
  print(paste(my_query$Count, "PMIDs retrieved..."))
  
  #2) XML Retrieval
  sample_max <- 1000
  my_abstracts_xml <- fetch_pubmed_data(my_query, retmax = sample_max)
  all_xml <- articles_to_list(my_abstracts_xml)
  print(paste(length(all_xml), "abstracts were retrieved..."))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions