
Retrieve citation information from NCBI's Entrez for a set of PubMed IDs
Source:R/ReadPubMed.R
GetPubMedByID.Rd
Uses NCBI's E-Utilities to retrieve bibliographic information given a vector of PubMed ID's and returns the results as a BibEntry object.
Arguments
- id
character vector; PubMed ID's for searching NCBI's Entrez.
- db
string; Entrez database to search.
- ...
additional parameters to use for the search. See the Entrez documentation listed in the References.
Note
Returned entries will have bibtype
“Article” or “Book”,
unless a collection title is present -- in which case the bibtype
will be
“InBook” -- or there is no journal information returned for an article -- in
which case the bibtype
will be “Misc”.
See also
Other pubmed:
GetPubMedRelated()
,
LookupPubMedID()
,
ReadCrossRef()
,
ReadPubMed()
Examples
if (interactive() && !httr::http_error("https://eutils.ncbi.nlm.nih.gov/"))
GetPubMedByID(c("11209037", "21245076"))