
Retrieve citation information from NCBI's Entrez for a set of PubMed IDs
Source:R/ReadPubMed.R
GetPubMedByID.RdUses NCBI's E-Utilities to retrieve bibliographic information given a vector of PubMed ID's and returns the results as a BibEntry object.
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"))