Skip to content

Releases: USEPA/useeior

v1.2.0

13 Apr 18:10
Compare
Choose a tag to compare

Major updates

  • embeds Sept 2022 release of BEA industry data covering through 2021
  • enables creations of EEIO models without indicators

What's Changed (automated list)

Full Changelog: v1.1.1...v1.2.0

1.1.1

22 Aug 20:53
848862c
Compare
Choose a tag to compare

What's Changed

  • Correct output ratio calculation for Summary and Sector USEEIO models
  • Make order of margin sectors consistent across tables
  • Mark all transportation sectors correctly in schema info tables

Full Changelog: v1.1.0...v1.1.1

1.1.0

28 Jul 00:09
0e4ac3d
Compare
Choose a tag to compare

What's Changed

  • Updated BEA IO data and saved data up to 2020 (most recent year BEA has provided).
  • Added functionality to load and use StateIO (two-region) data.
  • Added feature of integrated hybrid models (see example model spec USEEIOv2.0-GHG-NGCombustion)

Full Changelog: v1.0.0...v1.1.0

1.0.2

07 Mar 19:24
c83be87
Compare
Choose a tag to compare

This release is in support of creating the v1.1.1 of Supply Chain Emission Factors (SEFs) originally published in EPA's "Supply Chain Greenhouse Gas Emission Factors (SEF) for US Industries and Commodities" report.

1.0.1

11 Jan 23:58
8eb2234
Compare
Choose a tag to compare

This release is in support of creating the amendment to EPA's "Supply Chain Greenhouse Gas Emission Factors (SEF) for US Industries and Commodities" report. An updated v1.1 of the SEFs produced with this release of useeior are included in the amendment.

1.0.0

30 Dec 19:41
81a2c47
Compare
Choose a tag to compare

useeior is an R package for building and using USEEIO models. The model object is the primary output that is built according to a given model specification and optional hybridization specification, e.g. disaggregation. Model specifications and associated hybridization specifications, e.g. disaggregation, for EPA-validated models are included in the package. The package offers various functions for validating, calculating, visualizing, and writing out models and/or their components. useeior is a core component of the USEEIO Modeling Framework.

useeior is in a stable development state. Users intending to use the package for production purposes and applications should use the latest Release.

See the README for installation and basic usage of useeior. See Wiki for advanced uses, details about built-in data and metadata and how to contribute to useeior.

This package was developed under the USEPA quality assurance plan K-LRTD-0030017-QP-1-4 for "U.S. Environmentally-Extended Input-Output (USEEIO) Models". useeior v0.4 was subjected to internal EPA peer-review and then reviewed and cleared by EPA management. Updates in the package since that time are described in this release and previous releases since v0.4.

What's Changed

New Contributors

Full Changelog: v0.4.2...v1.0.0

v0.4.2

18 Sep 18:30
Compare
Choose a tag to compare
  • Update metadata files to include 'sector categories' and 'descriptions' fields in support of JSON-LD export for openLCA
  • Add these fields to disaggregated input files
  • Ensure UUIDs are correctly maintained in satellite tables and exported as flow metadata
  • Add model spec 2.0.1 for updated satellite tables w UUIDs. This model aligns with updates associated with flowsa v0.3.1
  • Fix error causing missing disaggregation of some flows in waste satellite table

v0.4.1

10 Sep 21:35
Compare
Choose a tag to compare

Model data enhancements

  • Updates acquisition of model data
  • Adds logging feature to acquisition of model data
  • Adds two additional external data: Detail_Use_2012_PUR_AfterRedef.rda and Summary_Import_2018_BeforeRedef.rda

Calculation, Validation, Visualization and Export of Models

  • Adds aggregateResultTable and aggregateResultMatrix functions
  • Adds calculateConsumptionContributiontoImpact function
  • Adds writeMetadatatoJSON for exporting model metadata to JSON format for USEEIO API use
  • Refactors model validation approach

