Extract PubMed ID from elink object
extract_pmid.elink.RdExtract PubMed ID from an elink object.
Usage
# S3 method for class 'elink'
extract_pmid(x, linkname = NULL, quietly = FALSE, no_result = "error", ...)Arguments
- x
An
elinkobject, generated by rentrez::entrez_link and it's derivatives (e.g. citedby_pmid).- linkname
linkname as specified for Entrez API; only necessary if more than one
linknameis returned from PubMed.- quietly
Suppress PubMed linkname message when
linknameis not specified and multiple results exist in anelinkobject.- no_result
The type of condition that should be signaled when no PubMed results exist in a response; one of "error", "warning" (default), "message" or "none".
- ...
Unused, included for generic consistency only.
See also
Other extract_pmid documentation:
extract_pmid(),
extract_pmid.elink_list()