Package: rpspanel 0.1.0

rpspanel: US State Energy-Economy Panels with Renewable Portfolio Standards

Builds a documented, reproducible state-by-year panel for the 50 US states and the District of Columbia that combines energy consumption, prices and production from the US Energy Information Administration (EIA) State Energy Data System, electricity generation and retail sales, state energy-related carbon dioxide emissions, and state GDP, income and population from the Bureau of Economic Analysis (BEA). Data are downloaded on demand through the official APIs and cached locally, with the source, vintage and transformation of every variable recorded in a codebook. Renewable Portfolio Standard (RPS) rules are turned into standardised annual stringency indices (adoption, nominal, coverage-adjusted and incremental requirements, following Yin and Powers (2010) <doi:10.1016/j.enpol.2009.10.067>, plus design-flexibility indicators). Output works directly with the 'plm', 'fixest' and 'csdm' packages.

Authors:Moses Adebayo [aut, cre, cph]

rpspanel_0.1.0.tar.gz
rpspanel_0.1.0.zip(r-4.7-any)rpspanel_0.1.0.zip(r-4.6-any)rpspanel_0.1.0.zip(r-4.5-any)
rpspanel_0.1.0.tgz(r-4.6-any)rpspanel_0.1.0.tgz(r-4.5-any)
rpspanel_0.1.0.tar.gz(r-4.7-any)rpspanel_0.1.0.tar.gz(r-4.6-any)
rpspanel_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rpspanel/json (API)

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

Bug tracker:https://github.com/adebayomoses/rpspanel/issues

On CRAN:

Conda:

3.30 score 1 stars 19 exports 13 dependencies

Last updated from:0a302087f8. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK136
source / vignettesOK217
linux-releaseOK128
macos-releaseOK101
macos-oldrelOK83
windows-develOK86
windows-releaseOK79
windows-oldrelOK77
wasm-releaseOK110

Exports:as_pdatabuild_panelcite_sourcescodebookconvert_unitsconvert_units_availabledeflateexport_panelfetch_beafetch_censusfetch_eiafetch_rpsharmonise_statesrps_cache_clearrps_cache_dirrps_cache_listrps_rulesrps_stringencyus_states

Dependencies:askpassclicurlgluehttr2lifecyclemagrittropensslR6rlangsysvctrswithr

Measuring RPS stringency
The rule coding | Methods | Linear or step interpolation | Nominal requirements across states | Incremental requirement | Capacity-based standards (Texas and Iowa) | A template for Yin and Powers (2010)-style regressions | Reference

Last update: 2026-10-15
Started: 2026-10-14

Getting started with rpspanel
API keys | One call, one panel | Codebook and citations | Caching and vintages | RPS measures without API keys | Estimation and export

Last update: 2026-10-14
Started: 2026-10-14