@digital4better/data 1.3.66 → 1.3.68

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 (70) hide show
  1. package/README.md +6 -0
  2. package/data/facility/factors.csv +2 -2
  3. package/data/facility/factors.json +18 -18
  4. package/data/factor/continent-monthly-green.csv +6 -0
  5. package/data/factor/continent-monthly-green.json +66 -0
  6. package/data/factor/continent-monthly.csv +6 -0
  7. package/data/factor/continent-monthly.json +66 -0
  8. package/data/factor/continent-yearly-green.csv +6 -6
  9. package/data/factor/continent-yearly-green.json +54 -54
  10. package/data/factor/continent-yearly.csv +6 -6
  11. package/data/factor/continent-yearly.json +54 -54
  12. package/data/factor/country-monthly-green.csv +213 -0
  13. package/data/factor/country-monthly-green.json +2343 -0
  14. package/data/factor/country-monthly.csv +213 -0
  15. package/data/factor/country-monthly.json +2343 -0
  16. package/data/factor/country-yearly-green.csv +85 -85
  17. package/data/factor/country-yearly-green.json +763 -763
  18. package/data/factor/country-yearly.csv +89 -89
  19. package/data/factor/country-yearly.json +767 -767
  20. package/data/factor/subdivision-monthly-green.csv +64 -0
  21. package/data/factor/subdivision-monthly-green.json +704 -0
  22. package/data/factor/subdivision-monthly.csv +64 -0
  23. package/data/factor/subdivision-monthly.json +704 -0
  24. package/data/factor/subdivision-yearly-green.csv +64 -64
  25. package/data/factor/subdivision-yearly-green.json +576 -576
  26. package/data/factor/subdivision-yearly.csv +64 -64
  27. package/data/factor/subdivision-yearly.json +576 -576
  28. package/data/factor/world-monthly-green.csv +1 -0
  29. package/data/factor/world-monthly-green.json +11 -0
  30. package/data/factor/world-monthly.csv +1 -0
  31. package/data/factor/world-monthly.json +11 -0
  32. package/data/factor/world-yearly-green.csv +1 -1
  33. package/data/factor/world-yearly-green.json +9 -9
  34. package/data/factor/world-yearly.csv +1 -1
  35. package/data/factor/world-yearly.json +9 -9
  36. package/data/mix/continent-monthly-green.csv +6 -0
  37. package/data/mix/continent-monthly-green.json +36 -0
  38. package/data/mix/continent-monthly.csv +6 -0
  39. package/data/mix/continent-monthly.json +66 -0
  40. package/data/mix/continent-yearly-green.csv +6 -6
  41. package/data/mix/continent-yearly-green.json +20 -20
  42. package/data/mix/continent-yearly.csv +6 -6
  43. package/data/mix/continent-yearly.json +33 -33
  44. package/data/mix/country-monthly-green.csv +213 -0
  45. package/data/mix/country-monthly-green.json +1278 -0
  46. package/data/mix/country-monthly.csv +213 -0
  47. package/data/mix/country-monthly.json +2343 -0
  48. package/data/mix/country-yearly-green.csv +82 -82
  49. package/data/mix/country-yearly-green.json +285 -285
  50. package/data/mix/country-yearly.csv +82 -82
  51. package/data/mix/country-yearly.json +508 -508
  52. package/data/mix/subdivision-monthly-green.csv +64 -0
  53. package/data/mix/subdivision-monthly-green.json +384 -0
  54. package/data/mix/subdivision-monthly.csv +64 -0
  55. package/data/mix/subdivision-monthly.json +704 -0
  56. package/data/mix/subdivision-yearly-green.csv +64 -64
  57. package/data/mix/subdivision-yearly-green.json +212 -212
  58. package/data/mix/subdivision-yearly.csv +64 -64
  59. package/data/mix/subdivision-yearly.json +359 -359
  60. package/data/mix/world-monthly-green.csv +1 -0
  61. package/data/mix/world-monthly-green.json +6 -0
  62. package/data/mix/world-monthly.csv +1 -0
  63. package/data/mix/world-monthly.json +11 -0
  64. package/data/mix/world-yearly-green.csv +1 -1
  65. package/data/mix/world-yearly-green.json +4 -4
  66. package/data/mix/world-yearly.csv +1 -1
  67. package/data/mix/world-yearly.json +7 -7
  68. package/llms-full.txt +239 -0
  69. package/llms.txt +31 -0
  70. package/package.json +4 -2
@@ -92,3 +92,4 @@ period,Bioenergy,Hydro,Solar,Wind
92
92
  2026-07,0.0509,0.4976,0.2661,0.1853
