icos_citation: Get a digital object's citation

icos_citationR Documentation

Get a digital object's citation

Description

Grabs the citation of the digital object from the ICOS server or the CrossRef server if it exists. Both this internal ICOS citation as well as the common 'academic' citation is provided if available.

Usage

icos_citation(dobj, doi, style = "apa", lang = "en-GB")

Arguments

dobj

a digital object URI or PID (persistent identifier)

doi

doi of a manuscript or document (as listed by icos_collections())

style

the sitation style (default = 'apa')

lang

the language of the common citation (default = 'en-GB')

Value

a dataframe with an icos and common citation to be used in publications when using the referenced digital object

Examples

## Not run: 
dobj <- "https://meta.icos-cp.eu/objects/lNJPHqvsMuTAh-3DOvJejgYc"
print(icos_citation(dobj))

## End(Not run)

bluegreen-labs/icoscp documentation built on Nov. 16, 2022, 4:06 p.m.