@digital4better/data 1.0.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 (35) hide show
  1. package/LICENCE +540 -0
  2. package/README.md +85 -0
  3. package/data/country/countries.csv +250 -0
  4. package/data/country/countries.json +1496 -0
  5. package/data/country/country-to-country-distances.csv +50626 -0
  6. package/data/country/country-to-country-distances.json +50627 -0
  7. package/data/country/user-to-datacenter-distances.csv +226 -0
  8. package/data/country/user-to-datacenter-distances.json +227 -0
  9. package/data/energy/energy-impacts.csv +10 -0
  10. package/data/energy/energy-impacts.json +101 -0
  11. package/data/factor/continent-monthly-green.csv +319 -0
  12. package/data/factor/continent-monthly-green.json +3512 -0
  13. package/data/factor/continent-monthly.csv +319 -0
  14. package/data/factor/continent-monthly.json +3512 -0
  15. package/data/factor/continent-yearly-green.csv +31 -0
  16. package/data/factor/continent-yearly-green.json +344 -0
  17. package/data/factor/continent-yearly.csv +31 -0
  18. package/data/factor/continent-yearly.json +344 -0
  19. package/data/factor/country-monthly-green.csv +11396 -0
  20. package/data/factor/country-monthly-green.json +125777 -0
  21. package/data/factor/country-monthly.csv +11396 -0
  22. package/data/factor/country-monthly.json +125777 -0
  23. package/data/factor/country-yearly-green.csv +1076 -0
  24. package/data/factor/country-yearly-green.json +12257 -0
  25. package/data/factor/country-yearly.csv +1076 -0
  26. package/data/factor/country-yearly.json +12257 -0
  27. package/data/factor/world-monthly-green.csv +54 -0
  28. package/data/factor/world-monthly-green.json +585 -0
  29. package/data/factor/world-monthly.csv +54 -0
  30. package/data/factor/world-monthly.json +585 -0
  31. package/data/factor/world-yearly-green.csv +6 -0
  32. package/data/factor/world-yearly-green.json +57 -0
  33. package/data/factor/world-yearly.csv +6 -0
  34. package/data/factor/world-yearly.json +57 -0
  35. package/package.json +28 -0
