Published March 10, 2023
| Version v0.1.64
Software
Open
MatthewHeun/IEATools: v0.1.64
Authors/Creators
Description
IEATools 0.1.64 (2023-03-09)
- New boolean argument
specify_non_energy_flowsonload_tidy_iea_df()enables specifying Non-energy use flows via the newspecify_non_energy_use()function where possible. For now, the default isFALSEto maintain backward compatibility (i.e., not specifying Non-energy use flows). - New function
specify_non_energy_use()uses "Memo: Non-energy use in <<specific industry>>" where possible. augment_iea_df()now addsFlow.aggregation.points for all aggregation flows that will (eventually) be removed. This change will enable future specification of "Non-energy use in xxxxx" flows with "Memo: Non-energy use in xxxxx" where possible.- Added capability to use
Matrixobjects withprep_psut(),form_C_mats(),form_eta_fu_phi_u_vecs(),extract_S_units_from_tidy(), andcollapse_to_tidy_psut(). This change enables sparse matrices to save memory and disk space. - Eliminated all warnings from the
tidyselectpackage about deprecated functionality. The package builds and tests cleanly again! - New argument on
add_psut_matnames()(R_includes_all_exogenous_flows) switches between (a) including all exogenous flows ("Resources", "Imports", "Statistical differences", and "Stock changes") in the R matrix (TRUE) and (b) placing only Resource flows in the R matrix (FALSE). Default isTRUE. - Added "Main activity producer electricity plants" to the list of
eiou_flows. We route "Own use in electricity, CHP and heat plants" to "Main activity producer electricity plants", so we need to include "Main activity producer electricity plants" in the EIOU flows. Same for "Natural gas extraction". - "Liquefaction (LNG) / regasification plants" EIOU flow now directed to the "Natural gas extraction" industry.
- New 4-letter abbreviations for non-standard ISO country codes.
- New tests for new features.
- Now up to 1371 tests, all passing.
- Test coverage remains at 100 %.
Files
MatthewHeun/IEATools-v0.1.64.zip
Files
(18.5 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:742ccf4d7f9d1199c123081ed81dad5f
|
18.5 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/MatthewHeun/IEATools/tree/v0.1.64 (URL)