Changelog
Source:NEWS.md
eia 0.4.2
CRAN release: 2024-04-15
- Removed one-off, non-API, report download function that no longer works but also do not intend to support within the scope of the package.
- Removed related, no longer needed package imports.
- Updated documentation.
eia 0.4.1
CRAN release: 2023-11-17
- Re-factor of
eia_data()
:- Added dynamic error handling via metadata layer conditioned on new function argument
check_metadata
. - Forced
start
andend
input values to character. - Forced
length
andoffset
input values to numeric. - Augmented
sort
functionality to now handle multiple, varying “asc”/“desc” inputs toorder
as a list, rather than just one value of “asc” or “desc” applied to all specified columns. - Improved error messaging with
check_metadata = TRUE
to more closely resemble those provided by the API (i.e. withcheck_metadata = FALSE
).
- Added dynamic error handling via metadata layer conditioned on new function argument
eia 0.4.0
CRAN release: 2023-10-31
- Updated functions and functionality based on the new v2 API, effective March 2023; due to the nature of the API changes,
eia
has undergone an extensive refactor in which many of the previous functions are no longer applicable and do not exist. - Replaced
eia_categories()
etc. witheia_dir()
. - Removed
eia_series_*
,eia_geosets()
, andeia_updates()
functions. - Added
eia_metadata()
andeia_data()
. - Updated docs and vignettes.
- Updated tests.
eia 0.3.6
CRAN release: 2020-05-08
- Minor fix to canned report.
- Switch from http to https.
- Documentation updates.
eia 0.3.4
CRAN release: 2019-11-27
- Added initial report function.
- Minor code improvements.
- Minor documentation updates.
eia 0.3.3
CRAN release: 2019-09-16
- Added a wrapper for the series category endpoint.
- Updated documentation, vignette and unit tests.
eia 0.3.0
- Added convenient key store methods with getter and setter helpers, optionally making it easy to avoid having to provide the key in every function call.
- Moved
key
argument from first to last among relevant function arguments and updated all examples accordingly. - Added support for hourly time series requests and date format handling.
eia 0.2.0
- Added optional memoization to API functions, adding a new
cache
argument. - Added anti-DOS measures, which can be adjusted using
options()
. - Added more vignettes and documentation.
- Added helper functions for clearing cached results.
- Added helper functions for working with EIA date strings.
- Added helper functions for time series metadata.
- More output formats and consistency between functions.
- Added unit tests.
- Minor updates to functions, documentation.