esummary {reutils} | R Documentation |
esummary - downloading Document Summaries
Description
esummary
performs calls to the NCBI ESummary utility to retrieve document
summaries (DocSums) for a list of primary UIDs or for a set of UIDs stored in the
user's web environment (using the Entrez History server).
Usage
esummary(uid, db = NULL, retstart = 1, retmax = 10000, querykey = NULL,
webenv = NULL, retmode = "xml", version = "2.0")
Arguments
uid |
(Required)
List of UIDs provided either as a character vector, as an
|
db |
(Required only when |
retstart |
Numeric index of the first DocSum to be retrieved (default: 1). |
retmax |
Total number of DocSums from the input set to be retrieved (maximum: 10,000). |
querykey |
An integer specifying which of the UID lists attached
to a user's Web Environment will be used as input to |
webenv |
A character string specifying the Web Environment that
contains the UID list. (Usually obtained directely from objects returned
by previous |
retmode |
Retrieval mode. (default: 'xml', alternative: 'json') |
version |
If "2.0" |
Details
See the official online documentation for NCBI's EUtilities for additional information.
Value
An esummary
object.
See Also
content
, getUrl
, getError
,
database
.
Examples
## Retrieve the Document Summary information for a set of
## UIDs frome the Nuccore datanase.
ds <- esummary(c("1060721643", "1060721620", "1060721618"), "nuccore")
ds
## Not run:
## parse the XML into a data frame
df <- content(ds, "parsed")
df
## use XPath expressions to extract nodes of interest
ds['//TaxId/text()']
## End(Not run)