mario.parse_eurostat_sut
- mario.parse_eurostat_sut(supply_path, use_path, model='Database', name=None, calc_all=False, **kwargs) object
Parsing Eurostat databases
Note
this function is not generally applicable to any Eurostat table: it works only for specific table formats. Please refer to the example on the website
first rule: it is not possible to parse file different from .xls format
second rule: in each .xsl file, be sure data are referring to only one region
third rule: use only “total” as stock/flow parameter, and only one unit of measure
forth rule: supply must be provided in activity by commodity, use must be provided in commodity by activitiy formats
- Parameters:
supply_path (str) – path to the .xls file containing the supply table
use_path (str) – path to the .xls file containing the use table
name (str, Optional) – for recording on the metadata
calc_all (bool, Optional) – if True, will calculate the main missing matrices
- Return type:
mario.Database