@@ -0,0 +1,57 @@
1
+ {
2
+ "2019": {
3
+ "adpe": 7.332975684147253e-7,
4
+ "ap": 0.00023785517237842648,
5
+ "ctue": 0.040396317095466365,
6
+ "ctuh-c": 1.946684908154092e-9,
7
+ "ctuh-nc": 3.556671113605136e-9,
8
+ "gwp": 0.01832963120774005,
9
+ "ir": 0.0017389418084043247,
10
+ "pm": 0.0000060661449694759014,
11
+ "wu": 0.010589726551302383
12
+ },
13
+ "2020": {
14
+ "adpe": 7.618001610964104e-7,
15
+ "ap": 0.0002339515885300707,
16
+ "ctue": 0.04080245234387892,
17
+ "ctuh-c": 1.977639011261213e-9,
18
+ "ctuh-nc": 3.5763035427958715e-9,
19
+ "gwp": 0.018298935752350195,
20
+ "ir": 0.0017757202275120673,
21
+ "pm": 0.0000058791502740221315,
22
+ "wu": 0.010550776563586165
23
+ },
24
+ "2021": {
25
+ "adpe": 7.902421702966405e-7,
26
+ "ap": 0.00023645264281647033,
27
+ "ctue": 0.04099005853246601,
28
+ "ctuh-c": 1.989620500346917e-9,
29
+ "ctuh-nc": 3.628643851647741e-9,
30
+ "gwp": 0.018449434249930265,
31
+ "ir": 0.0018168530085669807,
32
+ "pm": 0.000005924135581934398,
33
+ "wu": 0.010707219952858206
34
+ },
35
+ "2022": {
36
+ "adpe": 8.253628816338901e-7,
37
+ "ap": 0.000236012284442387,
38
+ "ctue": 0.04160780662335526,
39
+ "ctuh-c": 2.041736651371474e-9,
40
+ "ctuh-nc": 3.681371747895447e-9,
41
+ "gwp": 0.018560953426217688,
42
+ "ir": 0.001864352251468051,
43
+ "pm": 0.000005850574433632815,
44
+ "wu": 0.010810110058588595
45
+ },
46
+ "2023": {
47
+ "adpe": 8.28046558900796e-7,
48
+ "ap": 0.00022993865334068663,
49
+ "ctue": 0.04173183585494397,
50
+ "ctuh-c": 2.05844270613198e-9,
51
+ "ctuh-nc": 3.6501073967444437e-9,
52
+ "gwp": 0.018364616577818987,
53
+ "ir": 0.001861540047797887,
54
+ "pm": 0.000005631407196101136,
55
+ "wu": 0.010630728654390707
56
+ }
57
+ }
@@ -0,0 +1,6 @@
1
+ year,adpe,ap,ctue,ctuh-c,ctuh-nc,gwp,ir,pm,wu
2
+ 2019,5.569662169112316e-7,0.0010264932514312127,0.1981699048494991,0.000022918533661982884,0.000011687330250073538,0.4485021954956587,0.006814751907321314,0.000036539309266429046,0.06447186966322616
3
+ 2020,5.678983189118145e-7,0.0009972826170314255,0.1946201325965,0.000022868484033975904,0.000011661138431183326,0.44148228751590346,0.0067804955355169495,0.000035591783653292986,0.06358767911875411
4
+ 2021,5.739235943278135e-7,0.0010094898706647945,0.19586442996474138,0.000022234027603611113,0.000011338735874398752,0.44374436352864965,0.006794060866159227,0.00003555130734906969,0.06368597134375541
5
+ 2022,5.88560911332284e-7,0.0010142797064748446,0.1970021216927497,0.000021991794835736762,0.000011215839950173263,0.44480362519192734,0.0067860793990895014,0.0000354164976421043,0.06371343165405735
6
+ 2023,5.925677755220489e-7,0.0009838398750912933,0.19289295396047662,0.000022684151015377237,0.000011567183929266392,0.4348659804866812,0.006687135892906485,0.000035043279608840065,0.0627166232804275
@@ -0,0 +1,57 @@
1
+ {
2
+ "2019": {
3
+ "adpe": 5.569662169112316e-7,
4
+ "ap": 0.0010264932514312127,
5
+ "ctue": 0.1981699048494991,
6
+ "ctuh-c": 0.000022918533661982884,
7
+ "ctuh-nc": 0.000011687330250073538,
8
+ "gwp": 0.4485021954956587,
9
+ "ir": 0.006814751907321314,
10
+ "pm": 0.000036539309266429046,
11
+ "wu": 0.06447186966322616
12
+ },
13
+ "2020": {
14
+ "adpe": 5.678983189118145e-7,
15
+ "ap": 0.0009972826170314255,
16
+ "ctue": 0.1946201325965,
17
+ "ctuh-c": 0.000022868484033975904,
18
+ "ctuh-nc": 0.000011661138431183326,
19
+ "gwp": 0.44148228751590346,
20
+ "ir": 0.0067804955355169495,
21
+ "pm": 0.000035591783653292986,
22
+ "wu": 0.06358767911875411
23
+ },
24
+ "2021": {
25
+ "adpe": 5.739235943278135e-7,
26
+ "ap": 0.0010094898706647945,
27
+ "ctue": 0.19586442996474138,
28
+ "ctuh-c": 0.000022234027603611113,
29
+ "ctuh-nc": 0.000011338735874398752,
30
+ "gwp": 0.44374436352864965,
31
+ "ir": 0.006794060866159227,
32
+ "pm": 0.00003555130734906969,
33
+ "wu": 0.06368597134375541
34
+ },
35
+ "2022": {
36
+ "adpe": 5.88560911332284e-7,
37
+ "ap": 0.0010142797064748446,
38
+ "ctue": 0.1970021216927497,
39
+ "ctuh-c": 0.000021991794835736762,
40
+ "ctuh-nc": 0.000011215839950173263,
41
+ "gwp": 0.44480362519192734,
42
+ "ir": 0.0067860793990895014,
43
+ "pm": 0.0000354164976421043,
44
+ "wu": 0.06371343165405735
45
+ },
46
+ "2023": {
47
+ "adpe": 5.925677755220489e-7,
48
+ "ap": 0.0009838398750912933,
49
+ "ctue": 0.19289295396047662,
50
+ "ctuh-c": 0.000022684151015377237,
51
+ "ctuh-nc": 0.000011567183929266392,
52
+ "gwp": 0.4348659804866812,
53
+ "ir": 0.006687135892906485,
54
+ "pm": 0.000035043279608840065,
55
+ "wu": 0.0627166232804275
56
+ }
57
+ }
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@digital4better/data",
3
+ "version": "1.0.1",
4
+ "description": "Digital4Better Environmental Data",
5
+ "license": "ODbL-1.0",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/digital4better/data.git"
9
+ },
10
+ "author": "Stefan <stefan@digital4better.com>",
11
+ "scripts": {
12
+ "build": "ts-node .",
13
+ "preversion": "git add --all && git commit -m \"Data update\"",
14
+ "postversion": "git push --tags && yarn publish --access=public --tag $npm_package_version && git push"
15
+ },
16
+ "devDependencies": {
17
+ "@types/node": "^20.3.1",
18
+ "prettier": "^2.8.8",
19
+ "ts-node": "^10.9.1",
20
+ "typescript": "^5.1.3"
21
+ },
22
+ "files": [
23
+ "data/*",
24
+ "package.json",
25
+ "README.md",
26
+ "LICENSE"
27
+ ]
28
+ }