mario.Database.get_add_sectors_excel#

Database.get_add_sectors_excel(path=None, items=None, regions=None, item=None, redefine_uncertainties=False, overwrite=False)#

Write the add-sectors workbook template.

Parameters:
  • path – Output path for the workbook. When omitted, MARIO writes to the default Excel output folder.

  • items – Optional item names to pre-populate in the master sheet. For IOT the items are sectors. For SUT they are interpreted according to item. When omitted, an empty workbook skeleton is written.

  • regions – Optional regions to pre-populate in the master sheet. When omitted and items are provided, all database regions are used.

  • item – SUT-only selector that controls whether items should be written as activities, commodities, or both. None means both.

  • redefine_uncertainties – When True, include the editable uncertainties sheet in the workbook.

Notes

The old simple workbook is deprecated. This method now always writes the single workbook format consumed by read_add_sectors_excel(...) and add_sectors(...).