Get summaries of objects in NCBI datasets from a unique ID

Usage

entrez_summary(db, ids, ...)

Arguments

db
character Name of the database to search for
ids
integer Id(s) for which data is being collected
...
character Additional terms to add to the request

Value

file XMLInternalDocument xml file resulting from search, parsed with xmlTreeParse

Description

Contstructs a url with the given arguments, and downloads xml record returned by that url. See the package-level documentation for general advice on using the EUtils functions.

Examples

pubmed_search <- entrez_search(db="pubmed", term="Dwarf Elephant", retmax=1) pubmed_summ <- entrez_summary(db="pubmed", ids=pubmed_search$ids)