mario.parse_eora
- mario.parse_eora(path, multi_region, table, indeces=None, name_convention='full_name', aggregate_trade=True, year=None, name=None, calc_all=False, model='Database', **kwargs) object
Parsing eora databases
Note
for multi_region database, only eora26 is acceptable
multi_region database has some inconsistencies that are modified when parsed.
to see the modifications after parsing call ‘meta_history’
- Parameters:
path (str) – path to the zip file containing the database
multi_region (bool) – True for eora26 else False
indeces (str) – in case of multi_region database, the indeces.zip file path should be given
name_convension (str) – will take the full names of countries if full_name otherwise, takes the abbreviations
aggregate_trade (boolean) – if True, will aggregated all the trades into total imports and exports in single region database
year (int, Optional) – for recording on the metadata
name (str, Optional) – for recording on the metadata
calc_all (boolean) – if True, will calculate the main missing matrices
- Return type:
mario.Database