Search CrossRef for Document Object Identifiers for Given Citations

Share:

Description

This function queries CrossRef to obtain DOIs for the entries in a given BibEntry object.

Usage

1
GetDOIs(bib)

Arguments

bib

a BibEntry object

Value

bib with any found DOI's added in the ‘doi’ field

Note

Only entries in bib that do not already contain a value in the ‘doi’ field will be searched for.

References

http://search.crossref.org/help/api

See Also

ReadCrossRef

Other pubmed: GetPubMedByID, GetPubMedRelated, LookupPubMedID, ReadCrossRef, ReadPubMed

Examples

1
2
3
4
5
6
if (interactive() && url.exists("http://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
}

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.