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.
| Version: | 0.1.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | cli, httr2 (≥ 1.0.0), stats, tools, utils |
| Suggests: | arrow, fixest, haven, knitr, plm, rmarkdown, testthat (≥ 3.1.7), withr |
| Published: | 2026-10-27 |
| DOI: | 10.32614/CRAN.package.rpspanel (may not be active yet) |
| Author: | Moses Adebayo [aut, cre, cph] |
| Maintainer: | Moses Adebayo <adebayomoses2021 at gmail.com> |
| BugReports: | https://github.com/adebayomoses/rpspanel/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/adebayomoses/rpspanel |
| NeedsCompilation: | no |
| Language: | en-US |
| Materials: | README, NEWS |
| CRAN checks: | rpspanel results |
| Reference manual: | rpspanel.html , rpspanel.pdf |
| Vignettes: |
Measuring RPS stringency (source, R code) Getting started with rpspanel (source, R code) |
| Package source: | rpspanel_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: rpspanel_0.1.0.zip, r-oldrel: not available |
| macOS binaries: | r-release (arm64): rpspanel_0.1.0.tgz, r-oldrel (arm64): rpspanel_0.1.0.tgz, r-release (x86_64): rpspanel_0.1.0.tgz, r-oldrel (x86_64): rpspanel_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=rpspanel to link to this page.