93
93
  2026-08,0.0509,0.4976,0.2661,0.1853
94
94
  2026-09,0.0509,0.4976,0.2661,0.1853
95
+ 2026-10,0.0509,0.4976,0.2661,0.1853
@@ -556,5 +556,11 @@
556
556
  "Hydro": 0.4976,
557
557
  "Solar": 0.2661,
558
558
  "Wind": 0.1853
559
+ },
560
+ "2026-10": {
561
+ "Bioenergy": 0.0509,
562
+ "Hydro": 0.4976,
563
+ "Solar": 0.2661,
564
+ "Wind": 0.1853
559
565
  }
560
566
  }
@@ -92,3 +92,4 @@ period,Bioenergy,Coal,Gas,Hydro,Nuclear,Other Fossil,Other Renewables,Solar,Wind
92
92
  2026-07,0.015,0.2444,0.3108,0.1469,0.0516,0.0911,0.0069,0.0786,0.0547
93
93
  2026-08,0.015,0.2444,0.3108,0.1469,0.0516,0.0911,0.0069,0.0786,0.0547
94
94
  2026-09,0.015,0.2444,0.3108,0.1469,0.0516,0.0911,0.0069,0.0786,0.0547
95
+ 2026-10,0.015,0.2444,0.3108,0.1469,0.0516,0.0911,0.0069,0.0786,0.0547
@@ -1021,5 +1021,16 @@
1021
1021
  "Other Renewables": 0.0069,
1022
1022
  "Solar": 0.0786,
1023
1023
  "Wind": 0.0547
1024
+ },
1025
+ "2026-10": {
1026
+ "Bioenergy": 0.015,
1027
+ "Coal": 0.2444,
1028
+ "Gas": 0.3108,
1029
+ "Hydro": 0.1469,
1030
+ "Nuclear": 0.0516,
1031
+ "Other Fossil": 0.0911,
1032
+ "Other Renewables": 0.0069,
1033
+ "Solar": 0.0786,
1034
+ "Wind": 0.0547
1024
1035
  }
1025
1036
  }
@@ -6,4 +6,4 @@ year,Bioenergy,Hydro,Solar,Wind
6
6
  2023,0.0663,0.5886,0.1486,0.1965
7
7
  2024,0.0634,0.5638,0.1747,0.1981
8
8
  2025,0.0598,0.5298,0.2095,0.2009
9
- 2026,0.0547,0.5038,0.2423,0.1992
9
+ 2026,0.0544,0.5031,0.2448,0.1977
@@ -42,9 +42,9 @@
42
42
  "Wind": 0.2009
43
43
  },
44
44
  "2026": {
45
- "Bioenergy": 0.0547,
46
- "Hydro": 0.5038,
47
- "Solar": 0.2423,
48
- "Wind": 0.1992
45
+ "Bioenergy": 0.0544,
46
+ "Hydro": 0.5031,
47
+ "Solar": 0.2448,
48
+ "Wind": 0.1977
49
49
  }
50
50
  }
@@ -6,4 +6,4 @@ year,Bioenergy,Coal,Gas,Hydro,Nuclear,Other Fossil,Other Renewables,Solar,Wind
6
6
  2023,0.0164,0.2689,0.3264,0.1457,0.0534,0.0966,0.0072,0.0368,0.0486
7
7
  2024,0.0164,0.2646,0.3215,0.1462,0.053,0.0945,0.007,0.0453,0.0514
8
8
  2025,0.0163,0.2599,0.3153,0.1442,0.053,0.0928,0.0069,0.057,0.0547
9
- 2026,0.0157,0.2501,0.3119,0.1447,0.0518,0.092,0.007,0.0696,0.0572
9
+ 2026,0.0157,0.2496,0.3118,0.1449,0.0518,0.0919,0.0069,0.0705,0.0569
@@ -78,13 +78,13 @@
78
78
  },
79
79
  "2026": {
80
80
  "Bioenergy": 0.0157,
81
- "Coal": 0.2501,
82
- "Gas": 0.3119,
83
- "Hydro": 0.1447,
81
+ "Coal": 0.2496,
82
+ "Gas": 0.3118,
83
+ "Hydro": 0.1449,
84
84
  "Nuclear": 0.0518,
85
- "Other Fossil": 0.092,
86
- "Other Renewables": 0.007,
87
- "Solar": 0.0696,
88
- "Wind": 0.0572
85
+ "Other Fossil": 0.0919,
86
+ "Other Renewables": 0.0069,
87
+ "Solar": 0.0705,
88
+ "Wind": 0.0569
89
89
  }
90
90
  }
