- 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.
- 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
- 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.
- Updated URL for
eia_updates
. - Minor fixes.
- Updated vignettes.
- Minor fix to canned report.
- Switch from http to https.
- Documentation updates.
- Minor documentation updates.
- Added initial report function.
- Minor code improvements.
- Minor documentation updates.
- Added a wrapper for the series category endpoint.
- Updated documentation, vignette and unit tests.
- Updated formatting for CRAN.
- Updated package metadata and improved Travis testing suite configuration.
- 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.
- 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.
- Added package scaffolding.
- Added initial package functions for working with data categories, time series, and geosets.
- Added function documentation, unit tests, vignettes.