Lookup article info via CrossRef with DOI.

Usage

crossref(doi, title = FALSE, url = "http://www.crossref.org/openurl/", key = "cboettig@gmail.com",
  ..., curl = getCurlHandle())

Arguments

doi
digital object identifier for an article in PLoS Journals
title
return the title of the paper or not (defaults to FALSE)
url
the PLoS API url for the function (should be left to default)
key
your PLoS API key, either enter, or loads from .Rprofile
...
optional additional curl options (debugging tools mostly)
curl
If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint)

Value

Metadata from DOI in R's bibentry format.

Description

Lookup article info via CrossRef with DOI.

Examples

## Not run: # crossref("10.3998/3336451.0009.101")# print(crossref("10.3998/3336451.0009.101"), style="Bibtex")# print(crossref("10.3998/3336451.0009.101"), style="text")# ## End(Not run)