To cite package ‘eia’ in publications use:

Leonawicz M, Hoff M (2024). eia: API Wrapper for U.S. Energy Information Administration ('EIA') Open Data. R package version 0.4.2, https://github.com/ropensci/eia.

Corresponding BibTeX entry:

  @Manual{,
    title = {eia: API Wrapper for U.S. Energy Information
      Administration ('EIA') Open Data},
    author = {Matthew Leonawicz and Matthew Hoff},
    year = {2024},
    note = {R package version 0.4.2},
    url = {https://github.com/ropensci/eia},
  }