mario.Database.calc_embodied_imports#

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. With aggregate=False, the output keeps separate Intermediate and Final columns.