@hestia-earth/data-api 0.0.2-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/.dockerignore +25 -0
  2. package/.env.test +7 -0
  3. package/.eslintignore +7 -0
  4. package/.eslintrc.js +11 -0
  5. package/.gitlab-ci.yml +125 -0
  6. package/.mocharc.js +8 -0
  7. package/.nvrm +1 -0
  8. package/.nycrc +15 -0
  9. package/Dockerfile +17 -0
  10. package/cleanup-docker.sh +4 -0
  11. package/commitlint.config.js +1 -0
  12. package/database/index.ts +76 -0
  13. package/database/migrations/001.do.init.sql +53 -0
  14. package/database/migrations/002.do.add-aggregated-sites.sql +16 -0
  15. package/database/migrations/003.do.add-generated-period-cols.sql +7 -0
  16. package/database/migrations/index.ts +36 -0
  17. package/database/seed/common.ts +7 -0
  18. package/database/seed/index.ts +55 -0
  19. package/database/seed/local/index.ts +28 -0
  20. package/database/seed/production/index.ts +3 -0
  21. package/database/seed/staging/index.ts +5 -0
  22. package/database/seed/test/index.ts +28 -0
  23. package/dev.ts +3 -0
  24. package/dist/aggregated-nodes/model/index.d.ts +25 -0
  25. package/dist/aggregated-nodes/model/index.js +11 -0
  26. package/dist/models.d.ts +1 -0
  27. package/dist/models.js +17 -0
  28. package/docker-compose.yml +42 -0
  29. package/envs/.master.env +7 -0
  30. package/envs/.staging.env +7 -0
  31. package/index.js +3 -0
  32. package/package.json +105 -0
  33. package/run-docker.sh +14 -0
  34. package/run-test.sh +5 -0
  35. package/scripts/run-lambda.ts +10 -0
  36. package/scripts/run-migrations.ts +18 -0
  37. package/scripts/run-resetdb.ts +18 -0
  38. package/scripts/run-seed.ts +18 -0
  39. package/serverless.yml +76 -0
  40. package/src/aggregated-nodes/model/index.ts +37 -0
  41. package/src/aggregated-nodes/routes/pg-get-filters.ts +44 -0
  42. package/src/aggregated-nodes/routes/pg-get.ts +50 -0
  43. package/src/aggregated-nodes/routes.spec.ts +242 -0
  44. package/src/aggregated-nodes/routes.ts +56 -0
  45. package/src/aggregated-nodes/services/pg-get-filters.ts +52 -0
  46. package/src/aggregated-nodes/services/pg-get.ts +77 -0
  47. package/src/app.spec.ts +34 -0
  48. package/src/app.ts +59 -0
  49. package/src/config.ts +21 -0
  50. package/src/cors.spec.ts +32 -0
  51. package/src/cors.ts +7 -0
  52. package/src/errors.spec.ts +114 -0
  53. package/src/errors.ts +121 -0
  54. package/src/index.spec.ts +94 -0
  55. package/src/index.ts +14 -0
  56. package/src/lambdas/sentry.ts +12 -0
  57. package/src/lambdas/update-aggregated-nodes/handler.spec.ts +86 -0
  58. package/src/lambdas/update-aggregated-nodes/handler.ts +141 -0
  59. package/src/logger.spec.ts +20 -0
  60. package/src/logger.ts +45 -0
  61. package/src/maintenance.spec.ts +76 -0
  62. package/src/maintenance.ts +19 -0
  63. package/src/models.ts +1 -0
  64. package/src/routes.spec.ts +33 -0
  65. package/src/routes.ts +9 -0
  66. package/src/settings/model/index.ts +21 -0
  67. package/src/settings/routes/get.spec.ts +33 -0
  68. package/src/settings/routes/get.ts +3 -0
  69. package/src/settings/routes/update.spec.ts +33 -0
  70. package/src/settings/routes/update.ts +5 -0
  71. package/src/settings/routes.spec.ts +75 -0
  72. package/src/settings/routes.ts +21 -0
  73. package/src/settings/services/get.spec.ts +62 -0
  74. package/src/settings/services/get.ts +18 -0
  75. package/src/settings/services/update.spec.ts +118 -0
  76. package/src/settings/services/update.ts +47 -0
  77. package/src/slack.spec.ts +42 -0
  78. package/src/slack.ts +17 -0
  79. package/src/swagger/routes.ts +57 -0
  80. package/src/types/async-express-errors/index.d.ts +1 -0
  81. package/src/types/express/index.d.ts +10 -0
  82. package/src/utils/endpoint-wrapper.spec.ts +80 -0
  83. package/src/utils/endpoint-wrapper.ts +16 -0
  84. package/src/utils/middleware.spec.ts +154 -0
  85. package/src/utils/middleware.ts +33 -0
  86. package/test/Dockerfile +13 -0
  87. package/test/docker-compose.yml +40 -0
  88. package/test/fixtures/aggregated-nodes/get.ts +184 -0
  89. package/test/fixtures/update-aggregated-nodes/abyssinianKaleSeedWhole-cycle_pivoted.csv +5 -0
  90. package/test/fixtures/update-aggregated-nodes/abyssinianKaleSeedWhole-cycle_pivoted.csv.cycle.json +458 -0
  91. package/test/fixtures/update-aggregated-nodes/abyssinianKaleSeedWhole-cycle_pivoted.csv.site.json +182 -0
  92. package/test/fixtures/update-aggregated-nodes/abyssinianKaleSeedWhole-impactassessment_pivoted.csv +3 -0
  93. package/test/fixtures/update-aggregated-nodes/abyssinianKaleSeedWhole-impactassessment_pivoted.csv.impactAssessment.json +988 -0
  94. package/test/fixtures/update-aggregated-nodes/abyssinianKaleStraw-impactassessment_pivoted.csv +3 -0
  95. package/test/fixtures/update-aggregated-nodes/cycle-missing-impactassessment_pivoted.csv +3 -0
  96. package/test/fixtures/update-aggregated-nodes/tomatoFruit-cycle_pivoted.csv +5 -0
  97. package/test/fixtures/update-aggregated-nodes/tomatoFruit-cycle_pivoted.csv.cycle.json +584 -0
  98. package/test/fixtures/update-aggregated-nodes/tomatoFruit-cycle_pivoted.csv.site.json +212 -0
  99. package/test/fixtures/update-aggregated-nodes/tomatoFruit-impactassessment_pivoted.csv +3 -0
  100. package/test/fixtures/update-aggregated-nodes/tomatoFruit-impactassessment_pivoted.csv.impactAssessment.json +1002 -0
  101. package/test/prepare.ts +15 -0
  102. package/test/utils.ts +33 -0
  103. package/tsconfig.build.json +13 -0
  104. package/tsconfig.dist.json +14 -0
  105. package/tsconfig.json +37 -0
  106. package/tsconfig.lambdas.json +13 -0
