- CSV files from https://www.data.gouv.fr/fr/datasets/agribalyse
- alternatively from https://nexus.openlca.org/database/Agribalyse
[the files from data.gouv.fr are the files from the Nexus OpenLCA converted to a more easily readable format, i.e. csv files]
Tables are explained at https://www.data.gouv.fr/fr/datasets/agribalyse More info from the methodology page https://doc.agribalyse.fr/documentation/?cacheBust=1634652873522
Inspired by Massimo's import for Exiobase.
-
Load all the CSV files as Pandas
-
Identify all activities and exchanges, and create a dictionnary
-
Write the dictionnary as bw2 database
-
Identify products of activities
-
Add the final prod to existing bw database
-
Import emissions from another xlsb file
-
Match emissions with biosphere3 codes (not all of them)
-
Add the emissions to the existing bw database
-
Do calculations.