parse_figaro_e3
- mario.parse_figaro_e3(
- path: str,
- table: str = 'SUT',
- year: int = 2015,
- iot_mode: str = 'industry',
- input_format: str = 'auto',
- extensions='all',
- emissions: str = 'co2eq',
- employment: str = 'EDU',
- extension_allocation: str | None = None,
- chunksize: int = 250000,
- model: str = 'Database',
- name: str | None = None,
- calc_all: bool = False,
- diagonal_correction: float | None = 0.001,
- **kwargs,
Read locally downloaded JRC FIGARO-E3 tables and extensions.
- Parameters:
path (str or Path) – Root containing extracted CSVs and the published classification XLSX. Nested distribution folders are supported. Identical browser copies are collapsed; conflicting copies require selecting one release root.
table ({"SUT", "IOT"}, optional) – Read native rectangular supply/use tables or a published symmetric IOT.
year (int, optional) – Reference year; this release supports 2015.
iot_mode ({"industry", "product"}, optional) – Model D industry IOT (default) or model B product IOT. Ignored for SUTs.
input_format ({"auto", "matrix", "flatfile"}, optional) – Auto prefers economic matrices and falls back to flat files. Extensions may use another available representation; energy auto prefers the complete six-indicator flat file. An explicit format applies to all inputs.
extensions (str, iterable of str, bool or None, optional) –
"all"(default), or selectedemissions,energy,employmentgroups.False/Noneomits extensions.emissions ({"co2eq", "mass"}, optional) – Published AR5/GWP100 CO2eq (default) or gas-mass accounts. F-gases are already characterised in both representations. Only one is imported.
employment ({"EDU", "OCC", "both"}, optional) – Education-based (default), occupation-based, or separately labelled estimates. These alternatives must not be summed together.
extension_allocation ({None, "industry_technology"}, optional) – Product IOT extensions require explicit
"industry_technology"and supply data. Industry-native extensions are allocated using published industry output and supply shares. Direct final demand is unchanged.chunksize (int, optional) – Flat-file observations read per chunk; defaults to 250000.
model (str, optional) – Public MARIO model class; defaults to
"Database".name (str, optional) – Display name; defaults to source year, table and IOT mode.
calc_all (bool, optional) – Materialize derived blocks; defaults to
False.diagonal_correction (float or None, optional) – Correct only the verified isolated 2015 Irish paper-incineration loop. The default epsilon
1e-3reduces its own-input coefficient from one to 0.999, preserving the original output reference and absolute satellite accounts. A warning and import report record the changed flow and balance gap.Noneimports the uncorrected source system. Other nodes and parsers are unaffected. See the guide for interpretation.**kwargs – Additional model-construction options.
Notes
Imports preserve the complete inter-country table, native codes, signed adjustments and direct final-demand flows. No standard FIGARO classification mapping is assumed. See FIGARO E3 for file choices, scientific assumptions and the downloadable notebook.
See the FIGARO E3 guide and its
downloadable notebook for file selection and extension assumptions. The
diagonal_correction parameter controls the targeted Irish loop treatment;
None retains the uncorrected source flows. Read the guide’s accounting
gap and output-reference explanation before interpreting multipliers.