Skip to contents

Returns a citation for a registered data source, formatted as a bibentry() object. The output behaves like citation(): it prints a human-readable reference and a BibTeX entry, and can be passed to toBibtex().

Usage

hc_citation(source)

Arguments

source

Single character string naming the data source to cite. See hc_list_sources() for available names.

Value

A bibentry() object.

Examples

if (FALSE) { # \dontrun{
hc_citation("cehq")
toBibtex(hc_citation("hydroquebec"))
} # }