Package: eia 0.4.2

Matthew Hoff

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.

Authors:Matthew Leonawicz [aut], Matthew Hoff [aut, cre]

eia_0.4.2.tar.gz
eia_0.4.2.zip(r-4.7)eia_0.4.2.zip(r-4.6)eia_0.4.2.zip(r-4.5)
eia_0.4.2.tgz(r-4.6-any)eia_0.4.2.tgz(r-4.5-any)
eia_0.4.2.tar.gz(r-4.7-any)eia_0.4.2.tar.gz(r-4.6-any)
eia_0.4.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
eia/json (API)

# Install 'eia' in R:
install.packages('eia', repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org'))

Reviews:rOpenSci Software Review #342

Bug tracker:https://github.com/ropensci/eia/issues

Pkgdown/docs site:https://docs.ropensci.org

On CRAN:

Conda:

eiaeia-apienergy-dataenergy-information-administrationopen-data

6.83 score 51 stars 44 scripts 430 downloads 14 exports 25 dependencies

Last updated from:3c98e83381 (on master). Checks:10 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK149
pkgdown docsOK145
source / vignettesOK178
linux-release-x86_64OK149
macos-release-arm64OK114
macos-oldrel-arm64OK92
windows-develOK83
windows-releaseOK79
windows-oldrelOK83
wasm-releaseOK148

Exports:date_to_eiadateeia_clear_cacheeia_clear_dataeia_clear_direia_clear_facetseia_clear_metadataeia_dataeia_direia_facetseia_get_keyeia_metadataeia_set_keyeiadate_to_dateeiadate_to_date_seq

Dependencies:askpasscachemclicpp11curlfastmapgenericsgluehttrjsonlitelifecyclelubridatemagrittrmemoisemimeopensslpillarpkgconfigR6rlangsystibbletimechangeutf8vctrs

API details
API key | Register a key with EIA | Key storage and retrieval | API requests | Memoization | Anti-DOS measures

Last update: 2023-10-31
Started: 2019-07-01

Package overview
API key | Register a key with EIA | Key storage and retrieval | EIA directory | Note on output format | EIA metadata | EIA data | Data structure | Data values | EIA facets | Getting facet values | Using facet values | Frequency-, time-subsetting, and sorting

Last update: 2023-10-31
Started: 2019-06-26

Readme and manuals

Help Manual

Help pageTopics
eia: EIA API wrappereia-package eia
Clear API results cacheeia_clear_cache eia_clear_data eia_clear_dir eia_clear_facets eia_clear_metadata
EIA dataeia_data
EIA directoryeia_dir
EIA facetseia_facets
Set and get API keyeia_get_key eia_key eia_set_key
EIA metadataeia_metadata
EIA date parsingdate_to_eiadate eiadate eiadate_to_date eiadate_to_date_seq