eia: API Wrapper for U.S. Energy Information Administration ('EIA') Open Data

Provides API access to data from the U.S. Energy Information Administration ('EIA') <https://www.eia.gov/>. Use of the EIA's API and this package requires a free API key obtainable at <https://www.eia.gov/opendata/register.php>. This package includes functions for searching the EIA data directory and returning time series and geoset time series datasets. Datasets returned by these functions are provided by default in a tidy format, or alternatively, in more raw formats. It also offers helper functions for working with EIA date strings and time formats and for inspecting different summaries of series metadata. The package also provides control over API key storage and caching of API request results.

Version: 0.4.2
Imports: tibble, httr, jsonlite, memoise, lubridate
Suggests: testthat (≥ 3.0.0), knitr, covr, rmarkdown, dplyr, tidyr, ggplot2, spelling
Published: 2024-04-15
DOI: 10.32614/CRAN.package.eia
Author: Matthew Leonawicz ORCID iD [aut], Matthew Hoff [aut, cre]
Maintainer: Matthew Hoff <matthew.g.hoff at gmail.com>
BugReports: https://github.com/ropensci/eia/issues
License: MIT + file LICENSE
URL: https://docs.ropensci.org/eia/, https://github.com/ropensci/eia
NeedsCompilation: no
Language: en-US
Materials: README NEWS
CRAN checks: eia results

Documentation:

Reference manual: eia.pdf
Vignettes: API details
Package overview

Downloads:

Package source: eia_0.4.2.tar.gz
Windows binaries: r-devel: eia_0.4.2.zip, r-release: eia_0.4.2.zip, r-oldrel: eia_0.4.2.zip
macOS binaries: r-release (arm64): eia_0.4.2.tgz, r-oldrel (arm64): eia_0.4.2.tgz, r-release (x86_64): eia_0.4.2.tgz, r-oldrel (x86_64): eia_0.4.2.tgz
Old sources: eia archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=eia to link to this page.