opt-sol commited on
Commit
7c4011b
·
verified ·
1 Parent(s): 0f2eaee

Ember (current)

Browse files
DISCLAIMER.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Disclaimer
2
+
3
+ This dataset is redistributed by **OptimalSolution LLC** as part of the multimod
4
+ data bank. The original publisher is **Ember**.
5
+
6
+ **Redistribution only; no responsibility.** OptimalSolution LLC redistributes this
7
+ data and is not responsible for its content, accuracy, completeness, currency or
8
+ fitness for any purpose. Questions about what the data says, how it was
9
+ collected or what it means belong to the original publisher.
10
+
11
+ **No endorsement and no position.** Inclusion in this data bank implies no
12
+ judgement, endorsement or position by OptimalSolution LLC regarding the data, its
13
+ publisher, the methodology behind it, or any conclusion that anyone draws from
14
+ it. Datasets are included because they are useful inputs to energy-system
15
+ models, not because OptimalSolution LLC agrees with them.
16
+
17
+ **No affiliation.** OptimalSolution LLC is not affiliated with, sponsored by or
18
+ endorsed by Ember. All trademarks, names and credit remain with the
19
+ original publisher.
20
+
21
+ **Provided as-is; no warranty.** This copy is provided as-is, without warranty of
22
+ any kind, express or implied. The original publisher's licence and terms govern
23
+ your use of the data; where this copy and the publisher's own release differ, the
24
+ publisher's release is authoritative.
25
+
26
+ ## Changes made to the published data
27
+
28
+ The tables here are RESTRUCTURED, not a passthrough: three source CSVs were melted onto one long schema, columns were renamed, and entity_kind, series_group and aggregate entity codes were derived. No value was recomputed, rescaled or imputed -- the build asserts that the multiset of numbers coming out equals the multiset going in. The year-on-year change columns were dropped as recomputable. Per-dataset detail is in each dataset.yml under bank.modifications and bank.changes.
29
+
30
+ Per-dataset detail is recorded in each `dataset.yml` under `bank.modifications`
31
+ and `bank.changes`, and is served by the platform API alongside the data.
LICENSE-CC-BY-4.0.txt ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Ember electricity data is published under the Creative Commons Attribution
2
+ 4.0 International Licence (CC-BY-4.0).
3
+
4
+ https://creativecommons.org/licenses/by/4.0/
5
+
6
+ Ember's own statement of the terms:
7
+
8
+ "Our data is published using the CC-BY-4.0 license. Anyone is able to use
9
+ our data for any purpose (personal, commercial, etc.). The only
10
+ requirements by this license are that:
11
+ 1. Ember is cited as the data source. E.g. 'Monthly electricity
12
+ generation data, Ember'
13
+ 2. You may not add any additional legal/technological restrictions to
14
+ the data."
15
+
16
+ Ember's logo is NOT covered by this licence and is not distributed here.
NOTICE.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Attribution
2
+
3
+ This product includes data from Ember, used under CC-BY-4.0.
4
+
5
+ Data: Ember - CC-BY-4.0
6
+ https://ember-energy.org/data/
7
+
8
+ Boundaries used with this data come from Natural Earth (public domain) and
9
+ are distributed separately as the `naturalearth` source of this data bank.
10
+
11
+ Ember requires that no additional legal or technological restrictions be
12
+ placed on the data. This copy is therefore published for unrestricted
13
+ download; see DISCLAIMER.md for what redistribution here does and does not
14
+ mean.
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: Ember
4
+ tags:
5
+ - electricity
6
+ - generation
7
+ - capacity
8
+ - emissions
9
+ - global
10
+ ---
11
+
12
+ # Ember electricity data
13
+
14
+ Global electricity generation, capacity, demand and emissions from Ember's public bulk releases, reshaped onto one long schema and stored as an energyRt dataset store. Area codes, labels and the geoscale that joins them are in `scales/`.
15
+
16
+ ## Terms
17
+
18
+ - **Licence**: CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/)
19
+ - **Attribution**: Data: Ember - CC-BY-4.0
20
+ - **Cite as**: Yearly and monthly electricity data, Ember. https://ember-energy.org/data/
21
+ - **Source**: https://ember-energy.org/data/
22
+
23
+ Redistributed by OptimalSolution LLC -- see `DISCLAIMER.md`. Redistribution only: no responsibility for the content, no endorsement or position, no affiliation with the publisher, no warranty. What was changed from the published data is recorded per dataset under `bank.modifications` and `bank.changes`.
24
+
25
+ ## Datasets
26
+
27
+ | dataset | rows | coverage |
28
+ |---|---|---|
29
+ | `ember_generation_yearly` | 543,302 | 1985 to 2025, annual |
30
+ | `ember_generation_monthly` | 838,831 | 1998-12 to 2026-08, monthly |
31
+ | `ember_capacity_wind_solar_monthly` | 52,910 | 2016-01 to 2026-08, monthly |
32
+
33
+ ## Read this before you aggregate
34
+
35
+ - `is_derived` marks Ember's OWN aggregate series -- Total generation, Clean, Fossil, Renewables, Demand. They sit in the same `series` column as the fuels they summarise, so summing the column without filtering counts the fuels twice.
36
+ - `entity_kind` separates the 209 countries from Ember's 15 precomputed aggregates, and those aggregates OVERLAP -- every EU member is also in OECD. Summing `entity_id` double-counts differently again.
37
+ - `unit` is part of the key. Solar capacity is published twice, once in GWAC and once in GWDC, so (entity, period, series, variable) is NOT unique. The generation tables also mix TWh with percent in one `value` column.
38
+ - `AU` and `MENA` exist only as precomputed rows: Ember publishes no membership for them, so they cannot be broken down into countries. `scales/ember_geoscale.json` lists them under `unmappable`.
39
+ - Geometry is NOT here. It is Natural Earth, public domain, shared with every other source and referenced as `basemaps:ne_countries_50m`. Without it the geoscale still aggregates and recasts; only maps need it.
40
+
41
+ ## Using it
42
+
43
+ ```r
44
+ # the tables (no geoscales/timescales needed)
45
+ energyRt::set_datasets_path("datasets")
46
+ d <- energyRt::getDataset("ember_generation_yearly")
47
+
48
+ # the geoscale, rebuilt from the shipped CSV + JSON
49
+ source("scales/ember_geoscale.R")
50
+ gs <- ember_geoscale() # no geometry
51
+ gs <- ember_geoscale("../naturalearth") # with geometry
52
+
53
+ # split a regional aggregate down to countries, conserving the total
54
+ geoscales::recast_geoscale(x, gs, from = "ember_region", to = "region",
55
+ values = "value", rule = "sum",
56
+ weight = "pop_est")
57
+ ```
58
+
datasets/ember_capacity_wind_solar_monthly/class ADDED
@@ -0,0 +1 @@
 
 
1
+ dataset
datasets/ember_capacity_wind_solar_monthly/data/part-0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f05ff01bdf741e8d71d29cf75e9bdc80137b4086238248409d2676978cddc67
3
+ size 113341
datasets/ember_capacity_wind_solar_monthly/dataset.yml ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ layout: 3
2
+ class: dataset
3
+ name: ember_capacity_wind_solar_monthly
4
+ hash: 5c01e9c70c18e01bbeead8dfaf8058b8
5
+ hash_of: content
6
+ kind: table
7
+ payload_class: data.frame
8
+ dim:
9
+ - 52910
10
+ - 11
11
+ cols:
12
+ entity_id: factor
13
+ entity_kind: factor
14
+ year: integer
15
+ period_start: Date
16
+ period_type: factor
17
+ series: factor
18
+ series_group: factor
19
+ is_derived: logical
20
+ variable: factor
21
+ unit: factor
22
+ value: numeric
23
+ format: parquet
24
+ created: '2026-09-17T21:24:32Z'
25
+ updated: '2026-09-17T21:24:32Z'
26
+ energyRt_version: 0.89.7.9002
27
+ memo: Monthly wind and solar capacity
28
+ bank:
29
+ schema_version: 1
30
+ source: ember
31
+ slug: ember/capacity-wind-solar-monthly
32
+ title: Monthly wind and solar capacity
33
+ description: Monthly installed wind and solar capacity and additions.
34
+ license: CC-BY-4.0
35
+ attribution: 'Data: Ember - CC-BY-4.0'
36
+ citation: Ember (2026). Monthly wind and solar capacity. https://ember-energy.org/data/
37
+ homepage: https://ember-energy.org/data/
38
+ visibility: public
39
+ modifications: restructured
40
+ modification_notice: Reformatted and restructured from Ember's published CSV release.
41
+ Values are carried through unchanged; no figure has been recomputed, rescaled
42
+ or imputed.
43
+ changes:
44
+ - Converted CSV to Arrow IPC (Feather v2), dictionary-encoded.
45
+ - Unified three source files onto one long schema; see provenance.column_map.
46
+ - Melted the wide measure columns into variable/unit/value rows.
47
+ - Renamed columns (e.g. `ISO 3 code` -> entity_id).
48
+ - Derived entity_kind, series_group and aggregate entity codes; no source value
49
+ altered.
50
+ - Dropped the year-on-year change columns, which are recomputable from the retained
51
+ series.
52
+ - Dropped rows with no observation rather than filling them with zero.
53
+ - 'Capacity only: filled the ISO 3 Code that Ember leaves blank on ''Wind and solar''
54
+ rows, using Ember''s own Area to ISO3 map from the yearly release.'
55
+ provenance:
56
+ url: https://files.ember-energy.org/public-downloads/capacity/outputs/monthly_capacity_wind_solar_public_release_file.csv
57
+ raw_sha256: 770f6f7da74075efd6b541f3823efd4b3b87e29f733093982cc5c298ffc8fafb
58
+ raw_bytes: 1192992
59
+ fetched_at: '2026-09-17T15:16:21Z'
60
+ upstream_last_modified: Mon, 07 Sep 2026 11:54:09 GMT
61
+ transform: r-worker/build_ember.R
62
+ raw_columns:
63
+ - Month
64
+ - Year
65
+ - ISO 3 Code
66
+ - Area
67
+ - Is aggregate area
68
+ - Ember region
69
+ - Continent
70
+ - Source
71
+ - Is aggregate source
72
+ - Unit
73
+ - Installed Capacity
74
+ - Capacity additions (month-on-month)
75
+ - Capacity additions (year-to-date)
76
+ schema:
77
+ columns:
78
+ - entity_id
79
+ - entity_kind
80
+ - year
81
+ - period_start
82
+ - period_type
83
+ - series
84
+ - series_group
85
+ - is_derived
86
+ - variable
87
+ - unit
88
+ - value
89
+ key:
90
+ - entity_id
91
+ - period_start
92
+ - series
93
+ - variable
94
+ - unit
95
+ value_column: value
96
+ unit_column: unit
97
+ additive_over:
98
+ - entity_id
99
+ - period_start
100
+ not_additive_over:
101
+ - series
102
+ - variable
103
+ - unit
104
+ default_filter:
105
+ is_derived: no
106
+ entity_kind: country
107
+ units:
108
+ capacity:
109
+ - GW
110
+ - GWAC
111
+ - GWDC
112
+ capacity_additions_mom:
113
+ - GW
114
+ - GWAC
115
+ - GWDC
116
+ capacity_additions_ytd:
117
+ - GW
118
+ - GWAC
119
+ - GWDC
120
+ coverage:
121
+ period_type: month
122
+ start: '2016-01-01'
123
+ end: '2026-08-01'
124
+ n_periods: 128
125
+ rows: 52910
126
+ entities:
127
+ total: 30
128
+ country: 25
129
+ aggregate: 5
130
+ series:
131
+ - Offshore wind
132
+ - Onshore wind
133
+ - Solar
134
+ - Unknown wind
135
+ - Wind
136
+ - Wind and solar
137
+ variables:
138
+ - capacity
139
+ - capacity_additions_mom
140
+ - capacity_additions_ytd
141
+ scales:
142
+ geoscale: ember_world
143
+ entity_geoframe: region
144
+ calendar: monthly
145
+ calendar_note: A Calendar partitions ONE model year. The multi-year axis is the
146
+ `year` / `period_start` DATA column and is deliberately not part of any calendar
147
+ -- timescales has no YEAR token.
148
+ storage:
149
+ format: parquet
150
+ layout: single
151
+ partition_by: []
152
+ parts: 1
153
+ compression: zstd
154
+ bytes: 113341
155
+ part_sha256: 6f05ff01bdf741e8d71d29cf75e9bdc80137b4086238248409d2676978cddc67
datasets/ember_capacity_wind_solar_monthly/layout ADDED
@@ -0,0 +1 @@
 
 
1
+ 3
datasets/ember_generation_monthly/class ADDED
@@ -0,0 +1 @@
 
 
1
+ dataset
datasets/ember_generation_monthly/data/part-0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb6b1770fe0efbf149a30cdab9bc62c7d536dc5edc3c29f90fa21e9a566808c0
3
+ size 2750314
datasets/ember_generation_monthly/dataset.yml ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ layout: 3
2
+ class: dataset
3
+ name: ember_generation_monthly
4
+ hash: 6b9b87362403aef1ef1dbc07444854fd
5
+ hash_of: content
6
+ kind: table
7
+ payload_class: data.frame
8
+ dim:
9
+ - 838831
10
+ - 11
11
+ cols:
12
+ entity_id: factor
13
+ entity_kind: factor
14
+ year: integer
15
+ period_start: Date
16
+ period_type: factor
17
+ series: factor
18
+ series_group: factor
19
+ is_derived: logical
20
+ variable: factor
21
+ unit: factor
22
+ value: numeric
23
+ format: parquet
24
+ created: '2026-09-17T21:24:32Z'
25
+ updated: '2026-09-17T21:24:32Z'
26
+ energyRt_version: 0.89.7.9002
27
+ memo: Monthly electricity generation, global
28
+ bank:
29
+ schema_version: 1
30
+ source: ember
31
+ slug: ember/generation-monthly
32
+ title: Monthly electricity generation, global
33
+ description: Monthly generation, emissions and shares by fuel, by country and by
34
+ Ember region.
35
+ license: CC-BY-4.0
36
+ attribution: 'Data: Ember - CC-BY-4.0'
37
+ citation: Ember (2026). Monthly electricity generation, global. https://ember-energy.org/data/
38
+ homepage: https://ember-energy.org/data/
39
+ visibility: public
40
+ modifications: restructured
41
+ modification_notice: Reformatted and restructured from Ember's published CSV release.
42
+ Values are carried through unchanged; no figure has been recomputed, rescaled
43
+ or imputed.
44
+ changes:
45
+ - Converted CSV to Arrow IPC (Feather v2), dictionary-encoded.
46
+ - Unified three source files onto one long schema; see provenance.column_map.
47
+ - Melted the wide measure columns into variable/unit/value rows.
48
+ - Renamed columns (e.g. `ISO 3 code` -> entity_id).
49
+ - Derived entity_kind, series_group and aggregate entity codes; no source value
50
+ altered.
51
+ - Dropped the year-on-year change columns, which are recomputable from the retained
52
+ series.
53
+ - Dropped rows with no observation rather than filling them with zero.
54
+ - 'Capacity only: filled the ISO 3 Code that Ember leaves blank on ''Wind and solar''
55
+ rows, using Ember''s own Area to ISO3 map from the yearly release.'
56
+ provenance:
57
+ url: https://files.ember-energy.org/public-downloads/generation/outputs/release_generation_monthly_global.csv
58
+ raw_sha256: 993427c0ebe4f02d881f9374bda4f7a150ef4109a428085b8654dd1fd3cb15c7
59
+ raw_bytes: 28105387
60
+ fetched_at: '2026-09-17T15:16:20Z'
61
+ upstream_last_modified: Tue, 08 Sep 2026 17:01:31 GMT
62
+ transform: r-worker/build_ember.R
63
+ raw_columns:
64
+ - Area
65
+ - ISO 3 code
66
+ - Date
67
+ - Area type
68
+ - Electricity source
69
+ - Is aggregated source
70
+ - Generation (TWh)
71
+ - Generation YoY change (TWh)
72
+ - Generation YoY change (%)
73
+ - Share of generation (%)
74
+ - Share of generation YoY change (% points)
75
+ - Emissions (MtCO2e)
76
+ - Emissions YoY change (MtCO2e)
77
+ - Emissions YoY change (%)
78
+ - Share of emissions (%)
79
+ - Emissions intensity (gCO2e/kWh)
80
+ - Continent
81
+ - Ember region
82
+ - EU member
83
+ - OECD member
84
+ - G20 member
85
+ - G7 member
86
+ - ASEAN member
87
+ schema:
88
+ columns:
89
+ - entity_id
90
+ - entity_kind
91
+ - year
92
+ - period_start
93
+ - period_type
94
+ - series
95
+ - series_group
96
+ - is_derived
97
+ - variable
98
+ - unit
99
+ - value
100
+ key:
101
+ - entity_id
102
+ - period_start
103
+ - series
104
+ - variable
105
+ - unit
106
+ value_column: value
107
+ unit_column: unit
108
+ additive_over:
109
+ - entity_id
110
+ - period_start
111
+ not_additive_over:
112
+ - series
113
+ - variable
114
+ - unit
115
+ default_filter:
116
+ is_derived: no
117
+ entity_kind: country
118
+ units:
119
+ emissions: MtCO2e
120
+ emissions_intensity: gCO2e_per_kWh
121
+ emissions_share: pct
122
+ generation: TWh
123
+ generation_share: pct
124
+ coverage:
125
+ period_type: month
126
+ start: '1998-12-01'
127
+ end: '2026-08-01'
128
+ n_periods: 333
129
+ rows: 838831
130
+ entities:
131
+ total: 99
132
+ country: 88
133
+ aggregate: 11
134
+ series:
135
+ - Bioenergy
136
+ - Clean
137
+ - Coal
138
+ - Demand
139
+ - Fossil
140
+ - Gas
141
+ - Hydro
142
+ - Hydro, bioenergy and other renewables
143
+ - Net imports
144
+ - Nuclear
145
+ - Other fossil
146
+ - Other renewables
147
+ - Renewables
148
+ - Solar
149
+ - Total generation
150
+ - Wind
151
+ - Wind and solar
152
+ variables:
153
+ - emissions
154
+ - emissions_intensity
155
+ - emissions_share
156
+ - generation
157
+ - generation_share
158
+ scales:
159
+ geoscale: ember_world
160
+ entity_geoframe: region
161
+ calendar: monthly
162
+ calendar_note: A Calendar partitions ONE model year. The multi-year axis is the
163
+ `year` / `period_start` DATA column and is deliberately not part of any calendar
164
+ -- timescales has no YEAR token.
165
+ storage:
166
+ format: parquet
167
+ layout: single
168
+ partition_by: []
169
+ parts: 1
170
+ compression: zstd
171
+ bytes: 2750314
172
+ part_sha256: cb6b1770fe0efbf149a30cdab9bc62c7d536dc5edc3c29f90fa21e9a566808c0
datasets/ember_generation_monthly/layout ADDED
@@ -0,0 +1 @@
 
 
1
+ 3
datasets/ember_generation_yearly/class ADDED
@@ -0,0 +1 @@
 
 
1
+ dataset
datasets/ember_generation_yearly/data/part-0.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ccdc446c287ae80f503fdeab9a37df8128981534c1d433bc46c7cb05a764b17
3
+ size 1398177
datasets/ember_generation_yearly/dataset.yml ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ layout: 3
2
+ class: dataset
3
+ name: ember_generation_yearly
4
+ hash: bbb5177bbe8bfad7f3758b1720b78719
5
+ hash_of: content
6
+ kind: table
7
+ payload_class: data.frame
8
+ dim:
9
+ - 543302
10
+ - 11
11
+ cols:
12
+ entity_id: factor
13
+ entity_kind: factor
14
+ year: integer
15
+ period_start: Date
16
+ period_type: factor
17
+ series: factor
18
+ series_group: factor
19
+ is_derived: logical
20
+ variable: factor
21
+ unit: factor
22
+ value: numeric
23
+ format: parquet
24
+ created: '2026-09-17T21:24:31Z'
25
+ updated: '2026-09-17T21:24:31Z'
26
+ energyRt_version: 0.89.7.9002
27
+ memo: Yearly electricity generation, global
28
+ bank:
29
+ schema_version: 1
30
+ source: ember
31
+ slug: ember/generation-yearly
32
+ title: Yearly electricity generation, global
33
+ description: Annual generation, capacity, emissions and shares by fuel, by country
34
+ and by Ember region.
35
+ license: CC-BY-4.0
36
+ attribution: 'Data: Ember - CC-BY-4.0'
37
+ citation: Ember (2026). Yearly electricity generation, global. https://ember-energy.org/data/
38
+ homepage: https://ember-energy.org/data/
39
+ visibility: public
40
+ modifications: restructured
41
+ modification_notice: Reformatted and restructured from Ember's published CSV release.
42
+ Values are carried through unchanged; no figure has been recomputed, rescaled
43
+ or imputed.
44
+ changes:
45
+ - Converted CSV to Arrow IPC (Feather v2), dictionary-encoded.
46
+ - Unified three source files onto one long schema; see provenance.column_map.
47
+ - Melted the wide measure columns into variable/unit/value rows.
48
+ - Renamed columns (e.g. `ISO 3 code` -> entity_id).
49
+ - Derived entity_kind, series_group and aggregate entity codes; no source value
50
+ altered.
51
+ - Dropped the year-on-year change columns, which are recomputable from the retained
52
+ series.
53
+ - Dropped rows with no observation rather than filling them with zero.
54
+ - 'Capacity only: filled the ISO 3 Code that Ember leaves blank on ''Wind and solar''
55
+ rows, using Ember''s own Area to ISO3 map from the yearly release.'
56
+ provenance:
57
+ url: https://files.ember-energy.org/public-downloads/generation/outputs/release_generation_yearly_global.csv
58
+ raw_sha256: b535c81592424ba9c09cc735e7cc4baf0aa518daf116996d959845ca4ca54bf0
59
+ raw_bytes: 16086064
60
+ fetched_at: '2026-09-17T15:16:18Z'
61
+ upstream_last_modified: Tue, 08 Sep 2026 17:01:30 GMT
62
+ transform: r-worker/build_ember.R
63
+ raw_columns:
64
+ - Area
65
+ - ISO 3 code
66
+ - Year
67
+ - Area type
68
+ - Electricity source
69
+ - Is aggregated source
70
+ - Generation (TWh)
71
+ - Generation YoY change (TWh)
72
+ - Generation YoY change (%)
73
+ - Share of generation (%)
74
+ - Share of generation YoY change (% points)
75
+ - Capacity (GW)
76
+ - Emissions (MtCO2e)
77
+ - Emissions YoY change (MtCO2e)
78
+ - Emissions YoY change (%)
79
+ - Share of emissions (%)
80
+ - Emissions intensity (gCO2e/kWh)
81
+ - Continent
82
+ - Ember region
83
+ - EU member
84
+ - OECD member
85
+ - G20 member
86
+ - G7 member
87
+ - ASEAN member
88
+ schema:
89
+ columns:
90
+ - entity_id
91
+ - entity_kind
92
+ - year
93
+ - period_start
94
+ - period_type
95
+ - series
96
+ - series_group
97
+ - is_derived
98
+ - variable
99
+ - unit
100
+ - value
101
+ key:
102
+ - entity_id
103
+ - period_start
104
+ - series
105
+ - variable
106
+ - unit
107
+ value_column: value
108
+ unit_column: unit
109
+ additive_over:
110
+ - entity_id
111
+ - period_start
112
+ not_additive_over:
113
+ - series
114
+ - variable
115
+ - unit
116
+ default_filter:
117
+ is_derived: no
118
+ entity_kind: country
119
+ units:
120
+ capacity: GW
121
+ emissions: MtCO2e
122
+ emissions_intensity: gCO2e_per_kWh
123
+ emissions_share: pct
124
+ generation: TWh
125
+ generation_share: pct
126
+ coverage:
127
+ period_type: year
128
+ start: '1985-01-01'
129
+ end: '2025-01-01'
130
+ n_periods: 41
131
+ rows: 543302
132
+ entities:
133
+ total: 224
134
+ country: 209
135
+ aggregate: 15
136
+ series:
137
+ - Bioenergy
138
+ - Clean
139
+ - Coal
140
+ - Demand
141
+ - Fossil
142
+ - Gas
143
+ - Hydro
144
+ - Hydro, bioenergy and other renewables
145
+ - Net imports
146
+ - Nuclear
147
+ - Other fossil
148
+ - Other renewables
149
+ - Renewables
150
+ - Solar
151
+ - Total generation
152
+ - Wind
153
+ - Wind and solar
154
+ variables:
155
+ - capacity
156
+ - emissions
157
+ - emissions_intensity
158
+ - emissions_share
159
+ - generation
160
+ - generation_share
161
+ scales:
162
+ geoscale: ember_world
163
+ entity_geoframe: region
164
+ calendar: annual
165
+ calendar_note: A Calendar partitions ONE model year. The multi-year axis is the
166
+ `year` / `period_start` DATA column and is deliberately not part of any calendar
167
+ -- timescales has no YEAR token.
168
+ storage:
169
+ format: parquet
170
+ layout: single
171
+ partition_by: []
172
+ parts: 1
173
+ compression: zstd
174
+ bytes: 1398177
175
+ part_sha256: 1ccdc446c287ae80f503fdeab9a37df8128981534c1d433bc46c7cb05a764b17
datasets/ember_generation_yearly/layout ADDED
@@ -0,0 +1 @@
 
 
1
+ 3
scales/ember_areas.csv ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "region","area_name","continent","continent_name","ember_region","ember_region_name","eu","oecd","g20","g7","asean","world","pop_est","gdp_md","km2"
2
+ "ABW","Aruba","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",106314,3056,154.663540425657
3
+ "AFG","Afghanistan","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",38041754,19291,641842.745188011
4
+ "AGO","Angola","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",31825295,88815,1244669.79492597
5
+ "ALB","Albania","CONT_EUROPE","Europe","EUROPE","Europe",,,,,,"WORLD",2854191,15279,28373.1193971795
6
+ "ARE","United Arab Emirates","CONT_ASIA","Asia","MIDDLE_EAST","Middle East",,,,,,"WORLD",9770529,421142,71113.4865277672
7
+ "ARG","Argentina","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,"G20",,,"WORLD",44938712,445445,2782453.63895102
8
+ "ARM","Armenia","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",2957731,13672,29590.8485755365
9
+ "ASM","American Samoa","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,,,,,"WORLD",55312,636,119.962007437439
10
+ "ATG","Antigua and Barbuda","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",97118,1661,431.411029508815
11
+ "AUS","Australia","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,"OECD","G20",,,"WORLD",25364307,1396567,7691236.61021423
12
+ "AUT","Austria","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",8877067,445075,84148.3554134261
13
+ "AZE","Azerbaijan","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",10023318,48047,86500.8426926704
14
+ "BDI","Burundi","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",11530580,3012,27086.8926702374
15
+ "BEL","Belgium","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",11484055,533097,30739.2778458073
16
+ "BEN","Benin","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",11801151,14390,116105.087434477
17
+ "BFA","Burkina Faso","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",20321378,15990,272626.831932252
18
+ "BGD","Bangladesh","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",163046161,302571,135340.322293953
19
+ "BGR","Bulgaria","CONT_EUROPE","Europe","EUROPE","Europe","EU",,,,,"WORLD",6975761,68558,112610.004619876
20
+ "BHR","Bahrain","CONT_ASIA","Asia","MIDDLE_EAST","Middle East",,,,,,"WORLD",1641172,38574,540.472976045578
21
+ "BHS","Bahamas","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",389482,13578,12640.2183738206
22
+ "BIH","Bosnia Herzegovina","CONT_EUROPE","Europe","EUROPE","Europe",,,,,,"WORLD",3301000,20164,51789.8161306613
23
+ "BLR","Belarus","CONT_EUROPE","Europe","EUROPE","Europe",,,,,,"WORLD",9466856,63080,207560.980287174
24
+ "BLZ","Belize","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",390353,1879,22705.2826427145
25
+ "BOL","Bolivia","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",11513100,40895,1086623.46270546
26
+ "BRA","Brazil","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,"G20",,,"WORLD",211049527,1839758,8467098.25776301
27
+ "BRB","Barbados","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",287025,5209,387.824389355175
28
+ "BRN","Brunei Darussalam","CONT_ASIA","Asia","ASIA","Asia",,,,,"ASEAN","WORLD",433285,13469,5647.17379971221
29
+ "BTN","Bhutan","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",763092,2530,39811.2956434392
30
+ "BWA","Botswana","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",2303697,18340,579137.274617419
31
+ "CAF","Central African Republic","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",4745185,2220,618322.871065762
32
+ "CAN","Canada","CONT_NORTH_AMERICA","North America","NORTH_AMERICA","North America",,"OECD","G20","G7",,"WORLD",37589262,1736425,9923083.18520292
33
+ "CHE","Switzerland","CONT_EUROPE","Europe","EUROPE","Europe",,"OECD",,,,"WORLD",8574832,703082,41316.1632739803
34
+ "CHL","Chile","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,"OECD",,,,"WORLD",18952038,282318,737678.022387029
35
+ "CHN","China","CONT_ASIA","Asia","ASIA","Asia",,,"G20",,,"WORLD",1397715000,14342903,9373024.02748093
36
+ "CIV","Cote d'Ivoire","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",25716544,58539,320934.580119138
37
+ "CMR","Cameroon","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",25876380,39007,463871.036834983
38
+ "COD","Congo (DRC)","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",86790567,50400,2324446.64160376
39
+ "COG","Congo","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",5380508,12267,345333.676675924
40
+ "COK","Cook Islands (the)","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,,,,,"WORLD",17459,244,60.4889656803846
41
+ "COL","Colombia","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,"OECD",,,,"WORLD",50339443,323615,1134457.39144509
42
+ "COM","Comoros","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",850886,1165,1579.64885556782
43
+ "CPV","Cabo Verde","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",549935,1981,3572.62886788611
44
+ "CRI","Costa Rica","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,"OECD",,,,"WORLD",5047561,61801,51303.3545190088
45
+ "CUB","Cuba","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",11333483,100023,109005.404689648
46
+ "CYM","Cayman Islands","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",64948,5517,300.418062172579
47
+ "CYP","Cyprus","CONT_EUROPE","Europe","EUROPE","Europe","EU",,,,,"WORLD",1198575,24948,5707.77835917894
48
+ "CZE","Czechia","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",10669709,250680,78743.8543419196
49
+ "DEU","Germany","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD","G20","G7",,"WORLD",83132799,3861123,357457.491100056
50
+ "DJI","Djibouti","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",973560,3324,21618.8791113103
51
+ "DMA","Dominica","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",71808,582,695.395057227539
52
+ "DNK","Denmark","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",5818553,350104,42618.327020451
53
+ "DOM","Dominican Republic","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",10738958,88941,48440.0524483257
54
+ "DZA","Algeria","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",43053054,171091,2319299.94586531
55
+ "ECU","Ecuador","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",17373662,107435,254528.459029869
56
+ "EGY","Egypt","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",100388073,303092,1001771.64564108
57
+ "ERI","Eritrea","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",6081196,2065,123242.561314571
58
+ "ESP","Spain","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",47076781,1393490,506732.862085842
59
+ "EST","Estonia","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",1326590,31471,45694.4687988043
60
+ "ETH","Ethiopia","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",112078730,95912,1127094.93336168
61
+ "FIN","Finland","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",5520314,269296,332612.623402297
62
+ "FJI","Fiji","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,,,,,"WORLD",889953,5496,18346.466362116
63
+ "FLK","Falkland Islands (Malvinas)","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",3398,282,11429.5470231956
64
+ "FRA","France","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD","G20","G7",,"WORLD",67059887,2715518,548373.883640385
65
+ "FRO","Faroe Islands","CONT_EUROPE","Europe","EUROPE","Europe",,,,,,"WORLD",48678,3116,1041.75404200123
66
+ "GAB","Gabon","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",2172579,16874,259499.47668341
67
+ "GBR","United Kingdom","CONT_EUROPE","Europe","EUROPE","Europe",,"OECD","G20","G7",,"WORLD",66834405,2829108,240641.726924336
68
+ "GEO","Georgia","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",3720382,17477,69413.73226798
69
+ "GHA","Ghana","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",30417856,66983,238558.734128315
70
+ "GIN","Guinea","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",12771246,12296,243939.334904071
71
+ "GLP","Guadeloupe","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",67059887,2715518,1657.3200575261
72
+ "GMB","Gambia","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",2347706,1826,10274.9755111908
73
+ "GNB","Guinea-Bissau","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",1920922,1339,31931.1736901308
74
+ "GNQ","Equatorial Guinea","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",1355986,11026,26525.0221585732
75
+ "GRC","Greece","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",10716322,209852,130276.327951092
76
+ "GRD","Grenada","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",112003,1210,284.916150550762
77
+ "GRL","Greenland","CONT_NORTH_AMERICA","North America","NORTH_AMERICA","North America",,,,,,"WORLD",56225,3051,2171413.39385821
78
+ "GTM","Guatemala","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",16604026,76710,108101.849652404
79
+ "GUF","French Guiana","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",67059887,2715518,83183.7034446868
80
+ "GUM","Guam","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,,,,,"WORLD",167294,5920,480.450096097824
81
+ "GUY","Guyana","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",782766,5173,211022.413968988
82
+ "HKG","Hong Kong (SAR of China)","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",7507400,365711,1026.31537612312
83
+ "HND","Honduras","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",9746117,25095,113105.783134772
84
+ "HRV","Croatia","CONT_EUROPE","Europe","EUROPE","Europe","EU",,,,,"WORLD",4067500,60752,54543.6931354963
85
+ "HTI","Haiti","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",11263077,14332,26723.016555696
86
+ "HUN","Hungary","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",9769949,163469,93213.076983474
87
+ "IDN","Indonesia","CONT_ASIA","Asia","ASIA","Asia",,,"G20",,"ASEAN","WORLD",270625568,1119190,1863909.15771878
88
+ "IND","India","CONT_ASIA","Asia","ASIA","Asia",,,"G20",,,"WORLD",1366417754,2868929,3148262.59494693
89
+ "IRL","Ireland","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",4941444,388698,68982.6613366641
90
+ "IRN","Iran","CONT_ASIA","Asia","MIDDLE_EAST","Middle East",,,,,,"WORLD",82913906,453996,1621841.96427913
91
+ "IRQ","Iraq","CONT_ASIA","Asia","MIDDLE_EAST","Middle East",,,,,,"WORLD",39309783,234094,437238.467859618
92
+ "ISL","Iceland","CONT_EUROPE","Europe","EUROPE","Europe",,"OECD",,,,"WORLD",361313,24188,101824.831815352
93
+ "ISR","Israel","CONT_ASIA","Asia","MIDDLE_EAST","Middle East",,"OECD",,,,"WORLD",9053300,394652,22032.0738356715
94
+ "ITA","Italy","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD","G20","G7",,"WORLD",60297396,2003576,300794.108026794
95
+ "JAM","Jamaica","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",2948279,16458,10897.4089396941
96
+ "JOR","Jordan","CONT_ASIA","Asia","MIDDLE_EAST","Middle East",,,,,,"WORLD",10101694,44502,88781.4069824137
97
+ "JPN","Japan","CONT_ASIA","Asia","ASIA","Asia",,"OECD","G20","G7",,"WORLD",126264931,5081769,370275.586732208
98
+ "KAZ","Kazakhstan","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",18513930,181665,2720703.29413463
99
+ "KEN","Kenya","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",52573973,95503,592188.932225134
100
+ "KGZ","Kyrgyzstan","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",6456900,8454,198927.239363911
101
+ "KHM","Cambodia","CONT_ASIA","Asia","ASIA","Asia",,,,,"ASEAN","WORLD",16486542,27089,180670.045002021
102
+ "KIR","Kiribati","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,,,,,"WORLD",117606,194,933.384899789563
103
+ "KNA","Saint Kitts and Nevis","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",52834,1053,232.171856997856
104
+ "KOR","South Korea","CONT_ASIA","Asia","ASIA","Asia",,"OECD","G20",,,"WORLD",51709098,1646739,97172.4711454945
105
+ "KWT","Kuwait","CONT_ASIA","Asia","MIDDLE_EAST","Middle East",,,,,,"WORLD",4207083,134628,17307.5884451855
106
+ "LAO","Lao PDR","CONT_ASIA","Asia","ASIA","Asia",,,,,"ASEAN","WORLD",7169455,18173,228231.760235565
107
+ "LBN","Lebanon","CONT_ASIA","Asia","MIDDLE_EAST","Middle East",,,,,,"WORLD",6855713,51991,10007.763408326
108
+ "LBR","Liberia","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",4937374,3070,95255.6948024778
109
+ "LBY","Libya","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",6777452,52091,1623739.17274135
110
+ "LCA","Saint Lucia","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",182790,2122,549.272891167709
111
+ "LKA","Sri Lanka","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",21803000,84008,65763.2908788481
112
+ "LSO","Lesotho","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",2125268,2376,29991.1148914624
113
+ "LTU","Lithuania","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",2786844,54627,64815.1790915802
114
+ "LUX","Luxembourg","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",619896,71104,2620.62394383785
115
+ "LVA","Latvia","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",1912789,34102,64577.0569041037
116
+ "MAC","Macao (SAR of China)","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",640445,53859,22.6816039450271
117
+ "MAR","Morocco","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",36471769,119700,581713.394194185
118
+ "MDA","Moldova","CONT_EUROPE","Europe","EUROPE","Europe",,,,,,"WORLD",2657637,11968,33207.5971915438
119
+ "MDG","Madagascar","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",26969307,14114,592826.092920881
120
+ "MDV","Maldives","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",530953,5642,66.1189870618925
121
+ "MEX","Mexico","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,"OECD","G20",,,"WORLD",127575529,1268870,1957879.035826
122
+ "MKD","North Macedonia","CONT_EUROPE","Europe","EUROPE","Europe",,,,,,"WORLD",2083459,12547,25400.3759001221
123
+ "MLI","Mali","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",19658031,17279,1254110.83607364
124
+ "MLT","Malta","CONT_EUROPE","Europe","EUROPE","Europe","EU",,,,,"WORLD",502653,14989,273.806738844863
125
+ "MMR","Myanmar","CONT_ASIA","Asia","ASIA","Asia",,,,,"ASEAN","WORLD",54045420,76085,660975.857083239
126
+ "MNE","Montenegro","CONT_EUROPE","Europe","EUROPE","Europe",,,,,,"WORLD",622137,5542,13690.2009359551
127
+ "MNG","Mongolia","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",3225167,13996,1564521.33147358
128
+ "MOZ","Mozambique","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",30366036,15291,788094.978804014
129
+ "MRT","Mauritania","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",4525696,7600,1035381.56873064
130
+ "MSR","Montserrat","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",4649,44,79.5114723644638
131
+ "MTQ","Martinique","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",67059887,2715518,1097.45881974424
132
+ "MUS","Mauritius","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",1265711,14048,1873.87584535456
133
+ "MWI","Malawi","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",18628747,7666,119344.487407776
134
+ "MYS","Malaysia","CONT_ASIA","Asia","ASIA","Asia",,,,,"ASEAN","WORLD",31949777,364681,326201.016736388
135
+ "NAM","Namibia","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",2494530,12366,822523.697597886
136
+ "NCL","New Caledonia","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,,,,,"WORLD",287800,10770,18616.6357833851
137
+ "NER","Niger","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",23310715,12911,1181186.10920531
138
+ "NGA","Nigeria","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",200963599,448120,907832.696623202
139
+ "NIC","Nicaragua","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",6545502,12520,128751.484079947
140
+ "NLD","Netherlands","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",17332850,907050,37275.8809345022
141
+ "NOR","Norway","CONT_EUROPE","Europe","EUROPE","Europe",,"OECD",,,,"WORLD",5347896,403336,386811.500562754
142
+ "NPL","Nepal","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",28608710,30641,146976.351293258
143
+ "NRU","Nauru","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,,,,,"WORLD",12581,118,27.6708718652992
144
+ "NZL","New Zealand","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,"OECD",,,,"WORLD",4917000,206928,267241.748104782
145
+ "OMN","Oman","CONT_ASIA","Asia","MIDDLE_EAST","Middle East",,,,,,"WORLD",4974986,76331,311195.686013513
146
+ "PAK","Pakistan","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",216565318,278221,872776.102136494
147
+ "PAN","Panama","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",4246439,66800,73934.5910547777
148
+ "PER","Peru","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",32510453,226848,1291018.36064932
149
+ "PHL","The Philippines","CONT_ASIA","Asia","ASIA","Asia",,,,,"ASEAN","WORLD",108116615,376795,289181.656709277
150
+ "PNG","Papua New Guinea","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,,,,,"WORLD",8776109,24829,462301.103211039
151
+ "POL","Poland","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",37970874,595858,313755.371023535
152
+ "PRI","Puerto Rico","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",3193694,104988,8915.15530304792
153
+ "PRK","North Korea","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",25666161,40000,122627.316633607
154
+ "PRT","Portugal","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",10269417,238785,90844.928684751
155
+ "PRY","Paraguay","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",7044636,38145,399948.350392406
156
+ "PSE","Palestine (State of)","CONT_ASIA","Asia","MIDDLE_EAST","Middle East",,,,,,"WORLD",4685306,16276,6328.69100893636
157
+ "PYF","French Polynesia","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,,,,,"WORLD",279287,5490,2605.47079597696
158
+ "QAT","Qatar","CONT_ASIA","Asia","MIDDLE_EAST","Middle East",,,,,,"WORLD",2832067,175837,11051.6130153426
159
+ "REU","Reunion","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",67059887,2715518,2582.42136476631
160
+ "ROU","Romania","CONT_EUROPE","Europe","EUROPE","Europe","EU",,,,,"WORLD",19356544,250077,236342.996406687
161
+ "RUS","Russia","CONT_EUROPE","Europe","EUROPE","Europe",,,"G20",,,"WORLD",144373535,1699876,16973513.3606501
162
+ "RWA","Rwanda","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",12626950,10354,25272.6005794823
163
+ "SAU","Saudi Arabia","CONT_ASIA","Asia","MIDDLE_EAST","Middle East",,,"G20",,,"WORLD",34268528,792966,1921560.13421256
164
+ "SDN","Sudan","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",42813238,30513,1856671.22382656
165
+ "SEN","Senegal","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",16296364,23578,196608.074635941
166
+ "SGP","Singapore","CONT_ASIA","Asia","ASIA","Asia",,,,,"ASEAN","WORLD",5703569,372062,482.778522360958
167
+ "SLB","Solomon Islands","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,,,,,"WORLD",669823,1589,25633.6165089592
168
+ "SLE","Sierra Leone","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",7813215,4121,71576.0863614346
169
+ "SLV","El Salvador","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",6453553,27022,20316.149112463
170
+ "SOM","Somalia","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",10192317.3,4719,471552.143803771
171
+ "SPM","Saint Pierre and Miquelon","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",5997,215,205.831137303778
172
+ "SRB","Serbia","CONT_EUROPE","Europe","EUROPE","Europe",,,,,,"WORLD",6944975,51475,77648.3200855689
173
+ "SSD","South Sudan","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",11062113,11998,621318.084718608
174
+ "STP","Sao Tome and Principe","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",215056,418,981.456632025104
175
+ "SUR","Suriname","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",581363,3697,144934.021573142
176
+ "SVK","Slovakia","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",5454073,105079,48489.2790225754
177
+ "SVN","Slovenia","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",2087946,54174,20244.5824792796
178
+ "SWE","Sweden","CONT_EUROPE","Europe","EUROPE","Europe","EU","OECD",,,,"WORLD",10285453,530883,445654.285497301
179
+ "SWZ","Eswatini","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",1148130,4471,16961.6990844001
180
+ "SYC","Seychelles","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",97625,1703,173.637727352821
181
+ "SYR","Syria","CONT_ASIA","Asia","MIDDLE_EAST","Middle East",,,,,,"WORLD",17070135,98830,185961.560438741
182
+ "TCA","Turks and Caicos Islands","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",38191,1197,329.348536634588
183
+ "TCD","Chad","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",15946876,11314,1266546.81051257
184
+ "TGO","Togo","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",8082366,5490,56901.1528009952
185
+ "THA","Thailand","CONT_ASIA","Asia","ASIA","Asia",,,,,"ASEAN","WORLD",69625582,543548,513908.974501802
186
+ "TJK","Tajikistan","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",9321018,8116,142396.071743957
187
+ "TKM","Turkmenistan","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",5942089,40761,471028.192599308
188
+ "TON","Tonga","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,,,,,"WORLD",104494,512,430.293214756613
189
+ "TTO","Trinidad and Tobago","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",1394973,24269,5081.92633839771
190
+ "TUN","Tunisia","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",11694719,38796,156616.767106114
191
+ "TUR","Türkiye","CONT_ASIA","Asia","EUROPE","Europe",,"OECD","G20",,,"WORLD",83429615,761425,780462.910762115
192
+ "TWN","Taiwan (China)","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",23568378,1127000,35909.3453265358
193
+ "TZA","Tanzania (the United Republic of)","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",58005463,63177,941734.383280994
194
+ "UGA","Uganda","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",44269594,35165,241473.71254419
195
+ "UKR","Ukraine","CONT_EUROPE","Europe","EUROPE","Europe",,,,,,"WORLD",44385155,153781,571975.745691057
196
+ "URY","Uruguay","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",3461734,56045,177464.048437343
197
+ "USA","United States","CONT_NORTH_AMERICA","North America","NORTH_AMERICA","North America",,"OECD","G20","G7",,"WORLD",328239523,21433226,9455759.56894371
198
+ "UZB","Uzbekistan","CONT_ASIA","Asia","ASIA","Asia",,,,,,"WORLD",33580650,57921,448022.579810706
199
+ "VCT","Saint Vincent and the Grenadines","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",110589,824,309.916872237629
200
+ "VEN","Venezuela","CONT_SOUTH_AMERICA","South America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",28515829,482359,910439.415464111
201
+ "VGB","Virgin Islands (British)","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",30030,500,134.936178764977
202
+ "VIR","Virgin Islands (U.S.)","CONT_NORTH_AMERICA","North America","LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean",,,,,,"WORLD",106631,3855,314.80871377144
203
+ "VNM","Viet Nam","CONT_ASIA","Asia","ASIA","Asia",,,,,"ASEAN","WORLD",96462106,261921,327849.4414549
204
+ "VUT","Vanuatu","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,,,,,"WORLD",299882,934,11253.6314605805
205
+ "WSM","Samoa","CONT_OCEANIA","Oceania","OCEANIA","Oceania",,,,,,"WORLD",197097,852,2691.6833069522
206
+ "XKX","Kosovo","CONT_EUROPE","Europe","EUROPE","Europe",,,,,,"WORLD",1794248,7926,10929.8358329751
207
+ "YEM","Yemen","CONT_ASIA","Asia","MIDDLE_EAST","Middle East",,,,,,"WORLD",29161922,22581,452565.23854683
208
+ "ZAF","South Africa","CONT_AFRICA","Africa","AFRICA","Africa",,,"G20",,,"WORLD",58558270,351431,1220030.78198216
209
+ "ZMB","Zambia","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",17861030,23309,752772.995789212
210
+ "ZWE","Zimbabwe","CONT_AFRICA","Africa","AFRICA","Africa",,,,,,"WORLD",14645468,21440,388993.757368991
scales/ember_geoscale.R ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Rebuild the Ember Geoscale from the files shipped beside this script.
2
+ #
3
+ # No .rda is published on purpose: a serialized S7 object carries its property
4
+ # names, so it is version-coupled to the geoscales class definition and a stored
5
+ # binary silently stops loading after an upstream rename. The CSV + JSON pair is
6
+ # the authoritative form; this rebuilds the object from it in one call.
7
+ #
8
+ # gs <- ember_geoscale() # no geometry
9
+ # gs <- ember_geoscale("path/to/naturalearth") # with geometry attached
10
+
11
+ ember_geoscale <- function(basemaps = NULL, dir = NULL) {
12
+ if (is.null(dir)) dir <- dirname(sys.frame(1)$ofile %||% ".")
13
+ if (!requireNamespace("geoscales", quietly = TRUE)) {
14
+ stop("geoscales is required: remotes::install_github('optimal2050/geoscales')")
15
+ }
16
+ spec <- jsonlite::fromJSON(file.path(dir, "ember_geoscale.json"),
17
+ simplifyVector = FALSE)
18
+ lt <- utils::read.csv(file.path(dir, "ember_areas.csv"), encoding = "UTF-8",
19
+ na.strings = "", stringsAsFactors = FALSE)
20
+
21
+ gs <- geoscales::geoscale_from_leaftable(
22
+ lt,
23
+ geoframes = unlist(spec$geoframes),
24
+ key = spec$key,
25
+ weights = unlist(spec$weights),
26
+ default_weight = spec$default_weight,
27
+ name = spec$name,
28
+ desc = spec$desc,
29
+ labels = "area_name",
30
+ source = "Ember (CC-BY-4.0); geometry from Natural Earth (public domain)")
31
+
32
+ # Geometry lives in the basemaps source, not here: it is Natural Earth's
33
+ # public-domain data, shared by every source in the bank, and copying it per
34
+ # source is how five drifting copies happen. Without it the geoscale is still
35
+ # fully usable for aggregation and recasting -- only maps need the geometry.
36
+ if (is.null(basemaps)) {
37
+ message("ember_geoscale(): no geometry attached. Pass the basemaps source ",
38
+ "directory to enable maps (geometry_ref: ", spec$geometry_ref, ").")
39
+ return(gs)
40
+ }
41
+ p <- file.path(basemaps, "exact", "ne_countries_50m.parquet")
42
+ if (!file.exists(p)) {
43
+ warning("no geometry at ", p, " -- returning the geoscale without it")
44
+ return(gs)
45
+ }
46
+ ne <- suppressWarnings(sfarrow::st_read_parquet(p))
47
+ # GeoParquet 1.0 stores crs as a PROJJSON object; sfarrow hands that object to
48
+ # sf::st_crs(), which takes only strings, so the CRS comes back NA. Silently.
49
+ if (is.na(sf::st_crs(ne))) sf::st_crs(ne) <- "OGC:CRS84"
50
+ ne <- ne[match(lt[[spec$key]], ne$iso3), ]
51
+ geoscales::attach_geometry_geoscale(gs, sf::st_geometry(ne))
52
+ }
53
+
54
+ `%||%` <- function(x, y) if (is.null(x)) y else x
scales/ember_geoscale.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ember_world",
3
+ "desc": "Ember's global area hierarchy: two partitions (continent, Ember region) and six overlapping membership groups.",
4
+ "key": "region",
5
+ "geoframes": ["world", "eu", "oecd", "g20", "g7", "asean", "continent", "ember_region", "region"],
6
+ "partitions": ["continent", "ember_region"],
7
+ "overlapping": ["world", "eu", "oecd", "g20", "g7", "asean"],
8
+ "n_leaves": 209,
9
+ "weights": ["pop_est", "gdp_md", "km2"],
10
+ "default_weight": "pop_est",
11
+ "members": {
12
+ "world": {
13
+ "WORLD": ["ABW", "AFG", "AGO", "ALB", "ARE", "ARG", "ARM", "ASM", "ATG", "AUS", "AUT", "AZE", "BDI", "BEL", "BEN", "BFA", "BGD", "BGR", "BHR", "BHS", "BIH", "BLR", "BLZ", "BOL", "BRA", "BRB", "BRN", "BTN", "BWA", "CAF", "CAN", "CHE", "CHL", "CHN", "CIV", "CMR", "COD", "COG", "COK", "COL", "COM", "CPV", "CRI", "CUB", "CYM", "CYP", "CZE", "DEU", "DJI", "DMA", "DNK", "DOM", "DZA", "ECU", "EGY", "ERI", "ESP", "EST", "ETH", "FIN", "FJI", "FLK", "FRA", "FRO", "GAB", "GBR", "GEO", "GHA", "GIN", "GLP", "GMB", "GNB", "GNQ", "GRC", "GRD", "GRL", "GTM", "GUF", "GUM", "GUY", "HKG", "HND", "HRV", "HTI", "HUN", "IDN", "IND", "IRL", "IRN", "IRQ", "ISL", "ISR", "ITA", "JAM", "JOR", "JPN", "KAZ", "KEN", "KGZ", "KHM", "KIR", "KNA", "KOR", "KWT", "LAO", "LBN", "LBR", "LBY", "LCA", "LKA", "LSO", "LTU", "LUX", "LVA", "MAC", "MAR", "MDA", "MDG", "MDV", "MEX", "MKD", "MLI", "MLT", "MMR", "MNE", "MNG", "MOZ", "MRT", "MSR", "MTQ", "MUS", "MWI", "MYS", "NAM", "NCL", "NER", "NGA", "NIC", "NLD", "NOR", "NPL", "NRU", "NZL", "OMN", "PAK", "PAN", "PER", "PHL", "PNG", "POL", "PRI", "PRK", "PRT", "PRY", "PSE", "PYF", "QAT", "REU", "ROU", "RUS", "RWA", "SAU", "SDN", "SEN", "SGP", "SLB", "SLE", "SLV", "SOM", "SPM", "SRB", "SSD", "STP", "SUR", "SVK", "SVN", "SWE", "SWZ", "SYC", "SYR", "TCA", "TCD", "TGO", "THA", "TJK", "TKM", "TON", "TTO", "TUN", "TUR", "TWN", "TZA", "UGA", "UKR", "URY", "USA", "UZB", "VCT", "VEN", "VGB", "VIR", "VNM", "VUT", "WSM", "XKX", "YEM", "ZAF", "ZMB", "ZWE"]
14
+ },
15
+ "eu": {
16
+ "EU": ["AUT", "BEL", "BGR", "CYP", "CZE", "DEU", "DNK", "ESP", "EST", "FIN", "FRA", "GRC", "HRV", "HUN", "IRL", "ITA", "LTU", "LUX", "LVA", "MLT", "NLD", "POL", "PRT", "ROU", "SVK", "SVN", "SWE"]
17
+ },
18
+ "oecd": {
19
+ "OECD": ["AUS", "AUT", "BEL", "CAN", "CHE", "CHL", "COL", "CRI", "CZE", "DEU", "DNK", "ESP", "EST", "FIN", "FRA", "GBR", "GRC", "HUN", "IRL", "ISL", "ISR", "ITA", "JPN", "KOR", "LTU", "LUX", "LVA", "MEX", "NLD", "NOR", "NZL", "POL", "PRT", "SVK", "SVN", "SWE", "TUR", "USA"]
20
+ },
21
+ "g20": {
22
+ "G20": ["ARG", "AUS", "BRA", "CAN", "CHN", "DEU", "FRA", "GBR", "IDN", "IND", "ITA", "JPN", "KOR", "MEX", "RUS", "SAU", "TUR", "USA", "ZAF"]
23
+ },
24
+ "g7": {
25
+ "G7": ["CAN", "DEU", "FRA", "GBR", "ITA", "JPN", "USA"]
26
+ },
27
+ "asean": {
28
+ "ASEAN": ["BRN", "IDN", "KHM", "LAO", "MMR", "MYS", "PHL", "SGP", "THA", "VNM"]
29
+ },
30
+ "continent": {
31
+ "CONT_AFRICA": ["AGO", "BDI", "BEN", "BFA", "BWA", "CAF", "CIV", "CMR", "COD", "COG", "COM", "CPV", "DJI", "DZA", "EGY", "ERI", "ETH", "GAB", "GHA", "GIN", "GMB", "GNB", "GNQ", "KEN", "LBR", "LBY", "LSO", "MAR", "MDG", "MLI", "MOZ", "MRT", "MUS", "MWI", "NAM", "NER", "NGA", "REU", "RWA", "SDN", "SEN", "SLE", "SOM", "SSD", "STP", "SWZ", "SYC", "TCD", "TGO", "TUN", "TZA", "UGA", "ZAF", "ZMB", "ZWE"],
32
+ "CONT_ASIA": ["AFG", "ARE", "ARM", "AZE", "BGD", "BHR", "BRN", "BTN", "CHN", "GEO", "HKG", "IDN", "IND", "IRN", "IRQ", "ISR", "JOR", "JPN", "KAZ", "KGZ", "KHM", "KOR", "KWT", "LAO", "LBN", "LKA", "MAC", "MDV", "MMR", "MNG", "MYS", "NPL", "OMN", "PAK", "PHL", "PRK", "PSE", "QAT", "SAU", "SGP", "SYR", "THA", "TJK", "TKM", "TUR", "TWN", "UZB", "VNM", "YEM"],
33
+ "CONT_EUROPE": ["ALB", "AUT", "BEL", "BGR", "BIH", "BLR", "CHE", "CYP", "CZE", "DEU", "DNK", "ESP", "EST", "FIN", "FRA", "FRO", "GBR", "GRC", "HRV", "HUN", "IRL", "ISL", "ITA", "LTU", "LUX", "LVA", "MDA", "MKD", "MLT", "MNE", "NLD", "NOR", "POL", "PRT", "ROU", "RUS", "SRB", "SVK", "SVN", "SWE", "UKR", "XKX"],
34
+ "CONT_NORTH_AMERICA": ["ATG", "BHS", "BLZ", "BRB", "CAN", "CRI", "CUB", "CYM", "DMA", "DOM", "GLP", "GRD", "GRL", "GTM", "HND", "HTI", "JAM", "KNA", "LCA", "MEX", "MSR", "MTQ", "NIC", "PAN", "PRI", "SLV", "SPM", "TCA", "TTO", "USA", "VCT", "VGB", "VIR"],
35
+ "CONT_OCEANIA": ["ASM", "AUS", "COK", "FJI", "GUM", "KIR", "NCL", "NRU", "NZL", "PNG", "PYF", "SLB", "TON", "VUT", "WSM"],
36
+ "CONT_SOUTH_AMERICA": ["ABW", "ARG", "BOL", "BRA", "CHL", "COL", "ECU", "FLK", "GUF", "GUY", "PER", "PRY", "SUR", "URY", "VEN"]
37
+ },
38
+ "ember_region": {
39
+ "AFRICA": ["AGO", "BDI", "BEN", "BFA", "BWA", "CAF", "CIV", "CMR", "COD", "COG", "COM", "CPV", "DJI", "DZA", "EGY", "ERI", "ETH", "GAB", "GHA", "GIN", "GMB", "GNB", "GNQ", "KEN", "LBR", "LBY", "LSO", "MAR", "MDG", "MLI", "MOZ", "MRT", "MUS", "MWI", "NAM", "NER", "NGA", "REU", "RWA", "SDN", "SEN", "SLE", "SOM", "SSD", "STP", "SWZ", "SYC", "TCD", "TGO", "TUN", "TZA", "UGA", "ZAF", "ZMB", "ZWE"],
40
+ "ASIA": ["AFG", "ARM", "AZE", "BGD", "BRN", "BTN", "CHN", "GEO", "HKG", "IDN", "IND", "JPN", "KAZ", "KGZ", "KHM", "KOR", "LAO", "LKA", "MAC", "MDV", "MMR", "MNG", "MYS", "NPL", "PAK", "PHL", "PRK", "SGP", "THA", "TJK", "TKM", "TWN", "UZB", "VNM"],
41
+ "EUROPE": ["ALB", "AUT", "BEL", "BGR", "BIH", "BLR", "CHE", "CYP", "CZE", "DEU", "DNK", "ESP", "EST", "FIN", "FRA", "FRO", "GBR", "GRC", "HRV", "HUN", "IRL", "ISL", "ITA", "LTU", "LUX", "LVA", "MDA", "MKD", "MLT", "MNE", "NLD", "NOR", "POL", "PRT", "ROU", "RUS", "SRB", "SVK", "SVN", "SWE", "TUR", "UKR", "XKX"],
42
+ "LATIN_AMERICA_AND_CARIBBEAN": ["ABW", "ARG", "ATG", "BHS", "BLZ", "BOL", "BRA", "BRB", "CHL", "COL", "CRI", "CUB", "CYM", "DMA", "DOM", "ECU", "FLK", "GLP", "GRD", "GTM", "GUF", "GUY", "HND", "HTI", "JAM", "KNA", "LCA", "MEX", "MSR", "MTQ", "NIC", "PAN", "PER", "PRI", "PRY", "SLV", "SPM", "SUR", "TCA", "TTO", "URY", "VCT", "VEN", "VGB", "VIR"],
43
+ "MIDDLE_EAST": ["ARE", "BHR", "IRN", "IRQ", "ISR", "JOR", "KWT", "LBN", "OMN", "PSE", "QAT", "SAU", "SYR", "YEM"],
44
+ "NORTH_AMERICA": ["CAN", "GRL", "USA"],
45
+ "OCEANIA": ["ASM", "AUS", "COK", "FJI", "GUM", "KIR", "NCL", "NRU", "NZL", "PNG", "PYF", "SLB", "TON", "VUT", "WSM"]
46
+ }
47
+ },
48
+ "unmappable": ["AU", "MENA"],
49
+ "labels_file": "ember_labels.csv",
50
+ "leaftable_file": "ember_areas.csv",
51
+ "geometry_ref": "basemaps:ne_countries_50m",
52
+ "geoscales_version": "0.5.4",
53
+ "generated_by": "r-worker/build_ember.R"
54
+ }
scales/ember_labels.csv ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "code","label","kind","geoframe","note"
2
+ "ABW","Aruba","country","region",""
3
+ "AFG","Afghanistan","country","region",""
4
+ "AGO","Angola","country","region",""
5
+ "ALB","Albania","country","region",""
6
+ "ARE","United Arab Emirates","country","region",""
7
+ "ARG","Argentina","country","region",""
8
+ "ARM","Armenia","country","region",""
9
+ "ASM","American Samoa","country","region",""
10
+ "ATG","Antigua and Barbuda","country","region",""
11
+ "AUS","Australia","country","region",""
12
+ "AUT","Austria","country","region",""
13
+ "AZE","Azerbaijan","country","region",""
14
+ "BDI","Burundi","country","region",""
15
+ "BEL","Belgium","country","region",""
16
+ "BEN","Benin","country","region",""
17
+ "BFA","Burkina Faso","country","region",""
18
+ "BGD","Bangladesh","country","region",""
19
+ "BGR","Bulgaria","country","region",""
20
+ "BHR","Bahrain","country","region",""
21
+ "BHS","Bahamas","country","region",""
22
+ "BIH","Bosnia Herzegovina","country","region",""
23
+ "BLR","Belarus","country","region",""
24
+ "BLZ","Belize","country","region",""
25
+ "BOL","Bolivia","country","region",""
26
+ "BRA","Brazil","country","region",""
27
+ "BRB","Barbados","country","region",""
28
+ "BRN","Brunei Darussalam","country","region",""
29
+ "BTN","Bhutan","country","region",""
30
+ "BWA","Botswana","country","region",""
31
+ "CAF","Central African Republic","country","region",""
32
+ "CAN","Canada","country","region",""
33
+ "CHE","Switzerland","country","region",""
34
+ "CHL","Chile","country","region",""
35
+ "CHN","China","country","region",""
36
+ "CIV","Cote d'Ivoire","country","region",""
37
+ "CMR","Cameroon","country","region",""
38
+ "COD","Congo (DRC)","country","region",""
39
+ "COG","Congo","country","region",""
40
+ "COK","Cook Islands (the)","country","region",""
41
+ "COL","Colombia","country","region",""
42
+ "COM","Comoros","country","region",""
43
+ "CPV","Cabo Verde","country","region",""
44
+ "CRI","Costa Rica","country","region",""
45
+ "CUB","Cuba","country","region",""
46
+ "CYM","Cayman Islands","country","region",""
47
+ "CYP","Cyprus","country","region",""
48
+ "CZE","Czechia","country","region",""
49
+ "DEU","Germany","country","region",""
50
+ "DJI","Djibouti","country","region",""
51
+ "DMA","Dominica","country","region",""
52
+ "DNK","Denmark","country","region",""
53
+ "DOM","Dominican Republic","country","region",""
54
+ "DZA","Algeria","country","region",""
55
+ "ECU","Ecuador","country","region",""
56
+ "EGY","Egypt","country","region",""
57
+ "ERI","Eritrea","country","region",""
58
+ "ESP","Spain","country","region",""
59
+ "EST","Estonia","country","region",""
60
+ "ETH","Ethiopia","country","region",""
61
+ "FIN","Finland","country","region",""
62
+ "FJI","Fiji","country","region",""
63
+ "FLK","Falkland Islands (Malvinas)","country","region",""
64
+ "FRA","France","country","region",""
65
+ "FRO","Faroe Islands","country","region",""
66
+ "GAB","Gabon","country","region",""
67
+ "GBR","United Kingdom","country","region",""
68
+ "GEO","Georgia","country","region",""
69
+ "GHA","Ghana","country","region",""
70
+ "GIN","Guinea","country","region",""
71
+ "GLP","Guadeloupe","country","region",""
72
+ "GMB","Gambia","country","region",""
73
+ "GNB","Guinea-Bissau","country","region",""
74
+ "GNQ","Equatorial Guinea","country","region",""
75
+ "GRC","Greece","country","region",""
76
+ "GRD","Grenada","country","region",""
77
+ "GRL","Greenland","country","region",""
78
+ "GTM","Guatemala","country","region",""
79
+ "GUF","French Guiana","country","region",""
80
+ "GUM","Guam","country","region",""
81
+ "GUY","Guyana","country","region",""
82
+ "HKG","Hong Kong (SAR of China)","country","region",""
83
+ "HND","Honduras","country","region",""
84
+ "HRV","Croatia","country","region",""
85
+ "HTI","Haiti","country","region",""
86
+ "HUN","Hungary","country","region",""
87
+ "IDN","Indonesia","country","region",""
88
+ "IND","India","country","region",""
89
+ "IRL","Ireland","country","region",""
90
+ "IRN","Iran","country","region",""
91
+ "IRQ","Iraq","country","region",""
92
+ "ISL","Iceland","country","region",""
93
+ "ISR","Israel","country","region",""
94
+ "ITA","Italy","country","region",""
95
+ "JAM","Jamaica","country","region",""
96
+ "JOR","Jordan","country","region",""
97
+ "JPN","Japan","country","region",""
98
+ "KAZ","Kazakhstan","country","region",""
99
+ "KEN","Kenya","country","region",""
100
+ "KGZ","Kyrgyzstan","country","region",""
101
+ "KHM","Cambodia","country","region",""
102
+ "KIR","Kiribati","country","region",""
103
+ "KNA","Saint Kitts and Nevis","country","region",""
104
+ "KOR","South Korea","country","region",""
105
+ "KWT","Kuwait","country","region",""
106
+ "LAO","Lao PDR","country","region",""
107
+ "LBN","Lebanon","country","region",""
108
+ "LBR","Liberia","country","region",""
109
+ "LBY","Libya","country","region",""
110
+ "LCA","Saint Lucia","country","region",""
111
+ "LKA","Sri Lanka","country","region",""
112
+ "LSO","Lesotho","country","region",""
113
+ "LTU","Lithuania","country","region",""
114
+ "LUX","Luxembourg","country","region",""
115
+ "LVA","Latvia","country","region",""
116
+ "MAC","Macao (SAR of China)","country","region",""
117
+ "MAR","Morocco","country","region",""
118
+ "MDA","Moldova","country","region",""
119
+ "MDG","Madagascar","country","region",""
120
+ "MDV","Maldives","country","region",""
121
+ "MEX","Mexico","country","region",""
122
+ "MKD","North Macedonia","country","region",""
123
+ "MLI","Mali","country","region",""
124
+ "MLT","Malta","country","region",""
125
+ "MMR","Myanmar","country","region",""
126
+ "MNE","Montenegro","country","region",""
127
+ "MNG","Mongolia","country","region",""
128
+ "MOZ","Mozambique","country","region",""
129
+ "MRT","Mauritania","country","region",""
130
+ "MSR","Montserrat","country","region",""
131
+ "MTQ","Martinique","country","region",""
132
+ "MUS","Mauritius","country","region",""
133
+ "MWI","Malawi","country","region",""
134
+ "MYS","Malaysia","country","region",""
135
+ "NAM","Namibia","country","region",""
136
+ "NCL","New Caledonia","country","region",""
137
+ "NER","Niger","country","region",""
138
+ "NGA","Nigeria","country","region",""
139
+ "NIC","Nicaragua","country","region",""
140
+ "NLD","Netherlands","country","region",""
141
+ "NOR","Norway","country","region",""
142
+ "NPL","Nepal","country","region",""
143
+ "NRU","Nauru","country","region",""
144
+ "NZL","New Zealand","country","region",""
145
+ "OMN","Oman","country","region",""
146
+ "PAK","Pakistan","country","region",""
147
+ "PAN","Panama","country","region",""
148
+ "PER","Peru","country","region",""
149
+ "PHL","The Philippines","country","region",""
150
+ "PNG","Papua New Guinea","country","region",""
151
+ "POL","Poland","country","region",""
152
+ "PRI","Puerto Rico","country","region",""
153
+ "PRK","North Korea","country","region",""
154
+ "PRT","Portugal","country","region",""
155
+ "PRY","Paraguay","country","region",""
156
+ "PSE","Palestine (State of)","country","region",""
157
+ "PYF","French Polynesia","country","region",""
158
+ "QAT","Qatar","country","region",""
159
+ "REU","Reunion","country","region",""
160
+ "ROU","Romania","country","region",""
161
+ "RUS","Russia","country","region",""
162
+ "RWA","Rwanda","country","region",""
163
+ "SAU","Saudi Arabia","country","region",""
164
+ "SDN","Sudan","country","region",""
165
+ "SEN","Senegal","country","region",""
166
+ "SGP","Singapore","country","region",""
167
+ "SLB","Solomon Islands","country","region",""
168
+ "SLE","Sierra Leone","country","region",""
169
+ "SLV","El Salvador","country","region",""
170
+ "SOM","Somalia","country","region",""
171
+ "SPM","Saint Pierre and Miquelon","country","region",""
172
+ "SRB","Serbia","country","region",""
173
+ "SSD","South Sudan","country","region",""
174
+ "STP","Sao Tome and Principe","country","region",""
175
+ "SUR","Suriname","country","region",""
176
+ "SVK","Slovakia","country","region",""
177
+ "SVN","Slovenia","country","region",""
178
+ "SWE","Sweden","country","region",""
179
+ "SWZ","Eswatini","country","region",""
180
+ "SYC","Seychelles","country","region",""
181
+ "SYR","Syria","country","region",""
182
+ "TCA","Turks and Caicos Islands","country","region",""
183
+ "TCD","Chad","country","region",""
184
+ "TGO","Togo","country","region",""
185
+ "THA","Thailand","country","region",""
186
+ "TJK","Tajikistan","country","region",""
187
+ "TKM","Turkmenistan","country","region",""
188
+ "TON","Tonga","country","region",""
189
+ "TTO","Trinidad and Tobago","country","region",""
190
+ "TUN","Tunisia","country","region",""
191
+ "TUR","Türkiye","country","region",""
192
+ "TWN","Taiwan (China)","country","region",""
193
+ "TZA","Tanzania (the United Republic of)","country","region",""
194
+ "UGA","Uganda","country","region",""
195
+ "UKR","Ukraine","country","region",""
196
+ "URY","Uruguay","country","region",""
197
+ "USA","United States","country","region",""
198
+ "UZB","Uzbekistan","country","region",""
199
+ "VCT","Saint Vincent and the Grenadines","country","region",""
200
+ "VEN","Venezuela","country","region",""
201
+ "VGB","Virgin Islands (British)","country","region",""
202
+ "VIR","Virgin Islands (U.S.)","country","region",""
203
+ "VNM","Viet Nam","country","region",""
204
+ "VUT","Vanuatu","country","region",""
205
+ "WSM","Samoa","country","region",""
206
+ "XKX","Kosovo","country","region",""
207
+ "YEM","Yemen","country","region",""
208
+ "ZAF","South Africa","country","region",""
209
+ "ZMB","Zambia","country","region",""
210
+ "ZWE","Zimbabwe","country","region",""
211
+ "CONT_SOUTH_AMERICA","South America","aggregate","continent","Continent codes are prefixed: the continent and Ember-region partitions disagree about the names they share."
212
+ "CONT_ASIA","Asia","aggregate","continent","Continent codes are prefixed: the continent and Ember-region partitions disagree about the names they share."
213
+ "CONT_AFRICA","Africa","aggregate","continent","Continent codes are prefixed: the continent and Ember-region partitions disagree about the names they share."
214
+ "CONT_EUROPE","Europe","aggregate","continent","Continent codes are prefixed: the continent and Ember-region partitions disagree about the names they share."
215
+ "CONT_OCEANIA","Oceania","aggregate","continent","Continent codes are prefixed: the continent and Ember-region partitions disagree about the names they share."
216
+ "CONT_NORTH_AMERICA","North America","aggregate","continent","Continent codes are prefixed: the continent and Ember-region partitions disagree about the names they share."
217
+ "LATIN_AMERICA_AND_CARIBBEAN","Latin America and Caribbean","aggregate","ember_region",""
218
+ "ASIA","Asia","aggregate","ember_region",""
219
+ "AFRICA","Africa","aggregate","ember_region",""
220
+ "EUROPE","Europe","aggregate","ember_region",""
221
+ "MIDDLE_EAST","Middle East","aggregate","ember_region",""
222
+ "OCEANIA","Oceania","aggregate","ember_region",""
223
+ "NORTH_AMERICA","North America","aggregate","ember_region",""
224
+ "ASEAN","ASEAN","aggregate","asean",""
225
+ "AU","AU","aggregate","","Ember ships this only as a precomputed aggregate row; no membership column exists upstream, so it is not derivable."
226
+ "EU","EU","aggregate","eu",""
227
+ "G20","G20","aggregate","g20",""
228
+ "G7","G7","aggregate","g7",""
229
+ "MENA","MENA","aggregate","","Ember ships this only as a precomputed aggregate row; no membership column exists upstream, so it is not derivable."
230
+ "OECD","OECD","aggregate","oecd",""
231
+ "WORLD","World","aggregate","world",""
source.yml ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version: 1
2
+ id: ember
3
+ name: Ember
4
+ publisher: Ember
5
+ description: Global electricity generation, capacity, demand and emissions, from Ember's
6
+ public bulk data releases.
7
+ homepage: https://ember-energy.org/data/
8
+ tags:
9
+ - electricity
10
+ - generation
11
+ - capacity
12
+ - emissions
13
+ - global
14
+ license: CC-BY-4.0
15
+ license_url: https://creativecommons.org/licenses/by/4.0/
16
+ license_file: LICENSE-CC-BY-4.0.txt
17
+ citation: Yearly and monthly electricity data, Ember. https://ember-energy.org/data/
18
+ attribution: 'Data: Ember - CC-BY-4.0'
19
+ attribution_required: yes
20
+ no_additional_restrictions: yes
21
+ redistribution: permitted
22
+ visibility: public
23
+ notice_file: NOTICE.md
24
+ disclaimer_file: DISCLAIMER.md
25
+ disclaimer:
26
+ redistributor: OptimalSolution LLC
27
+ role: redistribution-only
28
+ responsibility: none
29
+ endorsement: none
30
+ affiliation: none
31
+ warranty: none
32
+ governing_terms: The original publisher's licence and terms govern.
33
+ modifications: restructured
34
+ scales:
35
+ geoscale: scales/ember_geoscale.json
36
+ leaftable: scales/ember_areas.csv
37
+ labels: scales/ember_labels.csv
38
+ reader: scales/ember_geoscale.R
39
+ geometry_ref: basemaps:ne_countries_50m
40
+ calendars: ../../scales/calendars.json
41
+ retrieval:
42
+ method: bulk_csv
43
+ base_url: https://files.ember-energy.org/public-downloads/
44
+ api:
45
+ base_url: https://api.ember-energy.org
46
+ key_env: EMBER_API_KEY
47
+ freshness_path: /v1/options/{dataset}/{resolution}/date
48
+ note: Build-time only and never published. The bulk CSVs are the build path precisely
49
+ because they need no key, so the build is reproducible by anyone.
50
+ fetch_tool: scripts/fetch_ember.py
51
+ build_tool: r-worker/build_ember.R
52
+ files:
53
+ - dataset: generation_yearly
54
+ url: https://files.ember-energy.org/public-downloads/generation/outputs/release_generation_yearly_global.csv
55
+ bytes: 16086064
56
+ sha256: b535c81592424ba9c09cc735e7cc4baf0aa518daf116996d959845ca4ca54bf0
57
+ last_modified: Tue, 08 Sep 2026 17:01:30 GMT
58
+ fetched_at: '2026-09-17T15:16:18Z'
59
+ - dataset: generation_monthly
60
+ url: https://files.ember-energy.org/public-downloads/generation/outputs/release_generation_monthly_global.csv
61
+ bytes: 28105387
62
+ sha256: 993427c0ebe4f02d881f9374bda4f7a150ef4109a428085b8654dd1fd3cb15c7
63
+ last_modified: Tue, 08 Sep 2026 17:01:31 GMT
64
+ fetched_at: '2026-09-17T15:16:20Z'
65
+ - dataset: capacity_wind_solar_monthly
66
+ url: https://files.ember-energy.org/public-downloads/capacity/outputs/monthly_capacity_wind_solar_public_release_file.csv
67
+ bytes: 1192992
68
+ sha256: 770f6f7da74075efd6b541f3823efd4b3b87e29f733093982cc5c298ffc8fafb
69
+ last_modified: Mon, 07 Sep 2026 11:54:09 GMT
70
+ fetched_at: '2026-09-17T15:16:21Z'
71
+ datasets:
72
+ - ember_generation_yearly
73
+ - ember_generation_monthly
74
+ - ember_capacity_wind_solar_monthly
75
+ notes:
76
+ - Demand and carbon intensity are SERIES and measures inside the generation tables,
77
+ not separate datasets -- which is why the three bulk files cover what the API exposes
78
+ as six endpoints.
79
+ - is_derived marks Ember's own aggregate series (Total generation, Clean, Fossil,
80
+ Renewables, Demand, ...). Summing across `series` without filtering it double-counts.
81
+ - entity_kind separates countries from Ember's 15 precomputed aggregates. The groups
82
+ OVERLAP (EU is a subset of OECD), so summing across entity_id without filtering
83
+ double-counts differently.
84
+ - AU and MENA have no membership column upstream and cannot be derived from country
85
+ rows; they are readable only as the aggregate rows Ember ships.