mario.Database.calc_embodied_imports
For trade-content matrix \(C\) returned by calc_trades_content:
Summation is over origin Regions; the same-label domestic entry is excluded.
With aggregate=False, this formula is applied separately to intermediate
and final content.
db.calc_embodied_imports(...) collapses
db.calc_trades_content(...) into embodied import accounts by destination
Region.
For each destination Region, MARIO sums the corresponding trade-content column
and removes the same-label diagonal entry, so domestic content is not counted
as an import. When aggregate=False, the output keeps separate
Intermediate and Final columns.
indicator, item, scenario, method, clusters,
clusters_direction, intermediate, final and aggregate behave
like they do in db.calc_trades_content(...).
- Database.calc_embodied_imports(
- indicator,
- item=None,
- scenario='baseline',
- method='total',
- clusters=None,
- clusters_direction='both',
- intermediate=True,
- final=True,
- aggregate=True,
Calculate embodied imports by destination Region for one indicator.
This method collapses
calc_trades_content(...)by summing each destination column and removing the same-label diagonal contribution. Withaggregate=False, the output keeps separateIntermediateandFinalcolumns.