doi2bib: Convert DOI to Bibtex

Description Usage Arguments Value Methods (by class) Examples

Description

Convert a digital object identifier (DOI) string into a bibtex entry using the webservice http://www.doi2bib.org.

Usage

1
2
3
4
doi2bib(..., file, append = TRUE, quiet = FALSE)

## S4 method for signature 'character'
doi2bib(..., file, append = TRUE, quiet = FALSE)

Arguments

...

One or more DOIs, as character strings. If arguments are named, names will replace default citekeys.

file

an optional character string. If used, the bibtex references are sent to file rather than being returned.

append

logical. Append results to file?

quiet

logical. By default, bibtex references are printed to the console. By setting quiet to TRUE, this behaviour will be prevented.

Value

a list, returned invisibly, of bibtex references as character strings, as well as writing to file if file is specified.

Methods (by class)

Examples

1
2
3
4
doi2bib(Margules2000 = "10.1038/35012251")
doi2bib(Margules2000 = "10.1038/35012251",
        Myers2000    = "10.1038/35002501",
        Moilanen     = "978-0199547777")

wkmor1/doi2bib documentation built on May 4, 2019, 7:34 a.m.