package/llms-full.txt ADDED
@@ -0,0 +1,239 @@
1
+ # Digital4Better Open Data — complete npm package reference
2
+
3
+ > Offline usage documentation for the reference datasets shipped in `@digital4better/data`. Data are plain JSON and CSV files. They support environmental modeling; many values are references or estimates rather than direct measurements.
4
+
5
+ ## Scope and version
6
+
7
+ This reference describes the collections in this package. Read [package.json](./package.json) for the installed version and [README.md](./README.md) for source families and provider assumptions. The [website](https://digital4better.github.io/data/) and its [catalog](https://digital4better.github.io/data/catalog.json) can change independently of an installed package. Verify online examples and file inventories against the local files. Reading these local datasets requires no account or network connection.
8
+
9
+ There is no exported query function or runtime service. Open the desired file under `data/`. JSON preserves nested objects, arrays and source keys. CSV is a tabular projection: some nested fields are omitted and lists can use `|` separators. Use JSON for complete structured records. Do not infer a field is absent from JSON merely because CSV omits it.
10
+
11
+ ## Finding the right data
12
+
13
+ 1. Identify the collection matching the question. Electricity impact factors are in `factor`; electricity technology shares are in `mix`; cloud regions are in `cloud`; geographic identifiers are in `country`.
14
+ 2. Inspect the collection's file inventory. Opening one file does not establish the coverage of the whole package.
15
+ 3. For temporal data, select geography, yearly or monthly granularity, and actual-mix or renewable-only scenario explicitly.
16
+ 4. Check that the exact source key, requested period and requested indicator are present and usable. File-level availability is not record-level availability. Inspect each file rather than assuming all variants have identical coverage.
17
+ 5. If the requested record is unavailable, report the file and keys checked. A result can be absent even when the collection exists. Do not silently turn an absent value into zero or use another territory, period or scenario.
18
+ 6. If the consuming application authorizes a fallback, record the requested and selected geography/period, source file, indicator and reason. A search may proceed from subdivision to country, continent and world, but broader averages are substitutions, not equivalent observations. There is no universally correct fallback order across time and geography.
19
+
20
+ Use the exact identifiers in each source file. Cloud files can use lowercase country codes and aliases; electricity country keys use source country identifiers. Do not apply one collection's identifier normalization blindly to another. Geographic mappings are provided in `data/country/`; confirm membership from the actual records.
21
+
22
+ ## Missing values, zero and time
23
+
24
+ - A missing property, `null` or an empty CSV cell denotes unavailable data. Preserve that distinction in calculations and exports.
25
+ - An explicit numeric zero must be preserved. Some provider or hardware zeros are dataset conventions, not independently verified zero environmental impacts; review the relevant assumptions.
26
+ - Do not use truthiness checks such as `if (!value)` to detect absence: that also rejects numeric zero. Check null/undefined and the value's type explicitly.
27
+ - Years are string keys such as `2025`; months are string keys such as `2025-01`. Do not silently mix annual and monthly series.
28
+ - The current year can be partial. Available periods may contain estimated or carried-forward values; they do not guarantee new observations. The current series do not individually flag all filled values.
29
+ - File modification dates, package release dates and source observation dates have different meanings. A daily rebuild does not mean every source was refreshed.
30
+ - For reproducibility, retain the exact package version or file snapshot, source keys, period, indicator, unit and any fallback. Public download URLs can change.
31
+
32
+ ## Units and environmental impact indicators
33
+
34
+ Impact values combine an indicator-specific unit with a functional unit. For example, a `gwp` value in a transport record whose `unit` is `pkm` is expressed in `kg CO2 eq/pkm`. The `unit` field is therefore the denominator of every impact present in that record, not the unit of the impact indicator itself.
35
+
36
+ ### Functional units by collection
37
+
38
+ | Files | Functional unit | Meaning |
39
+ | --- | --- | --- |
40
+ | [`data/energy/energy-impacts.*`](./data/energy) | `kWh` | Impact per kilowatt-hour of electricity generated by the specified technology. The fixed functional unit is not repeated in each record. |
41
+ | [`data/factor/*`](./data/factor) | `kWh` | Impact per kilowatt-hour of electricity consumed for the specified geography and period. The fixed functional unit is not repeated in each record. |
42
+ | [`data/facility/factors.*`](./data/facility) | `kWh` | Impact per kilowatt-hour of electricity or fuel energy. For fuels, `-pci` and `-pcs` in the factor ID identify the lower or higher calorific value basis. |
43
+ | [`data/transport/factors.*`](./data/transport) | `pkm` or `vkm` | Impact per passenger-kilometre for collective and active transport, or per vehicle-kilometre for individual motor vehicles. |
44
+ | [`data/equipment/embodied.*`](./data/equipment) | `/s` or `/GB/km` | Embodied impact allocated per second for equipment and virtual machines, or per gigabyte-kilometre for networks. |
45
+ | [`data/equipment/energy.*`](./data/equipment) | `W` or `Wh/GB/km` | Operational power for equipment and virtual machines, or electricity used per gigabyte-kilometre for networks. These fields are energy values, not environmental impacts. |
46
+
47
+ `pkm` means one passenger transported over one kilometre. `vkm` means one vehicle travelling one kilometre, independently of its passenger count. `GB/km` means one gigabyte transferred over one kilometre.
48
+
49
+ ### Common impact indicators
50
+
51
+ The following indicators and native units are shared by the energy, electricity factor, facility, transport, and equipment collections. They follow the Environmental Footprint impact-category conventions documented by the [European Commission Joint Research Centre](https://publications.jrc.ec.europa.eu/repository/bitstream/JRC130796/JRC130796_01.pdf).
52
+
53
+ | Field | Environmental impact | Native unit |
54
+ | --- | --- | --- |
55
+ | `adpe` | Resource use, minerals and metals | `kg Sb eq` |
56
+ | `ap` | Acidification | `mol H+ eq` |
57
+ | `ctue` | Freshwater ecotoxicity | `CTUe` |
58
+ | `ctuh-c` | Human toxicity, cancer | `CTUh` |
59
+ | `ctuh-nc` | Human toxicity, non-cancer | `CTUh` |
60
+ | `gwp` | Climate change, global warming potential over 100 years | `kg CO2 eq` |
61
+ | `ir` | Ionising radiation, human health | `kBq U-235 eq` |
62
+ | `pm` | Particulate matter, human health | `disease incidence` |
63
+ | `wu` | Water use | `m3 world eq` |
64
+
65
+ The complete unit is obtained by dividing the native unit by the collection's functional unit. Examples include `kg CO2 eq/kWh`, `mol H+ eq/kWh`, `kg CO2 eq/pkm`, and `kg CO2 eq/vkm`.
66
+
67
+ An absent JSON property or an empty CSV cell means that the indicator is not available for that factor. It must not be interpreted as zero. An explicit numeric `0` is a known zero value.
68
+
69
+ ### Additional equipment indicators
70
+
71
+ [`data/equipment/embodied.*`](./data/equipment) also contains the following indicators. Their native units are divided by the `unit` stored in the same equipment record.
72
+
73
+ | Field | Environmental impact | Native unit |
74
+ | --- | --- | --- |
75
+ | `adpf` | Resource use, fossils | `MJ` |
76
+ | `epf` | Eutrophication, freshwater | `kg P eq` |
77
+ | `epm` | Eutrophication, marine | `kg N eq` |
78
+ | `ept` | Eutrophication, terrestrial | `mol N eq` |
79
+ | `gwpb` | Climate change, biogenic | `kg CO2 eq` |
80
+ | `gwpt` | Climate change, total | `kg CO2 eq` |
81
+ | `gwplu` | Climate change, land use and land-use change | `kg CO2 eq` |
82
+ | `lu` | Land use, soil quality index | `Pt` (dimensionless) |
83
+ | `odp` | Ozone depletion | `kg CFC-11 eq` |
84
+ | `pocp` | Photochemical ozone formation | `kg NMVOC eq` |
85
+ | `mips` | Material input per service unit | `kg` |
86
+
87
+ ### Cloud sustainability metrics
88
+
89
+ Cloud region files use additional operational indicators which are not life-cycle impact categories:
90
+
91
+ | Field | Metric | Unit |
92
+ | --- | --- | --- |
93
+ | `pue` | Power Usage Effectiveness | Ratio, dimensionless |
94
+ | `wue` | Water Usage Effectiveness | `L/kWh` |
95
+ | `ref` | Renewable Energy Factor | Ratio from `0` to `1` |
96
+
97
+ ## Electricity impact factors: `data/factor/`
98
+
99
+ Files use `<geography>-<frequency>[-green].json`, with matching CSV files:
100
+
101
+ - Geography: `subdivision`, `country`, `continent`, `world`.
102
+ - Frequency: `yearly`, `monthly`.
103
+ - Scenario: no suffix for the modeled full mix; `-green` for the renewable-only scenario.
104
+
105
+ For example, [subdivision-yearly.json](./data/factor/subdivision-yearly.json) and [subdivision-monthly.json](./data/factor/subdivision-monthly.json) contain sub-national series. Reading only [country-yearly.json](./data/factor/country-yearly.json) is insufficient to determine whether sub-national factors exist. Coverage of one subdivision does not imply coverage of all subdivisions or periods.
106
+
107
+ Country, continent and subdivision JSON use `{ territory: { period: { indicator: value } } }`. World JSON uses `{ period: { indicator: value } }`, without an extra world wrapper. Check the existing continent names instead of assuming continent codes are used as time-series keys.
108
+
109
+ The shared indicators are `adpe` (resource use, minerals and metals), `ap` (acidification), `ctue` (freshwater ecotoxicity), `ctuh-c` and `ctuh-nc` (human toxicity, cancer and non-cancer), `gwp` (climate change), `ir` (ionising radiation), `pm` (particulate matter) and `wu` (water use). These are distinct impact categories with different native units. Electricity factors are per kWh; `gwp` is in kg CO2 equivalent/kWh. Check the source methodology for other indicator units and characterization methods before combining datasets. Do not infer physical liters of water from a water-impact indicator or add different impact categories together.
110
+
111
+ Impact = electricity consumption in kWh × factor per kWh. Educational example: 100 kWh × 0.05 kg CO2e/kWh = 5 kg CO2e. The example factor is fictional; read the dataset value for a real calculation.
112
+
113
+ Node.js example in a project that depends on this package:
114
+
115
+ ```js
116
+ const factors = require('@digital4better/data/data/factor/subdivision-yearly.json');
117
+ const territory = 'CA-QC';
118
+ const period = '2023';
119
+ const factor = factors[territory]?.[period]?.gwp;
120
+ if (typeof factor !== 'number' || !Number.isFinite(factor)) {
121
+ throw new Error(`No usable gwp factor for ${territory} / ${period}`);
122
+ }
123
+ const result = { territory, period, factor, kWh: 100, kgCO2e: 100 * factor };
124
+ ```
125
+
126
+ ### Renewable-only scenario
127
+
128
+ The `-green` variant keeps Bioenergy, Hydro, Solar and Wind and renormalizes their shares to total 100%. Factors are computed from this hypothetical mix. It describes neither the territory's actual electricity mix nor a green electricity contract, and its lifecycle impacts are not zero. If no selected renewable source is available, a green value can be unavailable. Do not silently use `-green` as a replacement for the full mix.
129
+
130
+ ### Sources and boundaries
131
+
132
+ Electricity series are derived from [Ember](https://ember-climate.org/data-catalogue/) and lifecycle references including [UNECE 2021](https://unece.org/sed/documents/2021/10/reports/life-cycle-assessment-electricity-generation-options). Generation and imports are processed by the repository's methodology. Factors are modeled lifecycle references, not instantaneous grid measurements, marginal emissions or a guarantee of hourly coverage. The [impact assessment methodology](https://digital4better.github.io/methodology/en/) provides further context.
133
+
134
+ ## Electricity mixes: `data/mix/`
135
+
136
+ The same 16 geography/frequency/scenario filename combinations and temporal JSON nesting apply. For example, [country-yearly.json](./data/mix/country-yearly.json) contains country series and [world-monthly.json](./data/mix/world-monthly.json) contains period-keyed world values.
137
+
138
+ Values are shares, normally between 0 and 1, rather than percentages or impact factors. Technology keys include `Bioenergy`, `Coal`, `Gas`, `Hydro`, `Nuclear`, `Other Fossil`, `Other Renewables`, `Solar` and `Wind`. Preserve their spelling. Shares can differ slightly from a total of 1 because of rounding. Missing values must not be filled with zero without justification. Renewable-only variants follow the scenario definition above.
139
+
140
+ ## Cloud infrastructure: `data/cloud/`
141
+
142
+ The provider prefixes are `aws`, `azure`, `gcp`, `oracle`, `ovhcloud` and `scaleway`. Each has `<provider>-regions.json` and `<provider>-vms.json`, with matching CSV files. Shared [cpus.json](./data/cloud/cpus.json) and [accelerators.json](./data/cloud/accelerators.json) describe hardware. JSON roots are arrays of records. Provider catalogs describe reference offerings and may include historical entries, not a real-time availability check.
143
+
144
+ ### Regions
145
+
146
+ Common fields include `id`, `name`, optional `aliases`, `provider`, `location`, `country`, `lat`, `lon`, `pue`, `wue` and `ref`. Match provider-specific identifiers and aliases before joining to another catalog. Coordinates are reference locations, not exact datacenter addresses.
147
+
148
+ - `pue`: total datacenter energy divided by IT energy, dimensionless.
149
+ - `wue`: water use relative to energy; check the provider's reporting boundary and source unit before comparison.
150
+ - `ref`: renewable-energy-related fraction from 0 to 1 in this referential. Regional CFE figures are used for Google; CFE and renewable matching are not interchangeable measures.
151
+
152
+ Provider conventions retained in this checkout:
153
+
154
+ - AWS: regional 2024 PUE/WUE disclosures; REF remains zero by convention. It does not establish that AWS uses no renewable electricity.
155
+ - Azure: regional fact sheets, including previously curated values where old PDFs are no longer retrievable.
156
+ - GCP: regional CFE for REF and previously derived water figures pending clearer regional disclosures.
157
+ - Oracle: uniform PUE 1.07 and provisional WUE zero, which does not establish no water use.
158
+ - OVHcloud: FY25 published KPI assumptions.
159
+ - Scaleway: datacenter figures supplemented by impact reports.
160
+
161
+ Check reporting year, regional versus global scope, method and units before comparing providers. Lower PUE alone does not establish lower total environmental impact. The [README cloud section](./README.md#cloud-infrastructure) links source disclosures and detailed assumptions.
162
+
163
+ ### Machines and hardware
164
+
165
+ Machine fields can include `id`, `name`, `family`, `category`, `vcpus`, `ocpus`, `memory`, `ssd`, `hdd`, `cpu`, `accelerator`, `accelerators`, `virtual` and `embodied`. Not every field occurs in every provider. Some provider machine files include bare-metal entries: check `virtual` rather than treating every entry as virtual. Memory and storage are documented in GB. `embodied` describes a modeled embodied climate impact in tCO2e, not electricity use or a per-kWh factor.
166
+
167
+ CPU references include manufacturer, series/model, architecture/platform, cores, threads, TDP, process, die area, transistors and socket support where available. Accelerator references include type, manufacturer, model, memory and hardware characteristics. TDP is a thermal design envelope in W, not a workload-specific electricity measurement. Check the actual record types: some source fields are strings or lists. Do not silently reinterpret zero placeholders, comma decimal strings, scalar CPU references or arrays.
168
+
169
+ ## AI models: `data/ai/`
170
+
171
+ [models.json](./data/ai/models.json) is an array of model records; [models.csv](./data/ai/models.csv) is its tabular projection.
172
+
173
+ - `name`, `vendor`, `type`, `architecture`: source identifiers and model classification.
174
+ - `pattern`: a name-recognition expression, not a provider API endpoint.
175
+ - `parameters.active` and `parameters.total`: active and total parameters in billions. Distinguish these for mixture-of-experts architectures.
176
+ - `context`: context capacity in tokens, not a guaranteed output length.
177
+ - `input`, `output`: supported modalities.
178
+ - `reasoning`, `tools`: recorded capabilities.
179
+ - `providers`: hosting-provider identifiers and variants, not universal identifiers.
180
+ - `estimated`: fields identified as estimates. Check it before presenting parameters or context as vendor disclosures.
181
+ - `sources`: URLs for provenance and further verification.
182
+ - `open`: an openness flag; it does not substitute for the model's license.
183
+
184
+ Not every model has every field. Legacy models and historical/restricted provider references can remain. Check current provider availability separately. Model size alone is insufficient to calculate environmental impacts; no per-model environmental footprint is supplied. Preserve upstream attribution for adapted estimates. This includes EcoLogits contributors and Samuel Rince where their estimates or family proxies are retained; do not present these as vendor disclosures. Read the [AI audit](./data/ai/README.md), [parameter provenance](./data/ai/provenance.md) and [cloud coverage inventory](./data/ai/cloud-coverage.md) for their boundaries and unresolved historical assumptions.
185
+
186
+ The [README AI section](./README.md#ai-models) links provider catalogs, vendor documentation, model cards and technical sources.
187
+
188
+ ## Equipment: `data/equipment/`
189
+
190
+ [energy.json](./data/equipment/energy.json) and [embodied.json](./data/equipment/embodied.json) are objects keyed by equipment or infrastructure category, with corresponding CSV files. These are modeling references, not measurements of every device.
191
+
192
+ Energy entries contain `description`, `value` and `unit`. A value in W is operational power: divide by 1000 and multiply by operating hours to obtain kWh. Some network entries use `Wh/GB/km`; preserve their stated convention and check the model's traffic/distance allocation before use.
193
+
194
+ Embodied entries contain a description, `unit` and environmental indicators. Many factors use `/s` to allocate embodied impacts per second of use, while network factors can use `/GB/km`. A `/s` factor is not a device's total manufacturing impact. Keep allocation duration and the model's network unit convention explicit. Additional indicators include `adpf`, `epf`, `epm`, `ept`, `gwpb`, `gwpt`, `gwplu`, `lu`, `odp`, `pocp` and `mips`. Verify their source units before comparison; do not treat energy values as environmental impact factors.
195
+
196
+ ## Energy technologies: `data/energy/`
197
+
198
+ [energy-impacts.json](./data/energy/energy-impacts.json) maps generation technology names to the nine shared environmental indicators, with a matching CSV file. Factors are lifecycle impacts per kWh of electricity generation. They are inputs to electricity mix modeling and do not describe instantaneous emissions of an individual power plant. Use the exact technology keys and preserve indicator-specific units. See the electricity source references above and the [README energy section](./README.md#electricity-mix-and-impact-factors).
199
+
200
+ ## Building energy: `data/facility/`
201
+
202
+ [factors.json](./data/facility/factors.json) is an array of annual records, with a matching CSV file. Select by `id`, `location` and `period`. Each record provides a functional `unit` of `kWh`, available environmental indicators, `source` and `sourceUrl`.
203
+
204
+ `electricity-grid` records for France (`FR`) and Europe (`EU`) retain all nine annual electricity impacts. The generator synchronizes them with `factor/country-yearly.json` at `FR` and `factor/continent-yearly.json` at `Europe`. Combustible factors are maintained separately from ADEME Base Carbone total records: upstream and combustion components are included, and only GWP is published when the other indicators cannot be verified on the same boundary.
205
+
206
+ Fuel identifiers such as `natural-gas-pci`, `natural-gas-pcs`, `heating-oil-pci`, `propane-pci` and `wood-pellets-pci` encode lower (PCI) or higher (PCS) calorific value bases. Match the base of the input energy to the selected factor. Periods vary by fuel and location; do not assume all factors have the latest electricity year. District heating/cooling and an EU wood-pellet equivalent are absent. See the [facility source notes](./data/facility/README.md) for exact records and boundaries.
207
+
208
+ ## Transport: `data/transport/`
209
+
210
+ [factors.json](./data/transport/factors.json) is an array of annual employee travel references, with a matching CSV file. Select by `id`, `location` and `period`; read `unit`, available indicators, `source` and `sourceUrl` from that record.
211
+
212
+ Collective and active transport uses passenger-kilometres (`pkm`), while individual motor vehicles use vehicle-kilometres (`vkm`). GWP is therefore kg CO2 equivalent/pkm or kg CO2 equivalent/vkm respectively. Do not multiply a vehicle-kilometre factor by passenger-kilometres without an explicit occupancy conversion. Missing non-GWP indicators are unavailable, not zero.
213
+
214
+ The French catalogue covers four flight distance bands, rail, coach, bus, tram, metro, cars, two-wheelers and active travel. ADEME Impact CO2 source requests exclude vehicle construction; flight factors retain radiative forcing. Source periods and transport mode assumptions vary. `location` describes the reference context, not the origin/destination of a trip. There is no published European equivalent or implicit French-to-European fallback. See the [transport source notes](./data/transport/README.md) for mode identifiers, aviation bands and source mappings.
215
+
216
+ ## Geographic references: `data/country/`
217
+
218
+ - [continents.json](./data/country/continents.json): array of continent codes and names.
219
+ - [countries.json](./data/country/countries.json): array of country names, alpha-2/alpha-3 codes and continent names.
220
+ - [regions.json](./data/country/regions.json): array of world, continent, country or subdivision reference records with type-specific identifiers, geographic mappings and coordinates. Inspect `type` and the record's actual fields before joining.
221
+ - [regions-paths.json](./data/country/regions-paths.json): SVG path geometry keyed by source territory identifiers; a visualization asset, not emission factors.
222
+ - [country-to-country-distances.json](./data/country/country-to-country-distances.json): approximate distances keyed by concatenated origin/destination country identifiers.
223
+ - [region-to-region-distances.json](./data/country/region-to-region-distances.json): approximate distances keyed by concatenated region identifiers; identifier lengths can vary.
224
+ - [user-to-datacenter-distances.json](./data/country/user-to-datacenter-distances.json): approximate distance references keyed by source region identifier.
225
+
226
+ Distance values use kilometers and are modeling approximations, not measured internet routes, latency or routing guarantees. Confirm origin/destination membership before splitting composite keys; do not assume every identifier is two characters long. Matching CSV files exist for these references except `regions-paths.json`. A geographic record or map outline does not prove electricity factor coverage for that geography.
227
+
228
+ ## Reuse, attribution and online references
229
+
230
+ The database is licensed under [ODbL 1.0](./LICENCE). Read the license for reuse, attribution and sharing conditions. Preserve source URLs, assumptions and any upstream credits accompanying adapted data. Suggested dataset attribution: Digital4Better Open Data — collection/file — installed package version — ODbL 1.0 — https://github.com/digital4better/data.
231
+
232
+ Useful online entry points:
233
+
234
+ - [Website documentation index](https://digital4better.github.io/data/llms.txt).
235
+ - [Complete website reference](https://digital4better.github.io/data/llms-full.txt).
236
+ - [Current website catalog](https://digital4better.github.io/data/catalog.json), with dataset fields, coverage summaries and absolute download URLs. It describes the deployed site, not necessarily this installed package.
237
+ - [English methodology](https://digital4better.github.io/data/en/methodology/) and [French methodology](https://digital4better.github.io/data/fr/methodology/).
238
+ - [English electricity guide](https://digital4better.github.io/data/en/guides/electricity/), [cloud metrics guide](https://digital4better.github.io/data/en/guides/cloud-metrics/) and [AI models guide](https://digital4better.github.io/data/en/guides/ai-models/).
239
+ - [Repository and issue tracker](https://github.com/digital4better/data).
package/llms.txt ADDED
@@ -0,0 +1,31 @@
1
+ # Digital4Better Open Data — npm package
2
+
3
+ > Reference JSON and CSV datasets for digital sustainability: electricity impacts and mixes, cloud infrastructure, AI models, equipment, energy technologies, building energy, transport and geography.
4
+
5
+ This file describes the installed `@digital4better/data` package. Read files by path; there is no query API. Check the installed `package.json` for its version. Local files are authoritative for that version; the website may describe newer data.
6
+
7
+ Before reporting missing data, inspect the relevant collection and check the exact territory, period and indicator. Electricity factors and mixes include subdivision, country, continent and world files, with yearly, monthly and `-green` variants. The existence of a subdivision file does not guarantee coverage of every subdivision. Missing values are not zero; never silently substitute another geography or period. Green variants describe a hypothetical renewable-only mix. Preserve source identifiers, units, estimates and attribution. License: ODbL 1.0.
8
+
9
+ ## Local documentation
10
+
11
+ - [Complete package reference](./llms-full.txt): File inventory, schemas, lookup procedure, examples, sources and limitations; readable offline.
12
+ - [Package overview](./README.md): Collections, source families and provider assumptions.
13
+ - [Package metadata](./package.json): Installed version and release metadata.
14
+ - [License](./LICENCE): ODbL 1.0 terms.
15
+
16
+ ## Data collections
17
+
18
+ - [Electricity impact factors](./data/factor/): Impacts per kWh, by geography and period. For sub-national data inspect `subdivision-yearly.json` or `subdivision-monthly.json`.
19
+ - [Electricity mixes](./data/mix/): Technology shares using the same geography/period naming scheme.
20
+ - [Cloud infrastructure](./data/cloud/): Provider regions and machines, CPU and accelerator references.
21
+ - [AI models](./data/ai/): Model characteristics, provider identifiers, estimates and source URLs.
22
+ - [Equipment](./data/equipment/): Operational energy and allocated embodied impacts; read each entry's `unit`.
23
+ - [Energy technologies](./data/energy/): Lifecycle impact factors by electricity generation technology.
24
+ - [Building energy](./data/facility/): Purchased electricity and fuel factors per kWh, with explicit PCI/PCS bases.
25
+ - [Transport](./data/transport/): Employee travel factors per passenger-kilometre or vehicle-kilometre.
26
+ - [Geography](./data/country/): Country, continent and subdivision references, SVG paths and approximate distances.
27
+
28
+ ## Optional online documentation
29
+
30
+ - [Website documentation index](https://digital4better.github.io/data/llms.txt): Bilingual collection pages and guides for the current website snapshot.
31
+ - [Website catalog](https://digital4better.github.io/data/catalog.json): Current published dataset metadata and download URLs; check against the installed package before use.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital4better/data",
3
- "version": "1.3.66",
3
+ "version": "1.3.68",
4
4
  "description": "Digital4Better Open Data",
5
5
  "license": "ODbL-1.0",
6
6
  "repository": {
@@ -40,8 +40,10 @@
40
40
  "data/*",
41
41
  "package.json",
42
42
  "README.md",
43
+ "llms.txt",
44
+ "llms-full.txt",
43
45
  "LICENSE"
44
46
  ],
45
- "releaseDate": "2026-10-31T00:03:22.215Z",
47
+ "releaseDate": "2026-11-06T13:43:16.631Z",
46
48
  "packageManager": "yarn@1.22.21+sha512.ca75da26c00327d26267ce33536e5790f18ebd53266796fbb664d2a4a5116308042dd8ee7003b276a20eace7d3c5561c3577bdd71bcb67071187af124779620a"
47
49
  }