| cite.openesm_dataset | R Documentation |
Get citation information for dataset
## S3 method for class 'openesm_dataset'
cite(x, format = "bibtex", ...)
x |
An object of class |
format |
Character string specifying citation format. Currently only "bibtex" is supported. |
... |
Additional arguments (currently unused). |
Character string with citation information, returned invisibly.
# Minimal object to demonstrate the method (no API call)
dataset <- structure(
list(
dataset_id = "0001",
metadata = list(
reference_a = "@article{fried2022, author = {Fried}, year = {2022}}"
)
),
class = "openesm_dataset"
)
cite(dataset)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.