Lookup a Bibtex entry using a Digital Object Identifier
Source:R/GetBibEntryWithDOI.R
GetBibEntryWithDOI.Rd
Uses the DOI System API to look up bibliography information given a set of DOIs.
Usage
GetBibEntryWithDOI(
doi,
temp.file = tempfile(fileext = ".bib"),
delete.file = TRUE
)
Details
The bibliographic information returned by the search of the https://www.doi.org/
API is temporarily
written to a file and then read back into R
and return as a
BibEntry
object.
Examples
if (interactive() && !httr::http_error("https://www.doi.org/"))
GetBibEntryWithDOI(c("10.1016/j.iheduc.2003.11.004", "10.3998/3336451.0004.203"))