Corrections

  • Changes file paths in loading model component and model writing out functions

Deprecated

  • Removes validate package from DESCRIPTION

v0.4

10 Jun 01:02
Compare
Choose a tag to compare

A version of useeior capable of building the complete USEEIOv2.0 model along with related model variants. It includes new capabilities of building disaggregated models, of validating and visualizing built models, and significantly enhances model calculation and export. This version includes complete function and data object documentation, model identification and sessionInfo capture, and more thorough logging. This version has been through US EPA internal review and cleared by management.

Model building enhancements

  • Permits model disaggregation for commodity-based models at BEA detail and summary levels with user defined and default allocation rules and embedded configuration and input files; provides associated waste sector disaggregation configuration and input files
  • Adds capability of creating domestic Use tables and associated domestic model component and result matrices through integration of BEA import matrix
  • Adds capability of building satellite tables from flowsa data products in flow-by-sector-collapsed format as .parquet files hosted on the EPA Data Commons or by calling flowsa python library directly via the R reticulate package, or through calling external csv files of existing USEEIO satellite tables reformatted in totals-by-sector format, and subsequently removes embedded static satellite tables
  • Adds capability of integrating indicators from LCIA Formatter LCIA method formatted data products in .parquet format hosted on the EPA Data Commons or by calling the lciafmt python library directly via the R reticulate package, and subsequently removes static LCIA factors for previously used USEEIO methods except for waste type aggregations, jobs and value added
  • Uses local caching for remotely acquired files
  • Creates buildModel wrapper function to build models in a single command along with refactoring of the called model building functions
  • Adds new demand vector specifications and improved functions for defining total consumption, total production, household consumption, and domestic variants from a given final demand table
  • Refactors and improves the matrix nomenclature
  • Adds price adjustment matrices to model object
  • Improves sector crosswalk building and related sector mapping functions
  • Removes some residual model objects at model build time that were used as reference data in model building but were not reflective of the final model
  • Provides cleaner and more extensive logging for modeling building steps and calculations
  • Provides model configuration files for 7 USEEIO models including USEEIOv2.0 and variants

Documentation

  • Provides complete Help documentation for all functions and built-in data objects
  • Provides (outside of R package) format details for models and all included objects, as well as for model specification and disaggregation specification and input files
  • Provides R file first-line comments to describe scope of file

Calculation, Validation, Visualization and Export of Models

  • Adds final perspective calculation (see original USEEIO paper, Yang et al. 2017)
  • Adds analytical sector contribution and flow contribution to impact calculations
  • Provides extensive model validation capability with checks that calculate output and flow totals using model components and compare them to the originals in the input data
  • Adds visualization functions plotMatrixCoefficient, barplotIndicatorScoresbySector, heatmapSatelliteTableCoverage, heatmapSectorRanking, barplotFloworImpactFractionbyRegion and default color schemes for sectors and indicators
  • Adds compareFlowTotals for comparing flows in two models
  • Adds model writing out/export capability for USEEIO API and to .xlsx or .csv format along with with additional session info and model SHA hash-based identifier creation for identifying unique model builds and associating them with user OS, hardware and R configuration

Corrections

  • Corrects price adjustment functions
  • Refactors margin loading to correct use of margin data and avoid double counting

Deprecated

  • Removes deriveMarginSectorImpacts
  • Removes antiquated flow mapping functions
  • Removes generateNonScrapRatios from IO functions and other scrap-adjustment capabilities (scrap is now included as a sector in models)
  • Removes model configuration files for 2010-2016 GHG models (2.0.10.....2.0.16)

0.2.0-v2a

24 Jan 14:15
Compare
Choose a tag to compare
0.2.0-v2a Pre-release
Pre-release

Build an alpha version of USEEIO2.0, along with test model USEEIO2.0-nodisagg and USEEIO2.0-GHG, Other models not functioning at this point.