cite.openesm_dataset: Get citation information for dataset

View source: R/S3_methods.R

cite.openesm_datasetR Documentation

Get citation information for dataset

Description

Get citation information for dataset

Usage

## S3 method for class 'openesm_dataset'
cite(x, format = "bibtex", ...)

Arguments

x

An object of class openesm_dataset.

format

Character string specifying citation format. Currently only "bibtex" is supported.

...

Additional arguments (currently unused).

Value

Character string with citation information, returned invisibly.

Examples


# 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)


openesm documentation built on Dec. 3, 2025, 5:08 p.m.