mario.parse_exiobase
- mario.parse_exiobase(table, unit, path, model='Database', name=None, year=None, calc_all=False, **kwargs)
A unique function for parsing all exiobase databases
- Parameters:
table (str) – acceptable values are “IOT” or “SUT”
unit (str) – Acceptable values are “Hybrid” or “Monetary”
path (str) – path to folder/file of the database (varies by the type of database)
calc_all (boolean) – if True, by default will calculate z,v,e after parsing
year (int, Optional) – optional to the Database (just for recoding the metadata)
name (str, Optional) – optional but suggested. is useful for visualization and metadata.
**kwargs (dict) – all the specific configuation of single exiobase parsers (please refer to the separat function documentations for more information)
- Returns:
returns a mario.Database according to the type of exiobase database specified
- Return type:
mario.Database
- Raises:
WrongInput – if non-valid values are passed to the arguments.