Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

The times2tokni converts excel output files from TIMES into json files that can be pushed to TOKNI's github repository.

License

Notifications You must be signed in to change notification settings

energy-modelling-club/times2tokni

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

times2tokni

Requirements

  • python 3.6
  • pandas

General information

  • All files must be in the same folder next to each other
  • With each execution potential old json files in the folder will be over-written
  • If you use an excel file with a different structure or naming convention compared to the original data4json.xlsx, make sure to change the filter.csv accordingly
  • All periods in the excel file will be used, but you have the possiblity to exclude years within the exel2json.py

Output

The script creates

  1. stackedBar.json
  2. line.json

The line.json consists only of the 'CO2 budget' indicator. The remaining indicators are in the stackedBar.json. If needed, this can be changed in the excel2json.py directly.

About

The times2tokni converts excel output files from TIMES into json files that can be pushed to TOKNI's github repository.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages