| GetDOIs {RefManageR} | R Documentation |
This function queries CrossRef to obtain DOIs for the entries in a given
BibEntry object.
GetDOIs(bib)
bib |
a |
bib with any found DOI's added in the ‘doi’ field
Only entries in bib that do not already contain a value in the
‘doi’ field will be searched for.
https://search.crossref.org/help/api
Other pubmed: GetPubMedByID,
GetPubMedRelated,
LookupPubMedID, ReadCrossRef,
ReadPubMed
if (interactive() && !httr::http_error("https://search.crossref.org")){
BibOptions(check.entries = FALSE, sorting = "none")
bib <- ReadBib(system.file("Bib", "RJC.bib", package = "RefManageR"))[1:5]
bib <- GetDOIs(bib)
bib$doi
}