mario.Database.calc_embodied_exports#

db.calc_embodied_exports(...) collapses db.calc_trades_content(...) into embodied export accounts by origin Region.

For each origin Region, MARIO sums the corresponding trade-content row and removes the same-label diagonal entry, so domestic content is not counted as an export. 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_exports(indicator, item=None, scenario='baseline', method='total', clusters=None, clusters_direction='both', intermediate=True, final=True, aggregate=True)#

Calculate embodied exports by origin Region for one indicator.

This method collapses calc_trades_content(...) by summing each origin row and removing the same-label diagonal contribution. With aggregate=False, the output keeps separate Intermediate and Final columns.