Learn R Programming

epiparameter (version 0.4.1)

get_citation.epiparameter: Get citation from an <epiparameter> object

Description

Extract the citation stored in an <epiparameter> object.

Usage

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

Value

A <bibentry> object.

Arguments

x

An <epiparameter> object.

...

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

Examples

Run this code
# example with 
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")

Run the code above in your browser using DataLab