renderDOI: Render a formatted citation for a DOI

Description Usage Arguments Value Author(s) Examples

Description

Renders a fully formatted citation from a DOI via a lookup to http://data.crossref.org. CSL styles are used to render the reference.

Usage

1
  renderDOI(x, csl = "apa", verbose = TRUE, ...)

Arguments

x

character; vector of one or more DOIs

csl

characer; the name of a valid CSL style

verbose

logical; report on progress?

...

additional arguments. Not currently used

Value

A list whose components are the rendered citations corresponding to the supplied DOIs.

Author(s)

Gavin L. Simpson

Examples

1
2
writeLines(renderDOI("10.1007/s10933-013-9697-7",
                     verbose = FALSE)[[1]])

gavinsimpson/orcid documentation built on May 16, 2019, 10:10 p.m.