calgo-lab / green-db

The monorepo that powers the GreenDB.
https://calgo-lab.github.io/green-db/
22 stars 2 forks source link

Update sustainability labels evaluations #73

Closed AdriaSG closed 2 years ago

AdriaSG commented 2 years ago

I had added the new sustainability-labels-evaluation file as csv, also sustainability-labels.json was updated. Code inside sustanability_labels/init.py had been edited to read new file and merge data. Finally, the table structure was updated in sustanability_labels/bootstrap_database.py; as well as in core/domain.py and database.tables.py.

se-jaeger commented 2 years ago

Oha and forgot to mention that the column eco_inputs is empty for all rows which is weird because some rows have evaluations for it.

se-jaeger commented 2 years ago

And please update the Readme accordingly to the changes of the sustainability labels table.

AdriaSG commented 2 years ago

I made changes requested, what do you think about the updates on green-db/database/database/connection.py?