@@ -0,0 +1,1002 @@
1
+ [
2
+ {
3
+ "@id": "tomatoFruit-benin-conventional-irrigated-2010-2019",
4
+ "startDate": 2010,
5
+ "endDate": 2019,
6
+ "product": {
7
+ "@id": "tomatoFruit",
8
+ "name": "Tomato, fruit",
9
+ "termType": "crop",
10
+ "units": "kg"
11
+ },
12
+ "functionalUnitQuantity": 1,
13
+ "allocationMethod": "none",
14
+ "organic": false,
15
+ "irrigated": true,
16
+ "dataPrivate": false,
17
+ "country": {
18
+ "@id": "GADM-BEN",
19
+ "name": "Benin"
20
+ },
21
+ "aggregated": true,
22
+ "aggregatedVersion": "0.13.2",
23
+ "name": "Tomato, fruit - Benin - Conventional, Irrigated - 2010-2019",
24
+ "productValue": 1,
25
+ "cycle": {
26
+ "@id": "tomatoFruit-benin-conventional-irrigated-2010-2019"
27
+ },
28
+ "aggregatedQualityScore": 0,
29
+ "site": {
30
+ "@id": "tomatoFruit-benin-conventional-irrigated-2010-2019"
31
+ },
32
+ "source": {
33
+ "@id": "pu2wmwp8yfv7",
34
+ "name": "Hestia Team (2023)"
35
+ },
36
+ "emissionsResourceUse": {
37
+ "112TrichlorotrifluoroethaneToAirInputsProduction": {
38
+ "value": 1.3730601550263302e-9
39
+ },
40
+ "11DichlorotetrafluoroethaneToAirInputsProduction": {
41
+ "value": 3.3898269776462424e-8
42
+ },
43
+ "bod5ToWaterIndustrialProcesses": {
44
+ "value": 0
45
+ },
46
+ "bod5ToWaterInputsProduction": {
47
+ "value": 0
48
+ },
49
+ "bromochlorodifluoromethaneToAirInputsProduction": {
50
+ "value": 1.7420619157571513e-8
51
+ },
52
+ "ch4ToAirAquacultureSystems": {
53
+ "value": 0
54
+ },
55
+ "ch4ToAirCropResidueBurning": {
56
+ "value": 0
57
+ },
58
+ "ch4ToAirEntericFermentation": {
59
+ "value": 0
60
+ },
61
+ "ch4ToAirFloodedRice": {
62
+ "value": 0
63
+ },
64
+ "ch4ToAirInputsProductionFossil": {
65
+ "value": 0.0141839624507919
66
+ },
67
+ "ch4ToAirInputsProductionNonFossil": {
68
+ "value": 0.0001724322995355
69
+ },
70
+ "ch4ToAirNaturalVegetationBurning": {
71
+ "value": 0.0308237324655564
72
+ },
73
+ "chlorodifluoromethaneToAirInputsProduction": {
74
+ "value": 1.3226132667868826e-7
75
+ },
76
+ "co2ToAirFuelCombustion": {
77
+ "value": 0
78
+ },
79
+ "co2ToAirInputsProduction": {
80
+ "value": 14.895722305470182
81
+ },
82
+ "co2ToAirLimeHydrolysis": {
83
+ "value": 0
84
+ },
85
+ "co2ToAirOrganicSoilCultivation": {
86
+ "value": 0
87
+ },
88
+ "co2ToAirSoilCarbonStockChange": {
89
+ "value": 38.94612422460602
90
+ },
91
+ "co2ToAirUreaHydrolysis": {
92
+ "value": 0.0105115628342899
93
+ },
94
+ "codToWaterIndustrialProcesses": {
95
+ "value": 0
96
+ },
97
+ "codToWaterInputsProduction": {
98
+ "value": 0
99
+ },
100
+ "dichlorodifluoromethaneToAirInputsProduction": {
101
+ "value": 4.75712274887783e-8
102
+ },
103
+ "freshwaterWithdrawalsDuringCycle": {
104
+ "value": 19376.896615459314
105
+ },
106
+ "freshwaterWithdrawalsInputsProduction": {
107
+ "value": 90237.87008387092
108
+ },
109
+ "h2SToAirIndustrialProcesses": {
110
+ "value": 0
111
+ },
112
+ "h2SToAirInputsProduction": {
113
+ "value": 0
114
+ },
115
+ "hexaneToAirIndustrialProcesses": {
116
+ "value": 0
117
+ },
118
+ "hexaneToAirInputsProduction": {
119
+ "value": 0
120
+ },
121
+ "landOccupationDuringCycle": {
122
+ "value": 42.45693177073894
123
+ },
124
+ "landOccupationInputsProduction": {
125
+ "value": 15.589887707940536
126
+ },
127
+ "landTransformationFromForest100YearAverageDuringCycle": {
128
+ "value": 25.033958568098942
129
+ },
130
+ "landTransformationFromForest100YearAverageInputsProduction": {
131
+ "value": 9.177461965543852
132
+ },
133
+ "landTransformationFromForest20YearAverageDuringCycle": {
134
+ "value": 0
135
+ },
136
+ "landTransformationFromForest20YearAverageInputsProduction": {
137
+ "value": 0
138
+ },
139
+ "landTransformationFromOtherNaturalVegetation100YearAverageDuringCycle": {
140
+ "value": 6.263046487649649
141
+ },
142
+ "landTransformationFromOtherNaturalVegetation100YearAverageInputsProduction": {
143
+ "value": 2.296199034500813
144
+ },
145
+ "landTransformationFromOtherNaturalVegetation20YearAverageDuringCycle": {
146
+ "value": 0
147
+ },
148
+ "landTransformationFromOtherNaturalVegetation20YearAverageInputsProduction": {
149
+ "value": 0
150
+ },
151
+ "landTransformationFromPermanentPasture100YearAverageDuringCycle": {
152
+ "value": 0
153
+ },
154
+ "landTransformationFromPermanentPasture100YearAverageInputsProduction": {
155
+ "value": 0
156
+ },
157
+ "landTransformationFromPermanentPasture20YearAverageDuringCycle": {
158
+ "value": 0
159
+ },
160
+ "landTransformationFromPermanentPasture20YearAverageInputsProduction": {
161
+ "value": 0
162
+ },
163
+ "n2OToAirAquacultureSystemsDirect": {
164
+ "value": 0
165
+ },
166
+ "n2OToAirAquacultureSystemsIndirect": {
167
+ "value": 0
168
+ },
169
+ "n2OToAirCropResidueBurningDirect": {
170
+ "value": 0
171
+ },
172
+ "n2OToAirCropResidueDecompositionDirect": {
173
+ "value": 0.000016051856518
174
+ },
175
+ "n2OToAirCropResidueDecompositionIndirect": {
176
+ "value": 9.890146686696564e-7
177
+ },
178
+ "n2OToAirExcretaDirect": {
179
+ "value": 0
180
+ },
181
+ "n2OToAirExcretaIndirect": {
182
+ "value": 0
183
+ },
184
+ "n2OToAirFuelCombustionDirect": {
185
+ "value": 0
186
+ },
187
+ "n2OToAirInorganicFertiliserDirect": {
188
+ "value": 0.0240812084134477
189
+ },
190
+ "n2OToAirInorganicFertiliserIndirect": {
191
+ "value": 0.0023875508971037
192
+ },
193
+ "n2OToAirInputsProduction": {
194
+ "value": 0.509311624342079
195
+ },
196
+ "n2OToAirNaturalVegetationBurningDirect": {
197
+ "value": 0.0009043326467167
198
+ },
199
+ "n2OToAirOrganicFertiliserDirect": {
200
+ "value": 0.0795620698041917
201
+ },
202
+ "n2OToAirOrganicFertiliserIndirect": {
203
+ "value": 0.0165100068490152
204
+ },
205
+ "n2OToAirOrganicSoilCultivationDirect": {
206
+ "value": 0
207
+ },
208
+ "n2ToAirAquacultureSystems": {
209
+ "value": 0
210
+ },
211
+ "nErosionSoilFlux": {
212
+ "value": 0.2492195485007719
213
+ },
214
+ "nToSurfaceWaterAquacultureSystems": {
215
+ "value": 0
216
+ },
217
+ "nToSurfaceWaterInputsProduction": {
218
+ "value": 0
219
+ },
220
+ "nh3ToAirAquacultureSystems": {
221
+ "value": 0
222
+ },
223
+ "nh3ToAirCropResidueBurning": {
224
+ "value": 0
225
+ },
226
+ "nh3ToAirCropResidueDecomposition": {
227
+ "value": 0
228
+ },
229
+ "nh3ToAirInorganicFertiliser": {
230
+ "value": 0.0401950873008768
231
+ },
232
+ "nh3ToAirInputsProduction": {
233
+ "value": 5.121523486046508
234
+ },
235
+ "nh3ToAirOrganicFertiliser": {
236
+ "value": 0.6272319957157546
237
+ },
238
+ "nh4ToSurfaceWaterAquacultureSystems": {
239
+ "value": 0
240
+ },
241
+ "nh4ToSurfaceWaterInputsProduction": {
242
+ "value": 0
243
+ },
244
+ "nmvocToAirAnimalHousing": {
245
+ "value": 0
246
+ },
247
+ "nmvocToAirInputsProduction": {
248
+ "value": 0
249
+ },
250
+ "nmvocToAirSilageFeeding": {
251
+ "value": 0
252
+ },
253
+ "no3ToGroundwaterCropResidueDecomposition": {
254
+ "value": 0.0003289154453385
255
+ },
256
+ "no3ToGroundwaterExcreta": {
257
+ "value": 0
258
+ },
259
+ "no3ToGroundwaterInorganicFertiliser": {
260
+ "value": 0.6245696435350059
261
+ },
262
+ "no3ToGroundwaterInputsProduction": {
263
+ "value": 24.122195464456123
264
+ },
265
+ "no3ToGroundwaterOrganicFertiliser": {
266
+ "value": 2.8274862361797988
267
+ },
268
+ "no3ToSurfaceWaterAquacultureSystems": {
269
+ "value": 0
270
+ },
271
+ "no3ToSurfaceWaterIndustrialProcesses": {
272
+ "value": 0
273
+ },
274
+ "no3ToSurfaceWaterInputsProduction": {
275
+ "value": 0
276
+ },
277
+ "noToAirAquacultureSystems": {
278
+ "value": 0
279
+ },
280
+ "noToAirInputsProduction": {
281
+ "value": 0
282
+ },
283
+ "noxToAirAquacultureSystems": {
284
+ "value": 0
285
+ },
286
+ "noxToAirCropResidueBurning": {
287
+ "value": 0
288
+ },
289
+ "noxToAirCropResidueDecomposition": {
290
+ "value": 0.0000154721198522
291
+ },
292
+ "noxToAirExcreta": {
293
+ "value": 0
294
+ },
295
+ "noxToAirFuelCombustion": {
296
+ "value": 0
297
+ },
298
+ "noxToAirInorganicFertiliser": {
299
+ "value": 0.0280374533312612
300
+ },
301
+ "noxToAirInputsProduction": {
302
+ "value": 1.2362225326852996
303
+ },
304
+ "noxToAirOrganicFertiliser": {
305
+ "value": 0.1198206319948704
306
+ },
307
+ "pErosionSoilFlux": {
308
+ "value": 0.0842526417169486
309
+ },
310
+ "pToDrainageWaterInputsProduction": {
311
+ "value": 0.0000380670804242
312
+ },
313
+ "pToDrainageWaterSoilFlux": {
314
+ "value": 0.0000380670804242
315
+ },
316
+ "pToGroundwaterInputsProduction": {
317
+ "value": 0.0013338161427976
318
+ },
319
+ "pToGroundwaterSoilFlux": {
320
+ "value": 0.0013338161427976
321
+ },
322
+ "pToSurfaceWaterAquacultureSystems": {
323
+ "value": 0
324
+ },
325
+ "pToSurfaceWaterInputsProduction": {
326
+ "value": 0
327
+ },
328
+ "pToSurfaceWaterSoilFlux": {
329
+ "value": 0
330
+ },
331
+ "pm10ToAirAnimalHousing": {
332
+ "value": 0
333
+ },
334
+ "pm10ToAirInputsProduction": {
335
+ "value": 0
336
+ },
337
+ "pm25ToAirAnimalHousing": {
338
+ "value": 0
339
+ },
340
+ "pm25ToAirInputsProduction": {
341
+ "value": 0
342
+ },
343
+ "po43ToSurfaceWaterAquacultureSystems": {
344
+ "value": 0
345
+ },
346
+ "po43ToSurfaceWaterInputsProduction": {
347
+ "value": 0
348
+ },
349
+ "so2ToAirFuelCombustion": {
350
+ "value": 0
351
+ },
352
+ "so2ToAirInputsProduction": {
353
+ "value": 0.0289647566068297
354
+ }
355
+ },
356
+ "endpoints": {
357
+ "damageToFreshwaterEcosystemsPdfYear": {
358
+ "value": 13.944998233962922
359
+ },
360
+ "damageToFreshwaterEcosystemsSpeciesYear": {
361
+ "value": 5.8912745887688895e-8
362
+ },
363
+ "damageToHumanHealth": {
364
+ "value": 0.000002700907784
365
+ },
366
+ "damageToMarineEcosystemsPdfYear": {
367
+ "value": 62.77779375441133
368
+ },
369
+ "damageToMarineEcosystemsSpeciesYear": {
370
+ "value": 6.170263031838854e-9
371
+ },
372
+ "damageToResourceAvailability": {
373
+ "value": 0
374
+ },
375
+ "damageToTerrestrialEcosystemsPdfYear": {
376
+ "value": 13.944998233966537
377
+ },
378
+ "damageToTerrestrialEcosystemsSpeciesYear": {
379
+ "value": 0.000004282256976
380
+ }
381
+ },
382
+ "impacts": {
383
+ "damageToFreshwaterEcosystemsClimateChange": {
384
+ "value": 5.063056728374228e-13
385
+ },
386
+ "damageToFreshwaterEcosystemsFreshwaterEcotoxicity": {
387
+ "value": 19.522997527545375
388
+ },
389
+ "damageToFreshwaterEcosystemsFreshwaterEutrophication": {
390
+ "value": 2.957877877555343e-13
391
+ },
392
+ "damageToFreshwaterEcosystemsWaterStress": {
393
+ "value": 1.1365173725385124e-12
394
+ },
395
+ "damageToHumanHealthClimateChange": {
396
+ "value": 0.0012997899961152
397
+ },
398
+ "damageToHumanHealthHumanToxicityCancerogenic": {
399
+ "value": 0
400
+ },
401
+ "damageToHumanHealthHumanToxicityNonCancerogenic": {
402
+ "value": 0.0000024603976344
403
+ },
404
+ "damageToHumanHealthParticulateMatterFormation": {
405
+ "value": 0.0000928713995551
406
+ },
407
+ "damageToHumanHealthPhotochemicalOzoneFormation": {
408
+ "value": 0.0000033218306163
409
+ },
410
+ "damageToHumanHealthStratosphericOzoneDepletion": {
411
+ "value": 0.000014490792903
412
+ },
413
+ "damageToHumanHealthWaterStress": {
414
+ "value": 0.000010995238018
415
+ },
416
+ "damageToMarineEcosystemsMarineEcotoxicity": {
417
+ "value": 87.88891125617587
418
+ },
419
+ "damageToMarineEcosystemsMarineEutrophication": {
420
+ "value": 8.572909309716976e-16
421
+ },
422
+ "damageToTerrestrialEcosystemsClimateChange": {
423
+ "value": 1.6335294996126197e-12
424
+ },
425
+ "damageToTerrestrialEcosystemsLandOccupation": {
426
+ "value": 3.916897386884988e-12
427
+ },
428
+ "damageToTerrestrialEcosystemsLandTransformation": {
429
+ "value": 0
430
+ },
431
+ "damageToTerrestrialEcosystemsPhotochemicalOzoneFormation": {
432
+ "value": 3.3218306163150797e-16
433
+ },
434
+ "damageToTerrestrialEcosystemsTerrestrialAcidification": {
435
+ "value": 0
436
+ },
437
+ "damageToTerrestrialEcosystemsTerrestrialEcotoxicity": {
438
+ "value": 19.522997527545375
439
+ },
440
+ "damageToTerrestrialEcosystemsTotalLandUseEffects": {
441
+ "value": 4.96887561710467e-12
442
+ },
443
+ "ecosystemDamageOzoneFormation": {
444
+ "value": 1.3840960901312835
445
+ },
446
+ "eutrophicationPotentialExcludingFate": {
447
+ "value": 5.505253371333509
448
+ },
449
+ "eutrophicationPotentialIncludingFateAverageEurope": {
450
+ "value": 26.55340275512904
451
+ },
452
+ "fossilResourceScarcity": {
453
+ "value": 0
454
+ },
455
+ "freshwaterAquaticEcotoxicityPotential14Dcbeq": {
456
+ "value": 1.0840552720483292
457
+ },
458
+ "freshwaterEcotoxicityPotentialPaf": {
459
+ "value": 10.452245874065447
460
+ },
461
+ "freshwaterEutrophicationPotential": {
462
+ "value": 0.0869964081633924
463
+ },
464
+ "gwp100": {
465
+ "value": 227.86129454089428
466
+ },
467
+ "humanCarcinogenicToxicity": {
468
+ "value": 0
469
+ },
470
+ "humanDamageOzoneFormation": {
471
+ "value": 1.3840960901312835
472
+ },
473
+ "humanNonCarcinogenicToxicity": {
474
+ "value": 2.404177644173995
475
+ },
476
+ "marineAquaticEcotoxicityPotential14Dcbeq": {
477
+ "value": 2.508366363217021
478
+ },
479
+ "marineEutrophicationPotential": {
480
+ "value": 3.51890326741034
481
+ },
482
+ "ozoneDepletionPotential": {
483
+ "value": 0.0044297166242827
484
+ },
485
+ "scarcityWeightedWaterUse": {
486
+ "value": 184237.72226845424
487
+ },
488
+ "terrestrialAcidificationPotential": {
489
+ "value": 19.31871913451424
490
+ },
491
+ "terrestrialAcidificationPotentialExcludingFate": {
492
+ "value": 11.88105908953743
493
+ },
494
+ "terrestrialAcidificationPotentialIncludingFateAverageEurope": {
495
+ "value": 9.98912666349486
496
+ },
497
+ "terrestrialEcotoxicityPotential14Dcbeq": {
498
+ "value": 999.6643420021984
499
+ }
500
+ }
501
+ },
502
+ {
503
+ "@id": "tomatoFruit-benin-2010-2019",
504
+ "startDate": 2010,
505
+ "endDate": 2019,
506
+ "product": {
507
+ "@id": "tomatoFruit",
508
+ "name": "Tomato, fruit",
509
+ "termType": "crop",
510
+ "units": "kg"
511
+ },
512
+ "functionalUnitQuantity": 1,
513
+ "allocationMethod": "none",
514
+ "organic": false,
515
+ "irrigated": false,
516
+ "dataPrivate": false,
517
+ "country": {
518
+ "@id": "GADM-BEN",
519
+ "name": "Benin"
520
+ },
521
+ "aggregated": true,
522
+ "aggregatedVersion": "0.13.2",
523
+ "name": "Tomato, fruit - Benin - 2010-2019",
524
+ "productValue": 1,
525
+ "cycle": {
526
+ "@id": "tomatoFruit-benin-2010-2019"
527
+ },
528
+ "aggregatedQualityScore": 0,
529
+ "site": {
530
+ "@id": "tomatoFruit-benin-2010-2019"
531
+ },
532
+ "source": {
533
+ "@id": "pu2wmwp8yfv7",
534
+ "name": "Hestia Team (2023)"
535
+ },
536
+ "emissionsResourceUse": {
537
+ "112TrichlorotrifluoroethaneToAirInputsProduction": {
538
+ "value": 1.3730601550263302e-9
539
+ },
540
+ "11DichlorotetrafluoroethaneToAirInputsProduction": {
541
+ "value": 3.3898269776462424e-8
542
+ },
543
+ "bod5ToWaterIndustrialProcesses": {
544
+ "value": 0
545
+ },
546
+ "bod5ToWaterInputsProduction": {
547
+ "value": 0
548
+ },
549
+ "bromochlorodifluoromethaneToAirInputsProduction": {
550
+ "value": 1.7420619157571513e-8
551
+ },
552
+ "ch4ToAirAquacultureSystems": {
553
+ "value": 0
554
+ },
555
+ "ch4ToAirCropResidueBurning": {
556
+ "value": 0
557
+ },
558
+ "ch4ToAirEntericFermentation": {
559
+ "value": 0
560
+ },
561
+ "ch4ToAirFloodedRice": {
562
+ "value": 0
563
+ },
564
+ "ch4ToAirInputsProductionFossil": {
565
+ "value": 0.0141839624507919
566
+ },
567
+ "ch4ToAirInputsProductionNonFossil": {
568
+ "value": 0.0001724322995355
569
+ },
570
+ "ch4ToAirNaturalVegetationBurning": {
571
+ "value": 0.0308237324655564
572
+ },
573
+ "chlorodifluoromethaneToAirInputsProduction": {
574
+ "value": 1.3226132667868826e-7
575
+ },
576
+ "co2ToAirFuelCombustion": {
577
+ "value": 0
578
+ },
579
+ "co2ToAirInputsProduction": {
580
+ "value": 14.89572230547018
581
+ },
582
+ "co2ToAirLimeHydrolysis": {
583
+ "value": 0
584
+ },
585
+ "co2ToAirOrganicSoilCultivation": {
586
+ "value": 0
587
+ },
588
+ "co2ToAirSoilCarbonStockChange": {
589
+ "value": 38.94612422460602
590
+ },
591
+ "co2ToAirUreaHydrolysis": {
592
+ "value": 0.0105115628342899
593
+ },
594
+ "codToWaterIndustrialProcesses": {
595
+ "value": 0
596
+ },
597
+ "codToWaterInputsProduction": {
598
+ "value": 0
599
+ },
600
+ "dichlorodifluoromethaneToAirInputsProduction": {
601
+ "value": 4.75712274887783e-8
602
+ },
603
+ "freshwaterWithdrawalsDuringCycle": {
604
+ "value": 19376.896615459314
605
+ },
606
+ "freshwaterWithdrawalsInputsProduction": {
607
+ "value": 90237.87008387092
608
+ },
609
+ "h2SToAirIndustrialProcesses": {
610
+ "value": 0
611
+ },
612
+ "h2SToAirInputsProduction": {
613
+ "value": 0
614
+ },
615
+ "hexaneToAirIndustrialProcesses": {
616
+ "value": 0
617
+ },
618
+ "hexaneToAirInputsProduction": {
619
+ "value": 0
620
+ },
621
+ "landOccupationDuringCycle": {
622
+ "value": 42.45693177073894
623
+ },
624
+ "landOccupationInputsProduction": {
625
+ "value": 15.589887707940536
626
+ },
627
+ "landTransformationFromForest100YearAverageDuringCycle": {
628
+ "value": 25.033958568098942
629
+ },
630
+ "landTransformationFromForest100YearAverageInputsProduction": {
631
+ "value": 9.177461965543852
632
+ },
633
+ "landTransformationFromForest20YearAverageDuringCycle": {
634
+ "value": 0
635
+ },
636
+ "landTransformationFromForest20YearAverageInputsProduction": {
637
+ "value": 0
638
+ },
639
+ "landTransformationFromOtherNaturalVegetation100YearAverageDuringCycle": {
640
+ "value": 6.263046487649649
641
+ },
642
+ "landTransformationFromOtherNaturalVegetation100YearAverageInputsProduction": {
643
+ "value": 2.296199034500813
644
+ },
645
+ "landTransformationFromOtherNaturalVegetation20YearAverageDuringCycle": {
646
+ "value": 0
647
+ },
648
+ "landTransformationFromOtherNaturalVegetation20YearAverageInputsProduction": {
649
+ "value": 0
650
+ },
651
+ "landTransformationFromPermanentPasture100YearAverageDuringCycle": {
652
+ "value": 0
653
+ },
654
+ "landTransformationFromPermanentPasture100YearAverageInputsProduction": {
655
+ "value": 0
656
+ },
657
+ "landTransformationFromPermanentPasture20YearAverageDuringCycle": {
658
+ "value": 0
659
+ },
660
+ "landTransformationFromPermanentPasture20YearAverageInputsProduction": {
661
+ "value": 0
662
+ },
663
+ "n2OToAirAquacultureSystemsDirect": {
664
+ "value": 0
665
+ },
666
+ "n2OToAirAquacultureSystemsIndirect": {
667
+ "value": 0
668
+ },
669
+ "n2OToAirCropResidueBurningDirect": {
670
+ "value": 0
671
+ },
672
+ "n2OToAirCropResidueDecompositionDirect": {
673
+ "value": 0.000016051856518
674
+ },
675
+ "n2OToAirCropResidueDecompositionIndirect": {
676
+ "value": 9.890146686696564e-7
677
+ },
678
+ "n2OToAirExcretaDirect": {
679
+ "value": 0
680
+ },
681
+ "n2OToAirExcretaIndirect": {
682
+ "value": 0
683
+ },
684
+ "n2OToAirFuelCombustionDirect": {
685
+ "value": 0
686
+ },
687
+ "n2OToAirInorganicFertiliserDirect": {
688
+ "value": 0.0240812084134477
689
+ },
690
+ "n2OToAirInorganicFertiliserIndirect": {
691
+ "value": 0.0023875508971037
692
+ },
693
+ "n2OToAirInputsProduction": {
694
+ "value": 0.509311624342079
695
+ },
696
+ "n2OToAirNaturalVegetationBurningDirect": {
697
+ "value": 0.0009043326467167
698
+ },
699
+ "n2OToAirOrganicFertiliserDirect": {
700
+ "value": 0.0795620698041917
701
+ },
702
+ "n2OToAirOrganicFertiliserIndirect": {
703
+ "value": 0.0165100068490152
704
+ },
705
+ "n2OToAirOrganicSoilCultivationDirect": {
706
+ "value": 0
707
+ },
708
+ "n2ToAirAquacultureSystems": {
709
+ "value": 0
710
+ },
711
+ "nErosionSoilFlux": {
712
+ "value": 0.249219548500772
713
+ },
714
+ "nToSurfaceWaterAquacultureSystems": {
715
+ "value": 0
716
+ },
717
+ "nToSurfaceWaterInputsProduction": {
718
+ "value": 0
719
+ },
720
+ "nh3ToAirAquacultureSystems": {
721
+ "value": 0
722
+ },
723
+ "nh3ToAirCropResidueBurning": {
724
+ "value": 0
725
+ },
726
+ "nh3ToAirCropResidueDecomposition": {
727
+ "value": 0
728
+ },
729
+ "nh3ToAirInorganicFertiliser": {
730
+ "value": 0.0401950873008768
731
+ },
732
+ "nh3ToAirInputsProduction": {
733
+ "value": 5.121523486046508
734
+ },
735
+ "nh3ToAirOrganicFertiliser": {
736
+ "value": 0.6272319957157546
737
+ },
738
+ "nh4ToSurfaceWaterAquacultureSystems": {
739
+ "value": 0
740
+ },
741
+ "nh4ToSurfaceWaterInputsProduction": {
742
+ "value": 0
743
+ },
744
+ "nmvocToAirAnimalHousing": {
745
+ "value": 0
746
+ },
747
+ "nmvocToAirInputsProduction": {
748
+ "value": 0
749
+ },
750
+ "nmvocToAirSilageFeeding": {
751
+ "value": 0
752
+ },
753
+ "no3ToGroundwaterCropResidueDecomposition": {
754
+ "value": 0.0003289154453385
755
+ },
756
+ "no3ToGroundwaterExcreta": {
757
+ "value": 0
758
+ },
759
+ "no3ToGroundwaterInorganicFertiliser": {
760
+ "value": 0.6245696435350059
761
+ },
762
+ "no3ToGroundwaterInputsProduction": {
763
+ "value": 24.122195464456123
764
+ },
765
+ "no3ToGroundwaterOrganicFertiliser": {
766
+ "value": 2.8274862361797988
767
+ },
768
+ "no3ToSurfaceWaterAquacultureSystems": {
769
+ "value": 0
770
+ },
771
+ "no3ToSurfaceWaterIndustrialProcesses": {
772
+ "value": 0
773
+ },
774
+ "no3ToSurfaceWaterInputsProduction": {
775
+ "value": 0
776
+ },
777
+ "noToAirAquacultureSystems": {
778
+ "value": 0
779
+ },
780
+ "noToAirInputsProduction": {
781
+ "value": 0
782
+ },
783
+ "noxToAirAquacultureSystems": {
784
+ "value": 0
785
+ },
786
+ "noxToAirCropResidueBurning": {
787
+ "value": 0
788
+ },
789
+ "noxToAirCropResidueDecomposition": {
790
+ "value": 0.0000154721198522
791
+ },
792
+ "noxToAirExcreta": {
793
+ "value": 0
794
+ },
795
+ "noxToAirFuelCombustion": {
796
+ "value": 0
797
+ },
798
+ "noxToAirInorganicFertiliser": {
799
+ "value": 0.0280374533312612
800
+ },
801
+ "noxToAirInputsProduction": {
802
+ "value": 1.2362225326852996
803
+ },
804
+ "noxToAirOrganicFertiliser": {
805
+ "value": 0.1198206319948704
806
+ },
807
+ "pErosionSoilFlux": {
808
+ "value": 0.0842526417169486
809
+ },
810
+ "pToDrainageWaterInputsProduction": {
811
+ "value": 0.0000380670804242
812
+ },
813
+ "pToDrainageWaterSoilFlux": {
814
+ "value": 0.0000380670804242
815
+ },
816
+ "pToGroundwaterInputsProduction": {
817
+ "value": 0.0013338161427976
818
+ },
819
+ "pToGroundwaterSoilFlux": {
820
+ "value": 0.0013338161427976
821
+ },
822
+ "pToSurfaceWaterAquacultureSystems": {
823
+ "value": 0
824
+ },
825
+ "pToSurfaceWaterInputsProduction": {
826
+ "value": 0
827
+ },
828
+ "pToSurfaceWaterSoilFlux": {
829
+ "value": 0
830
+ },
831
+ "pm10ToAirAnimalHousing": {
832
+ "value": 0
833
+ },
834
+ "pm10ToAirInputsProduction": {
835
+ "value": 0
836
+ },
837
+ "pm25ToAirAnimalHousing": {
838
+ "value": 0
839
+ },
840
+ "pm25ToAirInputsProduction": {
841
+ "value": 0
842
+ },
843
+ "po43ToSurfaceWaterAquacultureSystems": {
844
+ "value": 0
845
+ },
846
+ "po43ToSurfaceWaterInputsProduction": {
847
+ "value": 0
848
+ },
849
+ "so2ToAirFuelCombustion": {
850
+ "value": 0
851
+ },
852
+ "so2ToAirInputsProduction": {
853
+ "value": 0.0289647566068297
854
+ }
855
+ },
856
+ "endpoints": {
857
+ "damageToFreshwaterEcosystemsPdfYear": {
858
+ "value": 13.944998233962922
859
+ },
860
+ "damageToFreshwaterEcosystemsSpeciesYear": {
861
+ "value": 5.89127458876889e-8
862
+ },
863
+ "damageToHumanHealth": {
864
+ "value": 0.000002700907784
865
+ },
866
+ "damageToMarineEcosystemsPdfYear": {
867
+ "value": 62.77779375441133
868
+ },
869
+ "damageToMarineEcosystemsSpeciesYear": {
870
+ "value": 6.170263031838854e-9
871
+ },
872
+ "damageToResourceAvailability": {
873
+ "value": 0
874
+ },
875
+ "damageToTerrestrialEcosystemsPdfYear": {
876
+ "value": 13.944998233966537
877
+ },
878
+ "damageToTerrestrialEcosystemsSpeciesYear": {
879
+ "value": 0.000004282256976
880
+ }
881
+ },
882
+ "impacts": {
883
+ "damageToFreshwaterEcosystemsClimateChange": {
884
+ "value": 5.063056728374228e-13
885
+ },
886
+ "damageToFreshwaterEcosystemsFreshwaterEcotoxicity": {
887
+ "value": 19.522997527545375
888
+ },
889
+ "damageToFreshwaterEcosystemsFreshwaterEutrophication": {
890
+ "value": 2.957877877555343e-13
891
+ },
892
+ "damageToFreshwaterEcosystemsWaterStress": {
893
+ "value": 1.1365173725385124e-12
894
+ },
895
+ "damageToHumanHealthClimateChange": {
896
+ "value": 0.0012997899961152
897
+ },
898
+ "damageToHumanHealthHumanToxicityCancerogenic": {
899
+ "value": 0
900
+ },
901
+ "damageToHumanHealthHumanToxicityNonCancerogenic": {
902
+ "value": 0.0000024603976344
903
+ },
904
+ "damageToHumanHealthParticulateMatterFormation": {
905
+ "value": 0.0000928713995551
906
+ },
907
+ "damageToHumanHealthPhotochemicalOzoneFormation": {
908
+ "value": 0.0000033218306163
909
+ },
910
+ "damageToHumanHealthStratosphericOzoneDepletion": {
911
+ "value": 0.000014490792903
912
+ },
913
+ "damageToHumanHealthWaterStress": {
914
+ "value": 0.000010995238018
915
+ },
916
+ "damageToMarineEcosystemsMarineEcotoxicity": {
917
+ "value": 87.88891125617587
918
+ },
919
+ "damageToMarineEcosystemsMarineEutrophication": {
920
+ "value": 8.572909309716976e-16
921
+ },
922
+ "damageToTerrestrialEcosystemsClimateChange": {
923
+ "value": 1.6335294996126197e-12
924
+ },
925
+ "damageToTerrestrialEcosystemsLandOccupation": {
926
+ "value": 3.916897386884988e-12
927
+ },
928
+ "damageToTerrestrialEcosystemsLandTransformation": {
929
+ "value": 0
930
+ },
931
+ "damageToTerrestrialEcosystemsPhotochemicalOzoneFormation": {
932
+ "value": 3.3218306163150797e-16
933
+ },
934
+ "damageToTerrestrialEcosystemsTerrestrialAcidification": {
935
+ "value": 0
936
+ },
937
+ "damageToTerrestrialEcosystemsTerrestrialEcotoxicity": {
938
+ "value": 19.522997527545375
939
+ },
940
+ "damageToTerrestrialEcosystemsTotalLandUseEffects": {
941
+ "value": 4.96887561710467e-12
942
+ },
943
+ "ecosystemDamageOzoneFormation": {
944
+ "value": 1.3840960901312835
945
+ },
946
+ "eutrophicationPotentialExcludingFate": {
947
+ "value": 5.505253371333509
948
+ },
949
+ "eutrophicationPotentialIncludingFateAverageEurope": {
950
+ "value": 26.55340275512904
951
+ },
952
+ "fossilResourceScarcity": {
953
+ "value": 0
954
+ },
955
+ "freshwaterAquaticEcotoxicityPotential14Dcbeq": {
956
+ "value": 1.0840552720483292
957
+ },
958
+ "freshwaterEcotoxicityPotentialPaf": {
959
+ "value": 10.452245874065447
960
+ },
961
+ "freshwaterEutrophicationPotential": {
962
+ "value": 0.0869964081633924
963
+ },
964
+ "gwp100": {
965
+ "value": 227.86129454089428
966
+ },
967
+ "humanCarcinogenicToxicity": {
968
+ "value": 0
969
+ },
970
+ "humanDamageOzoneFormation": {
971
+ "value": 1.3840960901312835
972
+ },
973
+ "humanNonCarcinogenicToxicity": {
974
+ "value": 2.404177644173995
975
+ },
976
+ "marineAquaticEcotoxicityPotential14Dcbeq": {
977
+ "value": 2.508366363217021
978
+ },
979
+ "marineEutrophicationPotential": {
980
+ "value": 3.51890326741034
981
+ },
982
+ "ozoneDepletionPotential": {
983
+ "value": 0.0044297166242827
984
+ },
985
+ "scarcityWeightedWaterUse": {
986
+ "value": 184237.72226845424
987
+ },
988
+ "terrestrialAcidificationPotential": {
989
+ "value": 19.31871913451424
990
+ },
991
+ "terrestrialAcidificationPotentialExcludingFate": {
992
+ "value": 11.88105908953743
993
+ },
994
+ "terrestrialAcidificationPotentialIncludingFateAverageEurope": {
995
+ "value": 9.98912666349486
996
+ },
997
+ "terrestrialEcotoxicityPotential14Dcbeq": {
998
+ "value": 999.6643420021984
999
+ }
1000
+ }
1001
+ }
1002
+ ]