get_citation.epiparameter {epiparameter}R Documentation

Get citation from an ⁠<epiparameter>⁠ object

Description

Extract the citation stored in an ⁠<epiparameter>⁠ object.

Usage

## S3 method for class 'epiparameter'
get_citation(x, ...)

Arguments

x

An ⁠<epiparameter>⁠ object.

...

dots Not used, extra arguments supplied will cause a warning.

Value

A ⁠<bibentry>⁠ object.

Examples

# example with <epiparameter>
ep <- epiparameter_db(single_epiparameter = TRUE)
get_citation(ep)

# example returning bibtex format
ep <- epiparameter_db(disease = "COVID-19", single_epiparameter = TRUE)
cit <- get_citation(ep)
format(cit, style = "bibtex")

[Package epiparameter version 0.4.0 Index]