View source: R/GetBibEntryWithDOI.R
GetBibEntryWithDOI | R Documentation |
Uses the DOI System API to look up bibliography information given a set of DOIs.
GetBibEntryWithDOI(
doi,
temp.file = tempfile(fileext = ".bib"),
delete.file = TRUE
)
doi |
character vector; DOIs to use to retrieve bibliographic information. |
temp.file |
string; a file to write the Bibtex data returned by the DOI System to. |
delete.file |
logical; should |
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.
an object of class BibEntry.
https://www.doi.org/tools.html
ReadCrossRef
, BibEntry
if (interactive() && !httr::http_error("https://www.doi.org/"))
GetBibEntryWithDOI(c("10.1016/j.iheduc.2003.11.004", "10.3998/3336451.0004.203"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.