pd_cite: How to cite a version

View source: R/cite.R

pd_citeR Documentation

How to cite a version

Description

A citation for one version of a dataset, naming the publisher, the version and the URL it is kept at, with the attribution the publisher's licence requires. Print it for text, or pass it to [utils::toBibtex()] for a reference manager.

Usage

pd_cite(slug, version = NULL)

Arguments

slug

The dataset's slug, as in its page URL 'https://publicdata.au/d/<slug>/'.

version

A version date from [pd_versions()]. The newest when 'NULL'.

Value

A [utils::bibentry()] object.

See Also

Other metadata: pd_attribution(), pd_changes(), pd_fields(), pd_latest(), pd_provenance(), pd_schema(), pd_tables()

Examples


cit <- pd_cite("rba-cash-rate")
print(cit, style = "text")
utils::toBibtex(cit)


publicdataau documentation built on Oct. 14, 2026, 5:07 p.m.