Repository: mlco2/codecarbon (language: python)

Issue:
Catch error from pynvml.nvmlDeviceGetTotalEnergyConsumption
### Description

This is a follow-up issue discovered by #578.

Whenever we call `pynvml.nvmlDeviceGetTotalEnergyConsumption` it could throw an exception. Logs taken from the other issue:
```
[codecarbon WARNING @ 11:19:56] Invalid gpu_ids format. Expected a string or a list of ints.
[codecarbon INFO @ 11:19:56] [setup] RAM Tracking...
[codecarbon INFO @ 11:19:56] [setup] GPU Tracking...
[codecarbon INFO @ 11:19:56] Tracking Nvidia GPU via pynvml
Traceback (most recent call last):
  File "/home/ainhoa.vivel/TFM/transfer_learning/baseline.py", line 191, in <module>
    tracker = EmissionsTracker(project_name="baseline")
  File "/home/ainhoa.vivel/anaconda3/envs/tl/lib/python3.9/site-packages/codecarbon/emissions_tracker.py", line 296, in __init__
    gpu_devices = GPU.from_utils(self._gpu_ids)
  File "/home/ainhoa.vivel/anaconda3/envs/tl/lib/python3.9/site-packages/codecarbon/external/hardware.py", line 121, in from_utils
    return cls(gpu_ids=gpu_ids)
  File "<string>", line 4, in __init__
  File "/home/ainhoa.vivel/anaconda3/envs/tl/lib/python3.9/site-packages/codecarbon/external/hardware.py", line 63, in __post_init__
    self.devices = AllGPUDevices()
  File "/home/ainhoa.vivel/anaconda3/envs/tl/lib/python3.9/site-packages/codecarbon/core/gpu.py", line 186, in __init__
    gpu_device = GPUDevice(handle=handle, gpu_index=i)
  File "<string>", line 8, in __init__
  File "/home/ainhoa.vivel/anaconda3/envs/tl/lib/python3.9/site-packages/codecarbon/core/gpu.py", line 24, in __post_init__
    self.last_energy = self._get_energy_kwh()
  File "/home/ainhoa.vivel/anaconda3/envs/tl/lib/python3.9/site-packages/codecarbon/core/gpu.py", line 28, in _get_energy_kwh
    return Energy.from_millijoules(self._get_total_energy_consumption())
  File "/home/ainhoa.vivel/anaconda3/envs/tl/lib/python3.9/site-packages/codecarbon/core/gpu.py", line 95, in _get_total_energy_consumption
    return pynvml.nvmlDeviceGetTotalEnergyConsumption(self.handle)
  File "/home/ainhoa.vivel/anaconda3/envs/tl/lib/python3.9/site-packages/pynvml/nvml.py", line 2411, in nvmlDeviceGetTotalEnergyConsumption
    _nvmlCheckReturn(ret)
  File "/home/ainhoa.vivel/anaconda3/envs/tl/lib/python3.9/site-packages/pynvml/nvml.py", line 833, in _nvmlCheckReturn
    raise NVMLError(ret)
pynvml.nvml.NVMLError: System is not in ready state
```
## Goal
It looks like this error is not properly catched. If this error appears, we should catch it and skip the GPU measurements.



Discussion / hints:

Fix patch:
diff --git a/codecarbon/core/gpu.py b/codecarbon/core/gpu.py
index 70a81cabc..78d171298 100644
--- a/codecarbon/core/gpu.py
+++ b/codecarbon/core/gpu.py
@@ -25,7 +25,10 @@ def __post_init__(self):
         self._init_static_details()
 
     def _get_energy_kwh(self):
-        return Energy.from_millijoules(self._get_total_energy_consumption())
+        total_energy_consumption = self._get_total_energy_consumption()
+        if total_energy_consumption is None:
+            return self.last_energy
+        return Energy.from_millijoules(total_energy_consumption)
 
     def delta(self, duration: Time) -> dict:
         """
@@ -92,7 +95,13 @@ def _get_total_energy_consumption(self):
         """Returns total energy consumption for this GPU in millijoules (mJ) since the driver was last reloaded
         https://docs.nvidia.com/deploy/nvml-api/group__nvmlDeviceQueries.html#group__nvmlDeviceQueries_1g732ab899b5bd18ac4bfb93c02de4900a
         """
-        return pynvml.nvmlDeviceGetTotalEnergyConsumption(self.handle)
+        try:
+            return pynvml.nvmlDeviceGetTotalEnergyConsumption(self.handle)
+        except pynvml.NVMLError:
+            logger.warning(
+                "Failed to retrieve gpu total energy consumption", exc_info=True
+            )
+            return None
 
     def _get_gpu_name(self):
         """Returns the name of the GPU device
diff --git a/codecarbon/data/private_infra/global_energy_mix.json b/codecarbon/data/private_infra/global_energy_mix.json
index 062abbc7b..2459b5da5 100644
--- a/codecarbon/data/private_infra/global_energy_mix.json
+++ b/codecarbon/data/private_infra/global_energy_mix.json
@@ -1,1703 +1,1640 @@
 {
-    "ARE": {
-        "biofuel_TWh": 0.01,
-        "carbon_intensity": 407.975,
-        "coal_TWh": 0.0,
-        "country_name": "United Arab Emirates",
-        "fossil_TWh": 127.67,
-        "gas_TWh": 127.67,
-        "hydroelectricity_TWh": 0,
-        "iso_code": "ARE",
-        "low_carbon_TWh": 27.07,
-        "nuclear_TWh": 20.1,
-        "oil_TWh": 0.0,
-        "other_renewable_TWh": 0.007,
-        "other_renewable_exc_biofuel_TWh": 0,
-        "per_capita_Wh": 16389.973,
-        "renewables_TWh": 6.97,
-        "solar_TWh": 6.96,
-        "total_TWh": 154.74,
-        "wind_TWh": 0.0,
-        "year": 2022
-    },
     "ARG": {
-        "biofuel_TWh": 2.17,
-        "carbon_intensity": 344.307,
-        "coal_TWh": 2.14,
+        "biofuel_TWh": 2.33,
+        "carbon_intensity": 354.103,
+        "coal_TWh": 0.6,
         "country_name": "Argentina",
-        "fossil_TWh": 90.96,
-        "gas_TWh": 76.0,
-        "hydroelectricity_TWh": 26.15,
+        "fossil_TWh": 91.24,
+        "gas_TWh": 73.38,
+        "hydroelectricity_TWh": 33.17,
         "iso_code": "ARG",
-        "low_carbon_TWh": 52.72,
-        "nuclear_TWh": 7.47,
-        "oil_TWh": 12.82,
-        "other_renewable_TWh": 2.17,
-        "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 3157.086,
-        "renewables_TWh": 45.25,
-        "solar_TWh": 2.91,
-        "total_TWh": 143.67999999999998,
-        "wind_TWh": 14.02,
-        "year": 2022
+        "low_carbon_TWh": 62.19,
+        "nuclear_TWh": 8.95,
+        "oil_TWh": 17.26,
+        "other_renewable_TWh": 2.276,
+        "other_renewable_exc_biofuel_TWh": 0,
+        "per_capita_Wh": 3351.911,
+        "renewables_TWh": 53.24,
+        "solar_TWh": 3.25,
+        "total_TWh": 153.42999999999998,
+        "wind_TWh": 14.49,
+        "year": 2023
     },
     "AUS": {
-        "biofuel_TWh": 3.25,
-        "carbon_intensity": 501.7,
-        "coal_TWh": 130.93,
+        "biofuel_TWh": 3.36,
+        "carbon_intensity": 548.692,
+        "coal_TWh": 127.52,
         "country_name": "Australia",
-        "fossil_TWh": 182.69,
-        "gas_TWh": 46.29,
-        "hydroelectricity_TWh": 17.12,
+        "fossil_TWh": 175.73,
+        "gas_TWh": 42.78,
+        "hydroelectricity_TWh": 15.76,
         "iso_code": "AUS",
-        "low_carbon_TWh": 90.86,
+        "low_carbon_TWh": 99.16,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 5.47,
-        "other_renewable_TWh": 3.246,
+        "oil_TWh": 5.43,
+        "other_renewable_TWh": 3.126,
         "other_renewable_exc_biofuel_TWh": 0,
-        "per_capita_Wh": 10449.849,
-        "renewables_TWh": 90.86,
-        "solar_TWh": 38.84,
-        "total_TWh": 273.55,
-        "wind_TWh": 31.65,
-        "year": 2022
+        "per_capita_Wh": 10397.096,
+        "renewables_TWh": 99.16,
+        "solar_TWh": 46.91,
+        "total_TWh": 274.89,
+        "wind_TWh": 33.13,
+        "year": 2023
     },
     "AUT": {
-        "biofuel_TWh": 5.54,
-        "carbon_intensity": 158.222,
-        "coal_TWh": 0.14,
+        "biofuel_TWh": 3.57,
+        "carbon_intensity": 110.812,
+        "coal_TWh": 0.06,
         "country_name": "Austria",
-        "fossil_TWh": 14.95,
-        "gas_TWh": 11.37,
-        "hydroelectricity_TWh": 35.54,
+        "fossil_TWh": 10.39,
+        "gas_TWh": 7.17,
+        "hydroelectricity_TWh": 39.79,
         "iso_code": "AUT",
-        "low_carbon_TWh": 50.97,
+        "low_carbon_TWh": 56.57,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 3.44,
-        "other_renewable_TWh": 5.54,
+        "oil_TWh": 3.16,
+        "other_renewable_TWh": 3.57,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 7373.917,
-        "renewables_TWh": 50.97,
-        "solar_TWh": 2.93,
-        "total_TWh": 65.92,
-        "wind_TWh": 6.96,
-        "year": 2022
-    },
-    "BDI": {
-        "biofuel_TWh": 0.01,
-        "carbon_intensity": 250.0,
-        "coal_TWh": 0.0,
-        "country_name": "Burundi",
-        "fossil_TWh": 0.11,
-        "gas_TWh": 0.0,
-        "hydroelectricity_TWh": 0.23,
-        "iso_code": "BDI",
-        "low_carbon_TWh": 0.25,
-        "nuclear_TWh": 0.0,
-        "oil_TWh": 0.11,
-        "other_renewable_TWh": 0.01,
-        "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 27.93,
-        "renewables_TWh": 0.25,
-        "solar_TWh": 0.01,
-        "total_TWh": 0.36,
-        "wind_TWh": 0.0,
-        "year": 2022
+        "per_capita_Wh": 7474.081,
+        "renewables_TWh": 56.57,
+        "solar_TWh": 5.16,
+        "total_TWh": 66.96000000000001,
+        "wind_TWh": 8.05,
+        "year": 2023
     },
     "BEL": {
-        "biofuel_TWh": 4.45,
-        "carbon_intensity": 167.105,
-        "coal_TWh": 0.04,
+        "biofuel_TWh": 3.93,
+        "carbon_intensity": 138.107,
+        "coal_TWh": 0.05,
         "country_name": "Belgium",
-        "fossil_TWh": 26.8,
-        "gas_TWh": 23.38,
-        "hydroelectricity_TWh": 0.27,
+        "fossil_TWh": 21.74,
+        "gas_TWh": 17.2,
+        "hydroelectricity_TWh": 0.38,
         "iso_code": "BEL",
-        "low_carbon_TWh": 68.35,
-        "nuclear_TWh": 44.11,
-        "oil_TWh": 3.38,
-        "other_renewable_TWh": 4.45,
+        "low_carbon_TWh": 60.66,
+        "nuclear_TWh": 33.42,
+        "oil_TWh": 4.49,
+        "other_renewable_TWh": 3.93,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 8163.231,
-        "renewables_TWh": 24.24,
-        "solar_TWh": 7.36,
-        "total_TWh": 95.15,
-        "wind_TWh": 12.16,
-        "year": 2022
+        "per_capita_Wh": 7051.083,
+        "renewables_TWh": 27.24,
+        "solar_TWh": 7.66,
+        "total_TWh": 82.4,
+        "wind_TWh": 15.27,
+        "year": 2023
     },
     "BGD": {
         "biofuel_TWh": 0.0,
-        "carbon_intensity": 574.278,
-        "coal_TWh": 7.41,
+        "carbon_intensity": 691.411,
+        "coal_TWh": 14.81,
         "country_name": "Bangladesh",
-        "fossil_TWh": 83.59,
-        "gas_TWh": 50.08,
-        "hydroelectricity_TWh": 0.97,
+        "fossil_TWh": 100.57,
+        "gas_TWh": 71.32,
+        "hydroelectricity_TWh": 0.71,
         "iso_code": "BGD",
-        "low_carbon_TWh": 1.63,
+        "low_carbon_TWh": 1.54,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 26.1,
+        "oil_TWh": 14.44,
         "other_renewable_TWh": 0.0,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 497.82,
-        "renewables_TWh": 1.63,
-        "solar_TWh": 0.65,
-        "total_TWh": 85.22,
+        "per_capita_Wh": 590.387,
+        "renewables_TWh": 1.54,
+        "solar_TWh": 0.82,
+        "total_TWh": 102.11,
         "wind_TWh": 0.01,
-        "year": 2022
+        "year": 2023
     },
     "BGR": {
-        "biofuel_TWh": 2.6,
-        "carbon_intensity": 399.723,
-        "coal_TWh": 21.39,
+        "biofuel_TWh": 2.18,
+        "carbon_intensity": 335.334,
+        "coal_TWh": 11.56,
         "country_name": "Bulgaria",
-        "fossil_TWh": 24.66,
-        "gas_TWh": 2.91,
-        "hydroelectricity_TWh": 3.7,
+        "fossil_TWh": 13.47,
+        "gas_TWh": 1.56,
+        "hydroelectricity_TWh": 3.11,
         "iso_code": "BGR",
-        "low_carbon_TWh": 25.9,
-        "nuclear_TWh": 16.46,
-        "oil_TWh": 0.36,
-        "other_renewable_TWh": 2.6,
+        "low_carbon_TWh": 26.52,
+        "nuclear_TWh": 16.16,
+        "oil_TWh": 0.35,
+        "other_renewable_TWh": 2.18,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 7455.078,
-        "renewables_TWh": 9.44,
-        "solar_TWh": 1.7,
-        "total_TWh": 50.56,
-        "wind_TWh": 1.44,
-        "year": 2022
+        "per_capita_Wh": 5979.62,
+        "renewables_TWh": 10.36,
+        "solar_TWh": 3.52,
+        "total_TWh": 39.989999999999995,
+        "wind_TWh": 1.55,
+        "year": 2023
     },
     "BIH": {
         "biofuel_TWh": 0.04,
-        "carbon_intensity": 553.474,
-        "coal_TWh": 10.98,
+        "carbon_intensity": 600.0,
+        "coal_TWh": 9.99,
         "country_name": "Bosnia and Herzegovina",
-        "fossil_TWh": 11.01,
+        "fossil_TWh": 10.02,
         "gas_TWh": 0.0,
-        "hydroelectricity_TWh": 4.97,
+        "hydroelectricity_TWh": 6.37,
         "iso_code": "BIH",
-        "low_carbon_TWh": 5.54,
+        "low_carbon_TWh": 6.88,
         "nuclear_TWh": 0.0,
         "oil_TWh": 0.03,
-        "other_renewable_TWh": 0,
-        "other_renewable_exc_biofuel_TWh": 0,
-        "per_capita_Wh": 5118.245,
-        "renewables_TWh": 5.54,
-        "solar_TWh": 0.14,
-        "total_TWh": 16.55,
-        "wind_TWh": 0.39,
-        "year": 2022
+        "other_renewable_TWh": 0.04,
+        "other_renewable_exc_biofuel_TWh": 0.0,
+        "per_capita_Wh": 5263.396,
+        "renewables_TWh": 6.88,
+        "solar_TWh": 0.21,
+        "total_TWh": 16.9,
+        "wind_TWh": 0.26,
+        "year": 2023
     },
     "BOL": {
-        "biofuel_TWh": 0.38,
-        "carbon_intensity": 335.404,
+        "biofuel_TWh": 0.37,
+        "carbon_intensity": 531.687,
         "coal_TWh": 0.0,
         "country_name": "Bolivia",
-        "fossil_TWh": 7.04,
-        "gas_TWh": 6.4,
-        "hydroelectricity_TWh": 2.88,
+        "fossil_TWh": 8.65,
+        "gas_TWh": 8.44,
+        "hydroelectricity_TWh": 2.31,
         "iso_code": "BOL",
-        "low_carbon_TWh": 4.23,
+        "low_carbon_TWh": 3.5,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.64,
-        "other_renewable_TWh": 0.38,
+        "oil_TWh": 0.21,
+        "other_renewable_TWh": 0.37,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 921.948,
-        "renewables_TWh": 4.23,
-        "solar_TWh": 0.49,
-        "total_TWh": 11.27,
-        "wind_TWh": 0.48,
-        "year": 2022
+        "per_capita_Wh": 980.742,
+        "renewables_TWh": 3.5,
+        "solar_TWh": 0.35,
+        "total_TWh": 12.15,
+        "wind_TWh": 0.47,
+        "year": 2023
     },
     "BRA": {
-        "biofuel_TWh": 57.68,
-        "carbon_intensity": 102.043,
-        "coal_TWh": 15.6,
+        "biofuel_TWh": 53.72,
+        "carbon_intensity": 98.348,
+        "coal_TWh": 17.19,
         "country_name": "Brazil",
-        "fossil_TWh": 74.13,
-        "gas_TWh": 48.32,
-        "hydroelectricity_TWh": 428.06,
+        "fossil_TWh": 66.21,
+        "gas_TWh": 38.16,
+        "hydroelectricity_TWh": 431.28,
         "iso_code": "BRA",
-        "low_carbon_TWh": 606.76,
-        "nuclear_TWh": 14.54,
-        "oil_TWh": 10.21,
-        "other_renewable_TWh": 57.68,
-        "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 3162.319,
-        "renewables_TWh": 592.22,
-        "solar_TWh": 26.48,
-        "total_TWh": 680.89,
-        "wind_TWh": 80.0,
-        "year": 2022
+        "low_carbon_TWh": 646.97,
+        "nuclear_TWh": 14.51,
+        "oil_TWh": 10.86,
+        "other_renewable_TWh": 55.833,
+        "other_renewable_exc_biofuel_TWh": 0,
+        "per_capita_Wh": 3295.314,
+        "renewables_TWh": 632.46,
+        "solar_TWh": 51.72,
+        "total_TWh": 713.1800000000001,
+        "wind_TWh": 95.74,
+        "year": 2023
     },
     "CAN": {
-        "biofuel_TWh": 8.87,
-        "carbon_intensity": 125.842,
-        "coal_TWh": 36.79,
+        "biofuel_TWh": 8.92,
+        "carbon_intensity": 170.043,
+        "coal_TWh": 32.33,
         "country_name": "Canada",
-        "fossil_TWh": 111.07,
-        "gas_TWh": 71.25,
-        "hydroelectricity_TWh": 392.51,
+        "fossil_TWh": 126.1,
+        "gas_TWh": 91.16,
+        "hydroelectricity_TWh": 365.39,
         "iso_code": "CAN",
-        "low_carbon_TWh": 527.35,
-        "nuclear_TWh": 82.28,
-        "oil_TWh": 3.03,
-        "other_renewable_TWh": 8.87,
-        "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 16602.031,
-        "renewables_TWh": 445.07,
-        "solar_TWh": 5.56,
-        "total_TWh": 638.42,
-        "wind_TWh": 38.13,
-        "year": 2022
+        "low_carbon_TWh": 508.8,
+        "nuclear_TWh": 88.91,
+        "oil_TWh": 2.61,
+        "other_renewable_TWh": 10.384,
+        "other_renewable_exc_biofuel_TWh": 0,
+        "per_capita_Wh": 16371.299,
+        "renewables_TWh": 419.89,
+        "solar_TWh": 7.48,
+        "total_TWh": 634.9,
+        "wind_TWh": 38.1,
+        "year": 2023
     },
     "CHE": {
         "biofuel_TWh": 0.96,
-        "carbon_intensity": 41.279,
+        "carbon_intensity": 34.843,
         "coal_TWh": 0,
         "country_name": "Switzerland",
         "fossil_TWh": 1.72,
         "gas_TWh": 0.5,
-        "hydroelectricity_TWh": 30.48,
+        "hydroelectricity_TWh": 38.55,
         "iso_code": "CHE",
-        "low_carbon_TWh": 60.54,
-        "nuclear_TWh": 23.95,
+        "low_carbon_TWh": 69.17,
+        "nuclear_TWh": 24.19,
         "oil_TWh": 1.22,
         "other_renewable_TWh": 2.07,
         "other_renewable_exc_biofuel_TWh": 1.11,
-        "per_capita_Wh": 7123.186,
-        "renewables_TWh": 36.59,
-        "solar_TWh": 3.87,
-        "total_TWh": 62.260000000000005,
+        "per_capita_Wh": 8058.73,
+        "renewables_TWh": 44.98,
+        "solar_TWh": 4.19,
+        "total_TWh": 70.89,
         "wind_TWh": 0.17,
-        "year": 2022
+        "year": 2023
     },
     "CHL": {
         "biofuel_TWh": 0,
-        "carbon_intensity": 332.612,
-        "coal_TWh": 19.16,
+        "carbon_intensity": 291.113,
+        "coal_TWh": 13.96,
         "country_name": "Chile",
-        "fossil_TWh": 39.15,
-        "gas_TWh": 15.89,
-        "hydroelectricity_TWh": 20.27,
+        "fossil_TWh": 32.76,
+        "gas_TWh": 15.49,
+        "hydroelectricity_TWh": 23.9,
         "iso_code": "CHL",
-        "low_carbon_TWh": 44.07,
+        "low_carbon_TWh": 50.85,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 4.1,
-        "other_renewable_TWh": 6.23,
-        "other_renewable_exc_biofuel_TWh": 0.46,
-        "per_capita_Wh": 4245.109,
-        "renewables_TWh": 44.07,
-        "solar_TWh": 14.52,
-        "total_TWh": 83.22,
-        "wind_TWh": 8.82,
-        "year": 2022
+        "oil_TWh": 3.31,
+        "other_renewable_TWh": 6.027,
+        "other_renewable_exc_biofuel_TWh": 0.42,
+        "per_capita_Wh": 4259.386,
+        "renewables_TWh": 50.85,
+        "solar_TWh": 16.65,
+        "total_TWh": 83.61,
+        "wind_TWh": 9.88,
+        "year": 2023
     },
     "CHN": {
-        "biofuel_TWh": 176.63,
-        "carbon_intensity": 533.983,
-        "coal_TWh": 5397.8,
+        "biofuel_TWh": 187.05,
+        "carbon_intensity": 582.317,
+        "coal_TWh": 5741.51,
         "country_name": "China",
-        "fossil_TWh": 5760.75,
-        "gas_TWh": 290.58,
-        "hydroelectricity_TWh": 1303.13,
+        "fossil_TWh": 6122.63,
+        "gas_TWh": 307.6,
+        "hydroelectricity_TWh": 1245.17,
         "iso_code": "CHN",
-        "low_carbon_TWh": 3087.98,
-        "nuclear_TWh": 417.8,
-        "oil_TWh": 72.37,
-        "other_renewable_TWh": 176.629,
+        "low_carbon_TWh": 3336.96,
+        "nuclear_TWh": 434.72,
+        "oil_TWh": 73.52,
+        "other_renewable_TWh": 198.125,
         "other_renewable_exc_biofuel_TWh": 0,
-        "per_capita_Wh": 6205.771,
-        "renewables_TWh": 2670.18,
-        "solar_TWh": 427.72,
-        "total_TWh": 8848.73,
-        "wind_TWh": 762.7,
-        "year": 2022
+        "per_capita_Wh": 6635.183,
+        "renewables_TWh": 2902.24,
+        "solar_TWh": 584.15,
+        "total_TWh": 9459.589999999998,
+        "wind_TWh": 885.87,
+        "year": 2023
     },
     "COL": {
-        "biofuel_TWh": 1.83,
-        "carbon_intensity": 163.985,
-        "coal_TWh": 4.29,
+        "biofuel_TWh": 2.18,
+        "carbon_intensity": 259.511,
+        "coal_TWh": 8.51,
         "country_name": "Colombia",
-        "fossil_TWh": 20.12,
-        "gas_TWh": 12.73,
-        "hydroelectricity_TWh": 62.01,
+        "fossil_TWh": 29.07,
+        "gas_TWh": 17.6,
+        "hydroelectricity_TWh": 54.24,
         "iso_code": "COL",
-        "low_carbon_TWh": 64.4,
+        "low_carbon_TWh": 57.67,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 3.1,
-        "other_renewable_TWh": 1.83,
+        "oil_TWh": 2.96,
+        "other_renewable_TWh": 2.18,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 1629.332,
-        "renewables_TWh": 64.4,
-        "solar_TWh": 0.49,
-        "total_TWh": 84.52000000000001,
-        "wind_TWh": 0.07,
-        "year": 2022
+        "per_capita_Wh": 1665.349,
+        "renewables_TWh": 57.67,
+        "solar_TWh": 1.04,
+        "total_TWh": 86.74000000000001,
+        "wind_TWh": 0.21,
+        "year": 2023
     },
     "CRI": {
-        "biofuel_TWh": 0.02,
-        "carbon_intensity": 37.213,
+        "biofuel_TWh": 0.17,
+        "carbon_intensity": 53.378,
         "coal_TWh": 0.0,
         "country_name": "Costa Rica",
-        "fossil_TWh": 0.25,
+        "fossil_TWh": 0.51,
         "gas_TWh": 0.0,
-        "hydroelectricity_TWh": 9.3,
+        "hydroelectricity_TWh": 8.45,
         "iso_code": "CRI",
-        "low_carbon_TWh": 12.38,
+        "low_carbon_TWh": 11.48,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.25,
-        "other_renewable_TWh": 1.66,
-        "other_renewable_exc_biofuel_TWh": 1.64,
-        "per_capita_Wh": 2437.83,
-        "renewables_TWh": 12.38,
-        "solar_TWh": 0.06,
-        "total_TWh": 12.63,
-        "wind_TWh": 1.36,
-        "year": 2022
+        "oil_TWh": 0.51,
+        "other_renewable_TWh": 1.49,
+        "other_renewable_exc_biofuel_TWh": 1.32,
+        "per_capita_Wh": 2300.382,
+        "renewables_TWh": 11.48,
+        "solar_TWh": 0.07,
+        "total_TWh": 11.99,
+        "wind_TWh": 1.47,
+        "year": 2023
     },
     "CYP": {
         "biofuel_TWh": 0.06,
-        "carbon_intensity": 589.354,
+        "carbon_intensity": 534.323,
         "coal_TWh": 0.0,
         "country_name": "Cyprus",
-        "fossil_TWh": 4.37,
+        "fossil_TWh": 4.3,
         "gas_TWh": 0.0,
         "hydroelectricity_TWh": 0.0,
         "iso_code": "CYP",
-        "low_carbon_TWh": 0.89,
+        "low_carbon_TWh": 1.09,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 4.37,
+        "oil_TWh": 4.3,
         "other_renewable_TWh": 0.06,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 4202.983,
-        "renewables_TWh": 0.89,
-        "solar_TWh": 0.61,
-        "total_TWh": 5.26,
-        "wind_TWh": 0.22,
-        "year": 2022
+        "per_capita_Wh": 4277.289,
+        "renewables_TWh": 1.09,
+        "solar_TWh": 0.82,
+        "total_TWh": 5.39,
+        "wind_TWh": 0.21,
+        "year": 2023
     },
     "CZE": {
-        "biofuel_TWh": 5.3,
-        "carbon_intensity": 414.803,
-        "coal_TWh": 36.94,
+        "biofuel_TWh": 5.22,
+        "carbon_intensity": 449.724,
+        "coal_TWh": 30.63,
         "country_name": "Czechia",
-        "fossil_TWh": 43.46,
-        "gas_TWh": 6.52,
-        "hydroelectricity_TWh": 2.02,
+        "fossil_TWh": 34.45,
+        "gas_TWh": 2.37,
+        "hydroelectricity_TWh": 2.34,
         "iso_code": "CZE",
-        "low_carbon_TWh": 41.52,
-        "nuclear_TWh": 31.03,
-        "oil_TWh": 0.0,
-        "other_renewable_TWh": 5.31,
-        "other_renewable_exc_biofuel_TWh": 0.01,
-        "per_capita_Wh": 8097.969,
-        "renewables_TWh": 10.49,
-        "solar_TWh": 2.51,
-        "total_TWh": 84.98,
-        "wind_TWh": 0.65,
-        "year": 2022
+        "low_carbon_TWh": 41.73,
+        "nuclear_TWh": 30.4,
+        "oil_TWh": 1.45,
+        "other_renewable_TWh": 5.22,
+        "other_renewable_exc_biofuel_TWh": 0.0,
+        "per_capita_Wh": 7258.489,
+        "renewables_TWh": 11.33,
+        "solar_TWh": 3.05,
+        "total_TWh": 76.18,
+        "wind_TWh": 0.72,
+        "year": 2023
     },
     "DEU": {
-        "biofuel_TWh": 41.51,
-        "carbon_intensity": 385.389,
-        "coal_TWh": 178.94,
+        "biofuel_TWh": 46.02,
+        "carbon_intensity": 380.95,
+        "coal_TWh": 135.35,
         "country_name": "Germany",
-        "fossil_TWh": 280.96,
-        "gas_TWh": 79.8,
-        "hydroelectricity_TWh": 17.06,
+        "fossil_TWh": 231.48,
+        "gas_TWh": 76.0,
+        "hydroelectricity_TWh": 19.48,
         "iso_code": "DEU",
-        "low_carbon_TWh": 279.59,
-        "nuclear_TWh": 35.86,
-        "oil_TWh": 22.22,
-        "other_renewable_TWh": 41.75,
-        "other_renewable_exc_biofuel_TWh": 0.24,
-        "per_capita_Wh": 6723.654,
-        "renewables_TWh": 243.73,
-        "solar_TWh": 60.01,
-        "total_TWh": 560.55,
-        "wind_TWh": 124.91,
-        "year": 2022
+        "low_carbon_TWh": 273.31,
+        "nuclear_TWh": 8.75,
+        "oil_TWh": 20.13,
+        "other_renewable_TWh": 46.23,
+        "other_renewable_exc_biofuel_TWh": 0.21,
+        "per_capita_Wh": 6060.295,
+        "renewables_TWh": 264.56,
+        "solar_TWh": 61.56,
+        "total_TWh": 504.78999999999996,
+        "wind_TWh": 137.29,
+        "year": 2023
     },
     "DNK": {
-        "biofuel_TWh": 7.96,
-        "carbon_intensity": 180.418,
-        "coal_TWh": 3.62,
+        "biofuel_TWh": 6.92,
+        "carbon_intensity": 151.65,
+        "coal_TWh": 2.67,
         "country_name": "Denmark",
-        "fossil_TWh": 5.51,
-        "gas_TWh": 1.03,
-        "hydroelectricity_TWh": 0.02,
+        "fossil_TWh": 4.17,
+        "gas_TWh": 0.85,
+        "hydroelectricity_TWh": 0.01,
         "iso_code": "DNK",
-        "low_carbon_TWh": 28.91,
+        "low_carbon_TWh": 29.46,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.86,
-        "other_renewable_TWh": 7.96,
+        "oil_TWh": 0.65,
+        "other_renewable_TWh": 6.92,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 5851.493,
-        "renewables_TWh": 28.91,
-        "solar_TWh": 2.0,
-        "total_TWh": 34.42,
-        "wind_TWh": 18.93,
-        "year": 2022
+        "per_capita_Wh": 5689.479,
+        "renewables_TWh": 29.46,
+        "solar_TWh": 3.12,
+        "total_TWh": 33.63,
+        "wind_TWh": 19.41,
+        "year": 2023
     },
     "ECU": {
-        "biofuel_TWh": 0.4,
-        "carbon_intensity": 183.63,
+        "biofuel_TWh": 0.43,
+        "carbon_intensity": 150.224,
         "coal_TWh": 0.0,
         "country_name": "Ecuador",
-        "fossil_TWh": 7.98,
-        "gas_TWh": 0.91,
-        "hydroelectricity_TWh": 24.63,
+        "fossil_TWh": 6.43,
+        "gas_TWh": 0.84,
+        "hydroelectricity_TWh": 26.58,
         "iso_code": "ECU",
-        "low_carbon_TWh": 25.13,
+        "low_carbon_TWh": 27.12,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 7.07,
-        "other_renewable_TWh": 0.4,
+        "oil_TWh": 5.59,
+        "other_renewable_TWh": 0.43,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 1839.342,
-        "renewables_TWh": 25.13,
+        "per_capita_Wh": 1844.37,
+        "renewables_TWh": 27.12,
         "solar_TWh": 0.04,
-        "total_TWh": 33.11,
-        "wind_TWh": 0.06,
-        "year": 2022
+        "total_TWh": 33.55,
+        "wind_TWh": 0.07,
+        "year": 2023
     },
     "EGY": {
         "biofuel_TWh": 0.0,
-        "carbon_intensity": 469.63,
+        "carbon_intensity": 570.306,
         "coal_TWh": 0.0,
         "country_name": "Egypt",
-        "fossil_TWh": 184.75,
-        "gas_TWh": 153.46,
-        "hydroelectricity_TWh": 14.07,
+        "fossil_TWh": 177.29,
+        "gas_TWh": 168.54,
+        "hydroelectricity_TWh": 13.88,
         "iso_code": "EGY",
-        "low_carbon_TWh": 23.35,
+        "low_carbon_TWh": 23.69,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 31.29,
+        "oil_TWh": 8.75,
         "other_renewable_TWh": 0.0,
-        "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 1874.942,
-        "renewables_TWh": 23.35,
-        "solar_TWh": 5.05,
-        "total_TWh": 208.1,
-        "wind_TWh": 4.23,
-        "year": 2022
+        "other_renewable_exc_biofuel_TWh": 0,
+        "per_capita_Wh": 1783.056,
+        "renewables_TWh": 23.69,
+        "solar_TWh": 4.67,
+        "total_TWh": 200.98,
+        "wind_TWh": 5.14,
+        "year": 2023
     },
     "ESP": {
-        "biofuel_TWh": 6.82,
-        "carbon_intensity": 217.422,
-        "coal_TWh": 7.62,
+        "biofuel_TWh": 5.86,
+        "carbon_intensity": 174.05,
+        "coal_TWh": 3.9,
         "country_name": "Spain",
-        "fossil_TWh": 106.29,
-        "gas_TWh": 87.14,
-        "hydroelectricity_TWh": 18.79,
+        "fossil_TWh": 77.87,
+        "gas_TWh": 63.24,
+        "hydroelectricity_TWh": 20.01,
         "iso_code": "ESP",
-        "low_carbon_TWh": 178.87,
-        "nuclear_TWh": 58.53,
-        "oil_TWh": 11.53,
-        "other_renewable_TWh": 6.82,
+        "low_carbon_TWh": 191.88,
+        "nuclear_TWh": 56.8,
+        "oil_TWh": 10.73,
+        "other_renewable_TWh": 5.86,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 5995.968,
-        "renewables_TWh": 120.34,
-        "solar_TWh": 32.83,
-        "total_TWh": 285.15999999999997,
-        "wind_TWh": 61.9,
-        "year": 2022
+        "per_capita_Wh": 5676.602,
+        "renewables_TWh": 135.08,
+        "solar_TWh": 45.08,
+        "total_TWh": 269.75,
+        "wind_TWh": 64.13,
+        "year": 2023
     },
     "EST": {
-        "biofuel_TWh": 2.49,
-        "carbon_intensity": 460.261,
+        "biofuel_TWh": 1.33,
+        "carbon_intensity": 416.667,
         "coal_TWh": 0.0,
         "country_name": "Estonia",
-        "fossil_TWh": 4.69,
+        "fossil_TWh": 3.61,
         "gas_TWh": 0.05,
         "hydroelectricity_TWh": 0.02,
         "iso_code": "EST",
-        "low_carbon_TWh": 3.74,
+        "low_carbon_TWh": 2.87,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 4.64,
-        "other_renewable_TWh": 2.49,
+        "oil_TWh": 3.56,
+        "other_renewable_TWh": 1.33,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 6357.159,
-        "renewables_TWh": 3.74,
-        "solar_TWh": 0.6,
-        "total_TWh": 8.43,
-        "wind_TWh": 0.63,
-        "year": 2022
+        "per_capita_Wh": 4898.833,
+        "renewables_TWh": 2.87,
+        "solar_TWh": 0.77,
+        "total_TWh": 6.48,
+        "wind_TWh": 0.75,
+        "year": 2023
     },
     "FIN": {
-        "biofuel_TWh": 13.93,
-        "carbon_intensity": 131.709,
-        "coal_TWh": 2.98,
+        "biofuel_TWh": 11.07,
+        "carbon_intensity": 79.158,
+        "coal_TWh": 1.58,
         "country_name": "Finland",
-        "fossil_TWh": 7.88,
-        "gas_TWh": 1.32,
-        "hydroelectricity_TWh": 13.74,
+        "fossil_TWh": 4.46,
+        "gas_TWh": 0.53,
+        "hydroelectricity_TWh": 15.11,
         "iso_code": "FIN",
-        "low_carbon_TWh": 64.78,
-        "nuclear_TWh": 25.09,
-        "oil_TWh": 3.58,
-        "other_renewable_TWh": 13.93,
+        "low_carbon_TWh": 75.38,
+        "nuclear_TWh": 33.92,
+        "oil_TWh": 2.35,
+        "other_renewable_TWh": 11.07,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 13113.76,
-        "renewables_TWh": 39.69,
-        "solar_TWh": 0.3,
-        "total_TWh": 72.66,
-        "wind_TWh": 11.72,
-        "year": 2022
+        "per_capita_Wh": 14397.32,
+        "renewables_TWh": 41.46,
+        "solar_TWh": 0.65,
+        "total_TWh": 79.84,
+        "wind_TWh": 14.63,
+        "year": 2023
     },
     "FRA": {
-        "biofuel_TWh": 10.03,
-        "carbon_intensity": 84.879,
-        "coal_TWh": 4.41,
+        "biofuel_TWh": 9.5,
+        "carbon_intensity": 56.039,
+        "coal_TWh": 2.16,
         "country_name": "France",
-        "fossil_TWh": 57.28,
-        "gas_TWh": 43.19,
-        "hydroelectricity_TWh": 46.29,
+        "fossil_TWh": 43.3,
+        "gas_TWh": 31.43,
+        "hydroelectricity_TWh": 53.19,
         "iso_code": "FRA",
-        "low_carbon_TWh": 413.39,
-        "nuclear_TWh": 297.88,
-        "oil_TWh": 9.68,
-        "other_renewable_TWh": 10.61,
-        "other_renewable_exc_biofuel_TWh": 0.58,
-        "per_capita_Wh": 7282.912,
-        "renewables_TWh": 115.51,
-        "solar_TWh": 20.05,
-        "total_TWh": 470.67,
-        "wind_TWh": 38.56,
-        "year": 2022
+        "low_carbon_TWh": 470.81,
+        "nuclear_TWh": 335.65,
+        "oil_TWh": 9.71,
+        "other_renewable_TWh": 10.1,
+        "other_renewable_exc_biofuel_TWh": 0.6,
+        "per_capita_Wh": 7939.115,
+        "renewables_TWh": 135.16,
+        "solar_TWh": 23.26,
+        "total_TWh": 514.1099999999999,
+        "wind_TWh": 48.61,
+        "year": 2023
     },
     "GBR": {
-        "biofuel_TWh": 35.45,
-        "carbon_intensity": 261.155,
-        "coal_TWh": 5.57,
+        "biofuel_TWh": 33.85,
+        "carbon_intensity": 237.589,
+        "coal_TWh": 4.06,
         "country_name": "United Kingdom",
-        "fossil_TWh": 143.42,
-        "gas_TWh": 125.3,
-        "hydroelectricity_TWh": 5.32,
+        "fossil_TWh": 117.15,
+        "gas_TWh": 100.52,
+        "hydroelectricity_TWh": 5.23,
         "iso_code": "GBR",
-        "low_carbon_TWh": 182.67,
-        "nuclear_TWh": 47.72,
-        "oil_TWh": 12.55,
-        "other_renewable_TWh": 35.451,
+        "low_carbon_TWh": 176.34,
+        "nuclear_TWh": 41.29,
+        "oil_TWh": 12.57,
+        "other_renewable_TWh": 33.99,
         "other_renewable_exc_biofuel_TWh": 0,
-        "per_capita_Wh": 4830.323,
-        "renewables_TWh": 134.95,
-        "solar_TWh": 13.92,
-        "total_TWh": 326.09000000000003,
-        "wind_TWh": 80.26,
-        "year": 2022
+        "per_capita_Wh": 4332.8,
+        "renewables_TWh": 135.05,
+        "solar_TWh": 13.51,
+        "total_TWh": 293.49,
+        "wind_TWh": 82.46,
+        "year": 2023
     },
     "GEO": {
         "biofuel_TWh": 0.0,
-        "carbon_intensity": 134.831,
+        "carbon_intensity": 167.594,
         "coal_TWh": 0.0,
         "country_name": "Georgia",
-        "fossil_TWh": 3.39,
-        "gas_TWh": 3.39,
-        "hydroelectricity_TWh": 10.77,
+        "fossil_TWh": 3.44,
+        "gas_TWh": 3.44,
+        "hydroelectricity_TWh": 10.85,
         "iso_code": "GEO",
-        "low_carbon_TWh": 10.85,
+        "low_carbon_TWh": 10.94,
         "nuclear_TWh": 0.0,
         "oil_TWh": 0.0,
         "other_renewable_TWh": 0.0,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 3803.028,
-        "renewables_TWh": 10.85,
+        "per_capita_Wh": 3857.009,
+        "renewables_TWh": 10.94,
         "solar_TWh": 0.0,
-        "total_TWh": 14.24,
-        "wind_TWh": 0.08,
-        "year": 2022
+        "total_TWh": 14.379999999999999,
+        "wind_TWh": 0.09,
+        "year": 2023
     },
     "GRC": {
-        "biofuel_TWh": 0.5,
-        "carbon_intensity": 344.413,
-        "coal_TWh": 5.48,
+        "biofuel_TWh": 0.57,
+        "carbon_intensity": 336.574,
+        "coal_TWh": 4.72,
         "country_name": "Greece",
-        "fossil_TWh": 29.75,
-        "gas_TWh": 19.56,
-        "hydroelectricity_TWh": 4.73,
+        "fossil_TWh": 24.64,
+        "gas_TWh": 15.65,
+        "hydroelectricity_TWh": 3.87,
         "iso_code": "GRC",
-        "low_carbon_TWh": 22.6,
+        "low_carbon_TWh": 24.74,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 4.71,
-        "other_renewable_TWh": 0.5,
+        "oil_TWh": 4.27,
+        "other_renewable_TWh": 0.57,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 5040.938,
-        "renewables_TWh": 22.6,
-        "solar_TWh": 6.5,
-        "total_TWh": 52.35,
-        "wind_TWh": 10.87,
-        "year": 2022
+        "per_capita_Wh": 4775.04,
+        "renewables_TWh": 24.74,
+        "solar_TWh": 9.39,
+        "total_TWh": 49.379999999999995,
+        "wind_TWh": 10.91,
+        "year": 2023
     },
     "HRV": {
-        "biofuel_TWh": 1.15,
-        "carbon_intensity": 246.285,
-        "coal_TWh": 1.54,
+        "biofuel_TWh": 1.1,
+        "carbon_intensity": 204.962,
+        "coal_TWh": 1.35,
         "country_name": "Croatia",
-        "fossil_TWh": 5.19,
-        "gas_TWh": 3.64,
-        "hydroelectricity_TWh": 5.35,
+        "fossil_TWh": 5.25,
+        "gas_TWh": 3.73,
+        "hydroelectricity_TWh": 7.87,
         "iso_code": "HRV",
-        "low_carbon_TWh": 8.94,
+        "low_carbon_TWh": 11.68,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.01,
-        "other_renewable_TWh": 1.16,
-        "other_renewable_exc_biofuel_TWh": 0.01,
-        "per_capita_Wh": 3505.889,
-        "renewables_TWh": 8.94,
-        "solar_TWh": 0.15,
-        "total_TWh": 14.129999999999999,
-        "wind_TWh": 2.28,
-        "year": 2022
+        "oil_TWh": 0.17,
+        "other_renewable_TWh": 1.1,
+        "other_renewable_exc_biofuel_TWh": 0.0,
+        "per_capita_Wh": 4223.404,
+        "renewables_TWh": 11.68,
+        "solar_TWh": 0.19,
+        "total_TWh": 16.93,
+        "wind_TWh": 2.52,
+        "year": 2023
     },
     "HUN": {
-        "biofuel_TWh": 2.25,
-        "carbon_intensity": 222.098,
-        "coal_TWh": 2.9,
+        "biofuel_TWh": 1.75,
+        "carbon_intensity": 204.19,
+        "coal_TWh": 2.78,
         "country_name": "Hungary",
-        "fossil_TWh": 12.14,
-        "gas_TWh": 8.88,
-        "hydroelectricity_TWh": 0.19,
+        "fossil_TWh": 10.68,
+        "gas_TWh": 7.55,
+        "hydroelectricity_TWh": 0.22,
         "iso_code": "HUN",
-        "low_carbon_TWh": 23.52,
-        "nuclear_TWh": 15.82,
-        "oil_TWh": 0.36,
-        "other_renewable_TWh": 2.26,
-        "other_renewable_exc_biofuel_TWh": 0.01,
-        "per_capita_Wh": 3577.698,
-        "renewables_TWh": 7.7,
-        "solar_TWh": 4.64,
-        "total_TWh": 35.66,
-        "wind_TWh": 0.61,
-        "year": 2022
-    },
-    "IDN": {
-        "biofuel_TWh": 20.62,
-        "carbon_intensity": 619.026,
-        "coal_TWh": 205.31,
-        "country_name": "Indonesia",
-        "fossil_TWh": 268.13,
-        "gas_TWh": 56.71,
-        "hydroelectricity_TWh": 27.3,
-        "iso_code": "IDN",
-        "low_carbon_TWh": 65.41,
-        "nuclear_TWh": 0.0,
-        "oil_TWh": 6.11,
-        "other_renewable_TWh": 37.31,
-        "other_renewable_exc_biofuel_TWh": 16.69,
-        "per_capita_Wh": 1210.666,
-        "renewables_TWh": 65.41,
-        "solar_TWh": 0.44,
-        "total_TWh": 333.53999999999996,
-        "wind_TWh": 0.36,
-        "year": 2022
+        "low_carbon_TWh": 25.12,
+        "nuclear_TWh": 15.92,
+        "oil_TWh": 0.35,
+        "other_renewable_TWh": 1.75,
+        "other_renewable_exc_biofuel_TWh": 0.0,
+        "per_capita_Wh": 3524.926,
+        "renewables_TWh": 9.2,
+        "solar_TWh": 6.6,
+        "total_TWh": 35.8,
+        "wind_TWh": 0.63,
+        "year": 2023
     },
     "IND": {
-        "biofuel_TWh": 40.74,
-        "carbon_intensity": 633.398,
-        "coal_TWh": 1380.1,
+        "biofuel_TWh": 39.31,
+        "carbon_intensity": 713.441,
+        "coal_TWh": 1480.46,
         "country_name": "India",
-        "fossil_TWh": 1430.92,
-        "gas_TWh": 47.04,
-        "hydroelectricity_TWh": 174.92,
+        "fossil_TWh": 1535.7,
+        "gas_TWh": 51.28,
+        "hydroelectricity_TWh": 149.19,
         "iso_code": "IND",
-        "low_carbon_TWh": 427.06,
-        "nuclear_TWh": 46.19,
-        "oil_TWh": 3.78,
-        "other_renewable_TWh": 40.745,
+        "low_carbon_TWh": 432.2,
+        "nuclear_TWh": 48.19,
+        "oil_TWh": 3.96,
+        "other_renewable_TWh": 37.282,
         "other_renewable_exc_biofuel_TWh": 0,
-        "per_capita_Wh": 1311.047,
-        "renewables_TWh": 380.87,
-        "solar_TWh": 95.16,
-        "total_TWh": 1857.98,
-        "wind_TWh": 70.05,
-        "year": 2022
+        "per_capita_Wh": 1377.476,
+        "renewables_TWh": 384.01,
+        "solar_TWh": 113.41,
+        "total_TWh": 1967.9,
+        "wind_TWh": 82.1,
+        "year": 2023
     },
     "IRL": {
-        "biofuel_TWh": 1.0,
-        "carbon_intensity": 346.429,
-        "coal_TWh": 2.47,
+        "biofuel_TWh": 1.01,
+        "carbon_intensity": 290.805,
+        "coal_TWh": 1.14,
         "country_name": "Ireland",
-        "fossil_TWh": 20.63,
-        "gas_TWh": 16.53,
-        "hydroelectricity_TWh": 0.7,
+        "fossil_TWh": 17.7,
+        "gas_TWh": 15.71,
+        "hydroelectricity_TWh": 0.94,
         "iso_code": "IRL",
-        "low_carbon_TWh": 12.97,
+        "low_carbon_TWh": 13.73,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 1.63,
-        "other_renewable_TWh": 1.0,
+        "oil_TWh": 0.85,
+        "other_renewable_TWh": 1.01,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 6689.085,
-        "renewables_TWh": 12.97,
-        "solar_TWh": 0.09,
-        "total_TWh": 33.6,
-        "wind_TWh": 11.18,
-        "year": 2022
+        "per_capita_Wh": 6215.232,
+        "renewables_TWh": 13.73,
+        "solar_TWh": 0.54,
+        "total_TWh": 31.43,
+        "wind_TWh": 11.24,
+        "year": 2023
     },
     "IRN": {
         "biofuel_TWh": 0.02,
-        "carbon_intensity": 487.864,
+        "carbon_intensity": 655.125,
         "coal_TWh": 0.75,
         "country_name": "Iran",
-        "fossil_TWh": 332.11,
-        "gas_TWh": 300.19,
-        "hydroelectricity_TWh": 7.45,
+        "fossil_TWh": 340.51,
+        "gas_TWh": 314.43,
+        "hydroelectricity_TWh": 13.95,
         "iso_code": "IRN",
-        "low_carbon_TWh": 16.02,
+        "low_carbon_TWh": 22.52,
         "nuclear_TWh": 6.57,
-        "oil_TWh": 31.17,
-        "other_renewable_TWh": 0.022,
+        "oil_TWh": 25.33,
+        "other_renewable_TWh": 0.028,
         "other_renewable_exc_biofuel_TWh": 0,
-        "per_capita_Wh": 3931.426,
-        "renewables_TWh": 9.45,
+        "per_capita_Wh": 4071.086,
+        "renewables_TWh": 15.95,
         "solar_TWh": 0.73,
-        "total_TWh": 348.13,
+        "total_TWh": 363.03,
         "wind_TWh": 1.25,
-        "year": 2022
+        "year": 2023
     },
     "ITA": {
-        "biofuel_TWh": 18.38,
-        "carbon_intensity": 372.634,
-        "coal_TWh": 21.72,
+        "biofuel_TWh": 16.61,
+        "carbon_intensity": 330.718,
+        "coal_TWh": 13.9,
         "country_name": "Italy",
-        "fossil_TWh": 181.73,
-        "gas_TWh": 145.04,
-        "hydroelectricity_TWh": 30.77,
+        "fossil_TWh": 147.78,
+        "gas_TWh": 118.34,
+        "hydroelectricity_TWh": 37.94,
         "iso_code": "ITA",
-        "low_carbon_TWh": 103.0,
+        "low_carbon_TWh": 114.8,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 14.97,
-        "other_renewable_TWh": 24.22,
-        "other_renewable_exc_biofuel_TWh": 5.84,
-        "per_capita_Wh": 4822.869,
-        "renewables_TWh": 103.0,
-        "solar_TWh": 27.73,
-        "total_TWh": 284.73,
-        "wind_TWh": 20.28,
-        "year": 2022
+        "oil_TWh": 15.54,
+        "other_renewable_TWh": 22.34,
+        "other_renewable_exc_biofuel_TWh": 5.73,
+        "per_capita_Wh": 4460.278,
+        "renewables_TWh": 114.8,
+        "solar_TWh": 31.01,
+        "total_TWh": 262.58,
+        "wind_TWh": 23.51,
+        "year": 2023
     },
     "JPN": {
-        "biofuel_TWh": 41.48,
-        "carbon_intensity": 494.857,
-        "coal_TWh": 348.48,
+        "biofuel_TWh": 49.24,
+        "carbon_intensity": 485.392,
+        "coal_TWh": 327.42,
         "country_name": "Japan",
-        "fossil_TWh": 754.85,
-        "gas_TWh": 360.54,
-        "hydroelectricity_TWh": 74.88,
+        "fossil_TWh": 694.55,
+        "gas_TWh": 332.88,
+        "hydroelectricity_TWh": 73.79,
         "iso_code": "JPN",
-        "low_carbon_TWh": 278.7,
-        "nuclear_TWh": 51.77,
-        "oil_TWh": 45.83,
-        "other_renewable_TWh": 41.481,
+        "low_carbon_TWh": 318.96,
+        "nuclear_TWh": 77.44,
+        "oil_TWh": 34.25,
+        "other_renewable_TWh": 42.045,
         "other_renewable_exc_biofuel_TWh": 0,
-        "per_capita_Wh": 8338.329,
-        "renewables_TWh": 226.93,
-        "solar_TWh": 102.4,
-        "total_TWh": 1033.55,
-        "wind_TWh": 8.17,
-        "year": 2022
+        "per_capita_Wh": 8220.236,
+        "renewables_TWh": 241.52,
+        "solar_TWh": 109.36,
+        "total_TWh": 1013.51,
+        "wind_TWh": 9.13,
+        "year": 2023
     },
     "KAZ": {
         "biofuel_TWh": 0.0,
-        "carbon_intensity": 635.574,
-        "coal_TWh": 67.73,
+        "carbon_intensity": 821.391,
+        "coal_TWh": 75.91,
         "country_name": "Kazakhstan",
-        "fossil_TWh": 99.99,
-        "gas_TWh": 32.17,
-        "hydroelectricity_TWh": 9.1,
+        "fossil_TWh": 99.35,
+        "gas_TWh": 23.37,
+        "hydroelectricity_TWh": 8.77,
         "iso_code": "KAZ",
-        "low_carbon_TWh": 12.79,
+        "low_carbon_TWh": 14.53,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.09,
-        "other_renewable_TWh": 0.002,
+        "oil_TWh": 0.07,
+        "other_renewable_TWh": 0.005,
         "other_renewable_exc_biofuel_TWh": 0,
-        "per_capita_Wh": 5814.002,
-        "renewables_TWh": 12.79,
-        "solar_TWh": 1.41,
-        "total_TWh": 112.78,
-        "wind_TWh": 2.28,
-        "year": 2022
+        "per_capita_Wh": 5808.236,
+        "renewables_TWh": 14.53,
+        "solar_TWh": 1.83,
+        "total_TWh": 113.88,
+        "wind_TWh": 3.93,
+        "year": 2023
     },
     "KEN": {
-        "biofuel_TWh": 0.18,
-        "carbon_intensity": 101.133,
+        "biofuel_TWh": 0.24,
+        "carbon_intensity": 70.492,
         "coal_TWh": 0.0,
         "country_name": "Kenya",
-        "fossil_TWh": 1.27,
+        "fossil_TWh": 0.73,
         "gas_TWh": 0.0,
-        "hydroelectricity_TWh": 3.34,
+        "hydroelectricity_TWh": 2.7,
         "iso_code": "KEN",
-        "low_carbon_TWh": 11.09,
+        "low_carbon_TWh": 11.47,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 1.27,
-        "other_renewable_TWh": 5.77,
-        "other_renewable_exc_biofuel_TWh": 5.59,
-        "per_capita_Wh": 228.772,
-        "renewables_TWh": 11.09,
-        "solar_TWh": 0.3,
-        "total_TWh": 12.36,
-        "wind_TWh": 1.68,
-        "year": 2022
+        "oil_TWh": 0.73,
+        "other_renewable_TWh": 6.28,
+        "other_renewable_exc_biofuel_TWh": 6.04,
+        "per_capita_Wh": 221.413,
+        "renewables_TWh": 11.47,
+        "solar_TWh": 0.49,
+        "total_TWh": 12.200000000000001,
+        "wind_TWh": 2.0,
+        "year": 2023
     },
     "KOR": {
-        "biofuel_TWh": 15.31,
-        "carbon_intensity": 437.602,
-        "coal_TWh": 206.55,
+        "biofuel_TWh": 18.46,
+        "carbon_intensity": 430.567,
+        "coal_TWh": 202.66,
         "country_name": "South Korea",
-        "fossil_TWh": 385.43,
-        "gas_TWh": 172.78,
-        "hydroelectricity_TWh": 3.55,
+        "fossil_TWh": 378.76,
+        "gas_TWh": 169.23,
+        "hydroelectricity_TWh": 3.7,
         "iso_code": "KOR",
-        "low_carbon_TWh": 221.08,
-        "nuclear_TWh": 168.58,
-        "oil_TWh": 6.1,
-        "other_renewable_TWh": 16.49,
-        "other_renewable_exc_biofuel_TWh": 1.18,
-        "per_capita_Wh": 11705.115,
-        "renewables_TWh": 52.5,
-        "solar_TWh": 29.09,
-        "total_TWh": 606.51,
-        "wind_TWh": 3.37,
-        "year": 2022
+        "low_carbon_TWh": 235.43,
+        "nuclear_TWh": 180.49,
+        "oil_TWh": 6.87,
+        "other_renewable_TWh": 19.247,
+        "other_renewable_exc_biofuel_TWh": 0,
+        "per_capita_Wh": 11860.6,
+        "renewables_TWh": 54.94,
+        "solar_TWh": 29.37,
+        "total_TWh": 614.19,
+        "wind_TWh": 3.41,
+        "year": 2023
     },
     "KWT": {
         "biofuel_TWh": 0.0,
-        "carbon_intensity": 574.561,
+        "carbon_intensity": 649.163,
         "coal_TWh": 0.0,
         "country_name": "Kuwait",
-        "fossil_TWh": 73.38,
-        "gas_TWh": 43.73,
+        "fossil_TWh": 90.64,
+        "gas_TWh": 50.85,
         "hydroelectricity_TWh": 0.0,
         "iso_code": "KWT",
-        "low_carbon_TWh": 0.05,
+        "low_carbon_TWh": 0.2,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 29.65,
+        "oil_TWh": 39.79,
         "other_renewable_TWh": 0.0,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 17201.209,
-        "renewables_TWh": 0.05,
-        "solar_TWh": 0.02,
-        "total_TWh": 73.42999999999999,
+        "per_capita_Wh": 21076.043,
+        "renewables_TWh": 0.2,
+        "solar_TWh": 0.17,
+        "total_TWh": 90.84,
         "wind_TWh": 0.03,
-        "year": 2022
+        "year": 2023
     },
     "LTU": {
-        "biofuel_TWh": 0.66,
-        "carbon_intensity": 195.704,
+        "biofuel_TWh": 0.61,
+        "carbon_intensity": 160.072,
         "coal_TWh": 0.0,
         "country_name": "Lithuania",
-        "fossil_TWh": 1.06,
-        "gas_TWh": 0.61,
-        "hydroelectricity_TWh": 0.45,
+        "fossil_TWh": 1.31,
+        "gas_TWh": 0.63,
+        "hydroelectricity_TWh": 0.46,
         "iso_code": "LTU",
-        "low_carbon_TWh": 3.13,
+        "low_carbon_TWh": 4.25,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.45,
-        "other_renewable_TWh": 0.66,
+        "oil_TWh": 0.68,
+        "other_renewable_TWh": 0.61,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 1523.604,
-        "renewables_TWh": 3.13,
-        "solar_TWh": 0.43,
-        "total_TWh": 4.1899999999999995,
-        "wind_TWh": 1.59,
-        "year": 2022
+        "per_capita_Wh": 2045.357,
+        "renewables_TWh": 4.25,
+        "solar_TWh": 0.65,
+        "total_TWh": 5.5600000000000005,
+        "wind_TWh": 2.53,
+        "year": 2023
     },
     "LUX": {
-        "biofuel_TWh": 0.41,
-        "carbon_intensity": 162.602,
+        "biofuel_TWh": 0.21,
+        "carbon_intensity": 105.263,
         "coal_TWh": 0.0,
         "country_name": "Luxembourg",
-        "fossil_TWh": 0.18,
-        "gas_TWh": 0.11,
-        "hydroelectricity_TWh": 0.08,
+        "fossil_TWh": 0.09,
+        "gas_TWh": 0.03,
+        "hydroelectricity_TWh": 0.07,
         "iso_code": "LUX",
         "low_carbon_TWh": 1.05,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.07,
-        "other_renewable_TWh": 0.41,
+        "oil_TWh": 0.06,
+        "other_renewable_TWh": 0.21,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 1899.318,
+        "per_capita_Wh": 1741.067,
         "renewables_TWh": 1.05,
-        "solar_TWh": 0.25,
-        "total_TWh": 1.23,
-        "wind_TWh": 0.31,
-        "year": 2022
+        "solar_TWh": 0.28,
+        "total_TWh": 1.1400000000000001,
+        "wind_TWh": 0.49,
+        "year": 2023
     },
     "LVA": {
-        "biofuel_TWh": 0.68,
-        "carbon_intensity": 183.432,
+        "biofuel_TWh": 0.69,
+        "carbon_intensity": 123.2,
         "coal_TWh": 0.0,
         "country_name": "Latvia",
-        "fossil_TWh": 1.42,
-        "gas_TWh": 1.42,
-        "hydroelectricity_TWh": 2.77,
+        "fossil_TWh": 1.46,
+        "gas_TWh": 1.46,
+        "hydroelectricity_TWh": 3.8,
         "iso_code": "LVA",
-        "low_carbon_TWh": 3.65,
+        "low_carbon_TWh": 4.79,
         "nuclear_TWh": 0.0,
         "oil_TWh": 0.0,
-        "other_renewable_TWh": 0.68,
+        "other_renewable_TWh": 0.69,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 2739.572,
-        "renewables_TWh": 3.65,
-        "solar_TWh": 0.01,
-        "total_TWh": 5.07,
-        "wind_TWh": 0.19,
-        "year": 2022
+        "per_capita_Wh": 3414.901,
+        "renewables_TWh": 4.79,
+        "solar_TWh": 0.04,
+        "total_TWh": 6.25,
+        "wind_TWh": 0.26,
+        "year": 2023
+    },
+    "MAR": {
+        "biofuel_TWh": 0.04,
+        "carbon_intensity": 630.014,
+        "coal_TWh": 27.32,
+        "country_name": "Morocco",
+        "fossil_TWh": 33.47,
+        "gas_TWh": 2.04,
+        "hydroelectricity_TWh": 0.56,
+        "iso_code": "MAR",
+        "low_carbon_TWh": 8.91,
+        "nuclear_TWh": 0.0,
+        "oil_TWh": 4.11,
+        "other_renewable_TWh": 0.04,
+        "other_renewable_exc_biofuel_TWh": 0.0,
+        "per_capita_Wh": 1119.977,
+        "renewables_TWh": 8.91,
+        "solar_TWh": 2.05,
+        "total_TWh": 42.379999999999995,
+        "wind_TWh": 6.26,
+        "year": 2023
     },
     "MDA": {
-        "biofuel_TWh": 0.02,
-        "carbon_intensity": 666.667,
-        "coal_TWh": 3.59,
+        "biofuel_TWh": 0.03,
+        "carbon_intensity": 643.464,
+        "coal_TWh": 0.0,
         "country_name": "Moldova",
-        "fossil_TWh": 5.21,
-        "gas_TWh": 1.62,
-        "hydroelectricity_TWh": 0.29,
+        "fossil_TWh": 5.32,
+        "gas_TWh": 5.12,
+        "hydroelectricity_TWh": 0.34,
         "iso_code": "MDA",
-        "low_carbon_TWh": 0.4,
+        "low_carbon_TWh": 0.57,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.0,
-        "other_renewable_TWh": 0.02,
+        "oil_TWh": 0.2,
+        "other_renewable_TWh": 0.03,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 1714.028,
-        "renewables_TWh": 0.4,
-        "solar_TWh": 0.01,
-        "total_TWh": 5.61,
-        "wind_TWh": 0.08,
-        "year": 2022
+        "per_capita_Wh": 1714.235,
+        "renewables_TWh": 0.57,
+        "solar_TWh": 0.03,
+        "total_TWh": 5.890000000000001,
+        "wind_TWh": 0.17,
+        "year": 2023
     },
     "MEX": {
-        "biofuel_TWh": 6.25,
-        "carbon_intensity": 423.805,
-        "coal_TWh": 21.7,
+        "biofuel_TWh": 6.63,
+        "carbon_intensity": 507.245,
+        "coal_TWh": 33.91,
         "country_name": "Mexico",
-        "fossil_TWh": 259.5,
-        "gas_TWh": 188.44,
-        "hydroelectricity_TWh": 35.3,
+        "fossil_TWh": 271.76,
+        "gas_TWh": 205.08,
+        "hydroelectricity_TWh": 20.74,
         "iso_code": "MEX",
-        "low_carbon_TWh": 90.0,
-        "nuclear_TWh": 10.36,
-        "oil_TWh": 49.36,
-        "other_renewable_TWh": 10.72,
-        "other_renewable_exc_biofuel_TWh": 4.47,
-        "per_capita_Wh": 2741.088,
-        "renewables_TWh": 79.64,
-        "solar_TWh": 13.39,
-        "total_TWh": 349.5,
-        "wind_TWh": 20.23,
-        "year": 2022
+        "low_carbon_TWh": 81.58,
+        "nuclear_TWh": 12.34,
+        "oil_TWh": 32.77,
+        "other_renewable_TWh": 7.1,
+        "other_renewable_exc_biofuel_TWh": 0,
+        "per_capita_Wh": 2750.679,
+        "renewables_TWh": 69.24,
+        "solar_TWh": 21.19,
+        "total_TWh": 353.34,
+        "wind_TWh": 20.68,
+        "year": 2023
     },
     "MKD": {
-        "biofuel_TWh": 0.06,
-        "carbon_intensity": 543.706,
-        "coal_TWh": 2.87,
+        "biofuel_TWh": 0.09,
+        "carbon_intensity": 565.345,
+        "coal_TWh": 2.72,
         "country_name": "North Macedonia",
-        "fossil_TWh": 4.18,
-        "gas_TWh": 0.92,
-        "hydroelectricity_TWh": 1.34,
+        "fossil_TWh": 4.6,
+        "gas_TWh": 1.35,
+        "hydroelectricity_TWh": 1.64,
         "iso_code": "MKD",
-        "low_carbon_TWh": 1.54,
+        "low_carbon_TWh": 2.21,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.39,
-        "other_renewable_TWh": 0.06,
+        "oil_TWh": 0.53,
+        "other_renewable_TWh": 0.09,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 2732.128,
-        "renewables_TWh": 1.54,
-        "solar_TWh": 0.03,
-        "total_TWh": 5.72,
-        "wind_TWh": 0.11,
-        "year": 2022
+        "per_capita_Wh": 3265.119,
+        "renewables_TWh": 2.21,
+        "solar_TWh": 0.34,
+        "total_TWh": 6.81,
+        "wind_TWh": 0.14,
+        "year": 2023
     },
     "MLT": {
         "biofuel_TWh": 0.01,
-        "carbon_intensity": 433.476,
+        "carbon_intensity": 459.144,
         "coal_TWh": 0.0,
         "country_name": "Malta",
-        "fossil_TWh": 1.99,
-        "gas_TWh": 1.94,
+        "fossil_TWh": 2.03,
+        "gas_TWh": 2.0,
         "hydroelectricity_TWh": 0.0,
         "iso_code": "MLT",
-        "low_carbon_TWh": 0.34,
+        "low_carbon_TWh": 0.54,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.05,
+        "oil_TWh": 0.03,
         "other_renewable_TWh": 0.01,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 4369.08,
-        "renewables_TWh": 0.34,
-        "solar_TWh": 0.33,
-        "total_TWh": 2.33,
+        "per_capita_Wh": 4803.074,
+        "renewables_TWh": 0.54,
+        "solar_TWh": 0.53,
+        "total_TWh": 2.57,
         "wind_TWh": 0.0,
-        "year": 2022
+        "year": 2023
+    },
+    "MMR": {
+        "biofuel_TWh": 0.27,
+        "carbon_intensity": 398.898,
+        "coal_TWh": 2.1,
+        "country_name": "Myanmar",
+        "fossil_TWh": 7.53,
+        "gas_TWh": 5.31,
+        "hydroelectricity_TWh": 10.05,
+        "iso_code": "MMR",
+        "low_carbon_TWh": 10.62,
+        "nuclear_TWh": 0.0,
+        "oil_TWh": 0.12,
+        "other_renewable_TWh": 0.27,
+        "other_renewable_exc_biofuel_TWh": 0.0,
+        "per_capita_Wh": 332.552,
+        "renewables_TWh": 10.62,
+        "solar_TWh": 0.3,
+        "total_TWh": 18.15,
+        "wind_TWh": 0.0,
+        "year": 2023
     },
     "MNE": {
         "biofuel_TWh": 0.0,
-        "carbon_intensity": 392.749,
-        "coal_TWh": 1.55,
+        "carbon_intensity": 417.073,
+        "coal_TWh": 1.63,
         "country_name": "Montenegro",
-        "fossil_TWh": 1.55,
+        "fossil_TWh": 1.63,
         "gas_TWh": 0.0,
-        "hydroelectricity_TWh": 1.45,
+        "hydroelectricity_TWh": 2.14,
         "iso_code": "MNE",
-        "low_carbon_TWh": 1.76,
+        "low_carbon_TWh": 2.47,
         "nuclear_TWh": 0.0,
         "oil_TWh": 0.0,
         "other_renewable_TWh": 0.0,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 5278.417,
-        "renewables_TWh": 1.76,
+        "per_capita_Wh": 6544.44,
+        "renewables_TWh": 2.47,
         "solar_TWh": 0.0,
-        "total_TWh": 3.31,
-        "wind_TWh": 0.31,
-        "year": 2022
+        "total_TWh": 4.1,
+        "wind_TWh": 0.33,
+        "year": 2023
     },
     "MNG": {
         "biofuel_TWh": 0.0,
-        "carbon_intensity": 749.656,
-        "coal_TWh": 6.63,
+        "carbon_intensity": 775.309,
+        "coal_TWh": 6.87,
         "country_name": "Mongolia",
-        "fossil_TWh": 6.63,
+        "fossil_TWh": 7.23,
         "gas_TWh": 0.0,
         "hydroelectricity_TWh": 0.08,
         "iso_code": "MNG",
-        "low_carbon_TWh": 0.64,
+        "low_carbon_TWh": 0.87,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.0,
+        "oil_TWh": 0.36,
         "other_renewable_TWh": 0.0,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 2139.259,
-        "renewables_TWh": 0.64,
-        "solar_TWh": 0.14,
-        "total_TWh": 7.27,
-        "wind_TWh": 0.42,
-        "year": 2022
-    },
-    "MYS": {
-        "biofuel_TWh": 1.15,
-        "carbon_intensity": 543.873,
-        "coal_TWh": 76.39,
-        "country_name": "Malaysia",
-        "fossil_TWh": 146.5,
-        "gas_TWh": 68.35,
-        "hydroelectricity_TWh": 30.72,
-        "iso_code": "MYS",
-        "low_carbon_TWh": 34.59,
-        "nuclear_TWh": 0.0,
-        "oil_TWh": 1.76,
-        "other_renewable_TWh": 1.153,
-        "other_renewable_exc_biofuel_TWh": 0,
-        "per_capita_Wh": 5335.873,
-        "renewables_TWh": 34.59,
-        "solar_TWh": 2.72,
-        "total_TWh": 181.09,
-        "wind_TWh": 0.0,
-        "year": 2022
+        "per_capita_Wh": 2349.762,
+        "renewables_TWh": 0.87,
+        "solar_TWh": 0.17,
+        "total_TWh": 8.1,
+        "wind_TWh": 0.62,
+        "year": 2023
     },
     "NGA": {
-        "biofuel_TWh": 0.05,
-        "carbon_intensity": 368.11,
-        "coal_TWh": 0.57,
+        "biofuel_TWh": 0.02,
+        "carbon_intensity": 523.247,
+        "coal_TWh": 0.0,
         "country_name": "Nigeria",
-        "fossil_TWh": 23.25,
-        "gas_TWh": 22.61,
-        "hydroelectricity_TWh": 8.76,
+        "fossil_TWh": 32.3,
+        "gas_TWh": 32.3,
+        "hydroelectricity_TWh": 8.28,
         "iso_code": "NGA",
-        "low_carbon_TWh": 8.86,
+        "low_carbon_TWh": 8.35,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.07,
-        "other_renewable_TWh": 0.05,
+        "oil_TWh": 0.0,
+        "other_renewable_TWh": 0.02,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 146.929,
-        "renewables_TWh": 8.86,
+        "per_capita_Wh": 181.632,
+        "renewables_TWh": 8.35,
         "solar_TWh": 0.05,
-        "total_TWh": 32.11,
+        "total_TWh": 40.65,
         "wind_TWh": 0.0,
-        "year": 2022
+        "year": 2023
     },
     "NLD": {
-        "biofuel_TWh": 9.75,
-        "carbon_intensity": 354.309,
-        "coal_TWh": 14.57,
+        "biofuel_TWh": 8.25,
+        "carbon_intensity": 267.622,
+        "coal_TWh": 8.45,
         "country_name": "Netherlands",
-        "fossil_TWh": 68.4,
-        "gas_TWh": 47.79,
+        "fossil_TWh": 59.72,
+        "gas_TWh": 46.1,
         "hydroelectricity_TWh": 0.06,
         "iso_code": "NLD",
-        "low_carbon_TWh": 52.85,
-        "nuclear_TWh": 4.14,
-        "oil_TWh": 6.04,
-        "other_renewable_TWh": 9.87,
-        "other_renewable_exc_biofuel_TWh": 0.12,
-        "per_capita_Wh": 6903.317,
-        "renewables_TWh": 48.71,
-        "solar_TWh": 17.29,
-        "total_TWh": 121.25000000000001,
-        "wind_TWh": 21.49,
-        "year": 2022
+        "low_carbon_TWh": 62.43,
+        "nuclear_TWh": 4.0,
+        "oil_TWh": 5.17,
+        "other_renewable_TWh": 8.25,
+        "other_renewable_exc_biofuel_TWh": 0.0,
+        "per_capita_Wh": 6933.134,
+        "renewables_TWh": 58.43,
+        "solar_TWh": 21.15,
+        "total_TWh": 122.15,
+        "wind_TWh": 28.97,
+        "year": 2023
     },
     "NOR": {
-        "biofuel_TWh": 0.22,
-        "carbon_intensity": 28.925,
+        "biofuel_TWh": 0.24,
+        "carbon_intensity": 30.08,
         "coal_TWh": 0.04,
         "country_name": "Norway",
-        "fossil_TWh": 1.6,
-        "gas_TWh": 0.82,
-        "hydroelectricity_TWh": 134.86,
+        "fossil_TWh": 2.24,
+        "gas_TWh": 1.38,
+        "hydroelectricity_TWh": 135.96,
         "iso_code": "NOR",
-        "low_carbon_TWh": 151.21,
+        "low_carbon_TWh": 151.35,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.74,
-        "other_renewable_TWh": 0.28,
-        "other_renewable_exc_biofuel_TWh": 0.06,
-        "per_capita_Wh": 28119.412,
-        "renewables_TWh": 151.21,
+        "oil_TWh": 0.82,
+        "other_renewable_TWh": 0.26,
+        "other_renewable_exc_biofuel_TWh": 0.02,
+        "per_capita_Wh": 28056.23,
+        "renewables_TWh": 151.35,
         "solar_TWh": 0.17,
-        "total_TWh": 152.81,
-        "wind_TWh": 15.9,
-        "year": 2022
+        "total_TWh": 153.59,
+        "wind_TWh": 14.96,
+        "year": 2023
     },
     "NZL": {
-        "biofuel_TWh": 0.77,
-        "carbon_intensity": 105.215,
-        "coal_TWh": 1.54,
+        "biofuel_TWh": 1.55,
+        "carbon_intensity": 112.758,
+        "coal_TWh": 1.77,
         "country_name": "New Zealand",
-        "fossil_TWh": 6.06,
-        "gas_TWh": 4.46,
-        "hydroelectricity_TWh": 25.92,
+        "fossil_TWh": 5.64,
+        "gas_TWh": 3.25,
+        "hydroelectricity_TWh": 26.04,
         "iso_code": "NZL",
-        "low_carbon_TWh": 38.04,
+        "low_carbon_TWh": 38.88,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.06,
-        "other_renewable_TWh": 8.72,
-        "other_renewable_exc_biofuel_TWh": 7.95,
-        "per_capita_Wh": 8504.829,
-        "renewables_TWh": 38.04,
-        "solar_TWh": 0.2,
-        "total_TWh": 44.1,
-        "wind_TWh": 3.2,
-        "year": 2022
+        "oil_TWh": 0.62,
+        "other_renewable_TWh": 9.16,
+        "other_renewable_exc_biofuel_TWh": 7.61,
+        "per_capita_Wh": 8515.521,
+        "renewables_TWh": 38.88,
+        "solar_TWh": 0.21,
+        "total_TWh": 44.52,
+        "wind_TWh": 3.47,
+        "year": 2023
     },
     "OMN": {
         "biofuel_TWh": 0.0,
-        "carbon_intensity": 488.272,
+        "carbon_intensity": 564.635,
         "coal_TWh": 0.0,
         "country_name": "Oman",
-        "fossil_TWh": 36.93,
-        "gas_TWh": 36.93,
+        "fossil_TWh": 44.52,
+        "gas_TWh": 43.0,
         "hydroelectricity_TWh": 0.0,
         "iso_code": "OMN",
-        "low_carbon_TWh": 0.16,
+        "low_carbon_TWh": 0.27,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.0,
+        "oil_TWh": 1.52,
         "other_renewable_TWh": 0.0,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 8104.801,
-        "renewables_TWh": 0.16,
-        "solar_TWh": 0.16,
-        "total_TWh": 37.089999999999996,
+        "per_capita_Wh": 9643.906,
+        "renewables_TWh": 0.27,
+        "solar_TWh": 0.27,
+        "total_TWh": 44.790000000000006,
         "wind_TWh": 0.0,
-        "year": 2022
+        "year": 2023
     },
     "PAK": {
-        "biofuel_TWh": 1.69,
-        "carbon_intensity": 344.155,
-        "coal_TWh": 14.45,
+        "biofuel_TWh": 1.77,
+        "carbon_intensity": 440.608,
+        "coal_TWh": 28.97,
         "country_name": "Pakistan",
-        "fossil_TWh": 86.09,
-        "gas_TWh": 53.68,
-        "hydroelectricity_TWh": 36.41,
+        "fossil_TWh": 94.59,
+        "gas_TWh": 54.98,
+        "hydroelectricity_TWh": 37.9,
         "iso_code": "PAK",
-        "low_carbon_TWh": 66.08,
-        "nuclear_TWh": 22.43,
-        "oil_TWh": 17.96,
-        "other_renewable_TWh": 1.69,
+        "low_carbon_TWh": 66.46,
+        "nuclear_TWh": 22.44,
+        "oil_TWh": 10.64,
+        "other_renewable_TWh": 1.77,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 645.267,
-        "renewables_TWh": 43.65,
-        "solar_TWh": 1.43,
-        "total_TWh": 152.17000000000002,
-        "wind_TWh": 4.12,
-        "year": 2022
+        "per_capita_Wh": 669.687,
+        "renewables_TWh": 44.02,
+        "solar_TWh": 1.45,
+        "total_TWh": 161.05,
+        "wind_TWh": 2.9,
+        "year": 2023
     },
     "PER": {
-        "biofuel_TWh": 0.69,
-        "carbon_intensity": 256.512,
-        "coal_TWh": 0.55,
+        "biofuel_TWh": 0.59,
+        "carbon_intensity": 266.478,
+        "coal_TWh": 0.06,
         "country_name": "Peru",
-        "fossil_TWh": 27.07,
-        "gas_TWh": 21.36,
-        "hydroelectricity_TWh": 29.7,
+        "fossil_TWh": 24.65,
+        "gas_TWh": 23.63,
+        "hydroelectricity_TWh": 31.51,
         "iso_code": "PER",
-        "low_carbon_TWh": 33.2,
+        "low_carbon_TWh": 35.28,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 5.16,
-        "other_renewable_TWh": 0.69,
+        "oil_TWh": 0.96,
+        "other_renewable_TWh": 0.59,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 1770.066,
-        "renewables_TWh": 33.2,
-        "solar_TWh": 0.85,
-        "total_TWh": 60.27,
-        "wind_TWh": 1.96,
-        "year": 2022
+        "per_capita_Wh": 1744.549,
+        "renewables_TWh": 35.28,
+        "solar_TWh": 0.95,
+        "total_TWh": 59.93,
+        "wind_TWh": 2.23,
+        "year": 2023
     },
     "PHL": {
-        "biofuel_TWh": 1.14,
-        "carbon_intensity": 594.451,
-        "coal_TWh": 65.67,
+        "biofuel_TWh": 1.11,
+        "carbon_intensity": 610.688,
+        "coal_TWh": 73.23,
         "country_name": "Philippines",
-        "fossil_TWh": 88.44,
-        "gas_TWh": 17.78,
-        "hydroelectricity_TWh": 8.8,
+        "fossil_TWh": 92.65,
+        "gas_TWh": 17.71,
+        "hydroelectricity_TWh": 9.09,
         "iso_code": "PHL",
-        "low_carbon_TWh": 24.37,
+        "low_carbon_TWh": 25.61,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 4.99,
-        "other_renewable_TWh": 12.81,
+        "oil_TWh": 1.71,
+        "other_renewable_TWh": 12.78,
         "other_renewable_exc_biofuel_TWh": 11.67,
-        "per_capita_Wh": 976.211,
-        "renewables_TWh": 24.37,
-        "solar_TWh": 1.81,
-        "total_TWh": 112.81,
-        "wind_TWh": 0.95,
-        "year": 2022
+        "per_capita_Wh": 1007.863,
+        "renewables_TWh": 25.61,
+        "solar_TWh": 2.23,
+        "total_TWh": 118.26,
+        "wind_TWh": 1.51,
+        "year": 2023
     },
     "POL": {
-        "biofuel_TWh": 7.77,
-        "carbon_intensity": 633.228,
-        "coal_TWh": 124.11,
+        "biofuel_TWh": 8.13,
+        "carbon_intensity": 661.926,
+        "coal_TWh": 103.02,
         "country_name": "Poland",
-        "fossil_TWh": 141.57,
-        "gas_TWh": 12.6,
-        "hydroelectricity_TWh": 2.06,
+        "fossil_TWh": 122.94,
+        "gas_TWh": 14.75,
+        "hydroelectricity_TWh": 2.38,
         "iso_code": "POL",
-        "low_carbon_TWh": 38.16,
+        "low_carbon_TWh": 45.81,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 4.86,
-        "other_renewable_TWh": 7.77,
+        "oil_TWh": 5.17,
+        "other_renewable_TWh": 8.13,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 4509.354,
-        "renewables_TWh": 38.16,
-        "solar_TWh": 8.6,
-        "total_TWh": 179.73,
-        "wind_TWh": 19.73,
-        "year": 2022
+        "per_capita_Wh": 4113.239,
+        "renewables_TWh": 45.81,
+        "solar_TWh": 12.24,
+        "total_TWh": 168.75,
+        "wind_TWh": 23.06,
+        "year": 2023
     },
     "PRT": {
-        "biofuel_TWh": 3.86,
-        "carbon_intensity": 234.605,
-        "coal_TWh": 0.06,
+        "biofuel_TWh": 3.71,
+        "carbon_intensity": 165.553,
+        "coal_TWh": 0.0,
         "country_name": "Portugal",
-        "fossil_TWh": 18.97,
-        "gas_TWh": 17.43,
-        "hydroelectricity_TWh": 7.59,
+        "fossil_TWh": 12.2,
+        "gas_TWh": 10.88,
+        "hydroelectricity_TWh": 10.98,
         "iso_code": "PRT",
-        "low_carbon_TWh": 27.96,
+        "low_carbon_TWh": 32.68,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 1.48,
-        "other_renewable_TWh": 4.04,
-        "other_renewable_exc_biofuel_TWh": 0.18,
-        "per_capita_Wh": 4569.239,
-        "renewables_TWh": 27.96,
-        "solar_TWh": 3.05,
-        "total_TWh": 46.93,
-        "wind_TWh": 13.28,
-        "year": 2022
+        "oil_TWh": 1.32,
+        "other_renewable_TWh": 3.9,
+        "other_renewable_exc_biofuel_TWh": 0.19,
+        "per_capita_Wh": 4379.56,
+        "renewables_TWh": 32.68,
+        "solar_TWh": 4.57,
+        "total_TWh": 44.879999999999995,
+        "wind_TWh": 13.23,
+        "year": 2023
+    },
+    "PRY": {
+        "biofuel_TWh": 0.0,
+        "carbon_intensity": 23.755,
+        "coal_TWh": 0.0,
+        "country_name": "Paraguay",
+        "fossil_TWh": 0.0,
+        "gas_TWh": 0.0,
+        "hydroelectricity_TWh": 56.83,
+        "iso_code": "PRY",
+        "low_carbon_TWh": 56.83,
+        "nuclear_TWh": 0.0,
+        "oil_TWh": 0.0,
+        "other_renewable_TWh": 0.0,
+        "other_renewable_exc_biofuel_TWh": 0.0,
+        "per_capita_Wh": 8282.413,
+        "renewables_TWh": 56.83,
+        "solar_TWh": 0.0,
+        "total_TWh": 56.83,
+        "wind_TWh": 0.0,
+        "year": 2023
     },
     "QAT": {
-        "biofuel_TWh": 0.03,
-        "carbon_intensity": 490.279,
+        "biofuel_TWh": 0.14,
+        "carbon_intensity": 602.5,
         "coal_TWh": 0.0,
         "country_name": "Qatar",
-        "fossil_TWh": 49.85,
-        "gas_TWh": 49.73,
+        "fossil_TWh": 54.24,
+        "gas_TWh": 54.24,
         "hydroelectricity_TWh": 0.0,
         "iso_code": "QAT",
-        "low_carbon_TWh": 0.04,
+        "low_carbon_TWh": 0.15,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.12,
-        "other_renewable_TWh": 0.03,
+        "oil_TWh": 0.0,
+        "other_renewable_TWh": 0.14,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 18511.16,
-        "renewables_TWh": 0.04,
+        "per_capita_Wh": 20022.83,
+        "renewables_TWh": 0.15,
         "solar_TWh": 0.01,
-        "total_TWh": 49.89,
+        "total_TWh": 54.39,
         "wind_TWh": 0.0,
-        "year": 2022
+        "year": 2023
     },
     "ROU": {
-        "biofuel_TWh": 0.62,
-        "carbon_intensity": 264.239,
-        "coal_TWh": 10.29,
+        "biofuel_TWh": 0.46,
+        "carbon_intensity": 240.583,
+        "coal_TWh": 8.1,
         "country_name": "Romania",
-        "fossil_TWh": 21.02,
-        "gas_TWh": 9.82,
-        "hydroelectricity_TWh": 14.0,
+        "fossil_TWh": 16.74,
+        "gas_TWh": 8.31,
+        "hydroelectricity_TWh": 18.3,
         "iso_code": "ROU",
-        "low_carbon_TWh": 34.46,
-        "nuclear_TWh": 11.11,
-        "oil_TWh": 0.91,
-        "other_renewable_TWh": 0.62,
+        "low_carbon_TWh": 39.54,
+        "nuclear_TWh": 11.18,
+        "oil_TWh": 0.33,
+        "other_renewable_TWh": 0.46,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 2822.078,
-        "renewables_TWh": 23.35,
-        "solar_TWh": 1.76,
-        "total_TWh": 55.480000000000004,
-        "wind_TWh": 6.97,
-        "year": 2022
+        "per_capita_Wh": 2829.163,
+        "renewables_TWh": 28.36,
+        "solar_TWh": 2.08,
+        "total_TWh": 56.279999999999994,
+        "wind_TWh": 7.52,
+        "year": 2023
     },
     "RUS": {
-        "biofuel_TWh": 0.78,
-        "carbon_intensity": 363.675,
-        "coal_TWh": 179.56,
+        "biofuel_TWh": 0.88,
+        "carbon_intensity": 441.039,
+        "coal_TWh": 196.22,
         "country_name": "Russia",
-        "fossil_TWh": 688.95,
-        "gas_TWh": 498.27,
-        "hydroelectricity_TWh": 197.41,
+        "fossil_TWh": 753.16,
+        "gas_TWh": 544.79,
+        "hydroelectricity_TWh": 200.6,
         "iso_code": "RUS",
-        "low_carbon_TWh": 430.1,
-        "nuclear_TWh": 223.41,
-        "oil_TWh": 11.12,
-        "other_renewable_TWh": 1.22,
-        "other_renewable_exc_biofuel_TWh": 0.44,
-        "per_capita_Wh": 7732.875,
-        "renewables_TWh": 206.69,
-        "solar_TWh": 2.55,
-        "total_TWh": 1119.0500000000002,
-        "wind_TWh": 5.51,
-        "year": 2022
-    },
-    "SAU": {
-        "biofuel_TWh": 0.0,
-        "carbon_intensity": 557.783,
-        "coal_TWh": 0.0,
-        "country_name": "Saudi Arabia",
-        "fossil_TWh": 400.75,
-        "gas_TWh": 269.37,
-        "hydroelectricity_TWh": 0,
-        "iso_code": "SAU",
-        "low_carbon_TWh": 0.84,
-        "nuclear_TWh": 0.0,
-        "oil_TWh": 131.38,
-        "other_renewable_TWh": 0.0,
+        "low_carbon_TWh": 424.31,
+        "nuclear_TWh": 217.47,
+        "oil_TWh": 12.15,
+        "other_renewable_TWh": 0.85,
         "other_renewable_exc_biofuel_TWh": 0,
-        "per_capita_Wh": 11030.019,
-        "renewables_TWh": 0.84,
-        "solar_TWh": 0.83,
-        "total_TWh": 401.59,
-        "wind_TWh": 0.01,
-        "year": 2022
+        "per_capita_Wh": 8151.72,
+        "renewables_TWh": 206.84,
+        "solar_TWh": 2.01,
+        "total_TWh": 1177.47,
+        "wind_TWh": 3.35,
+        "year": 2023
     },
     "SGP": {
-        "biofuel_TWh": 0.38,
-        "carbon_intensity": 488.775,
-        "coal_TWh": 0.0,
+        "biofuel_TWh": 1.66,
+        "carbon_intensity": 470.783,
+        "coal_TWh": 0.57,
         "country_name": "Singapore",
-        "fossil_TWh": 53.47,
-        "gas_TWh": 51.39,
-        "hydroelectricity_TWh": 0.0,
+        "fossil_TWh": 54.73,
+        "gas_TWh": 53.07,
+        "hydroelectricity_TWh": 0,
         "iso_code": "SGP",
-        "low_carbon_TWh": 1.32,
+        "low_carbon_TWh": 2.6,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 2.08,
-        "other_renewable_TWh": 0.38,
-        "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 9168.817,
-        "renewables_TWh": 1.32,
+        "oil_TWh": 1.09,
+        "other_renewable_TWh": 0.837,
+        "other_renewable_exc_biofuel_TWh": 0,
+        "per_capita_Wh": 9531.607,
+        "renewables_TWh": 2.6,
         "solar_TWh": 0.94,
-        "total_TWh": 54.79,
+        "total_TWh": 57.33,
         "wind_TWh": 0.0,
-        "year": 2022
+        "year": 2023
     },
     "SLV": {
-        "biofuel_TWh": 0.45,
-        "carbon_intensity": 194.226,
+        "biofuel_TWh": 1.04,
+        "carbon_intensity": 271.468,
         "coal_TWh": 0.0,
         "country_name": "El Salvador",
-        "fossil_TWh": 2.04,
-        "gas_TWh": 1.04,
-        "hydroelectricity_TWh": 2.41,
+        "fossil_TWh": 2.64,
+        "gas_TWh": 1.6,
+        "hydroelectricity_TWh": 0.88,
         "iso_code": "SLV",
-        "low_carbon_TWh": 5.58,
+        "low_carbon_TWh": 4.58,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 1.0,
-        "other_renewable_TWh": 2.05,
-        "other_renewable_exc_biofuel_TWh": 1.6,
-        "per_capita_Wh": 1202.577,
-        "renewables_TWh": 5.58,
-        "solar_TWh": 1.1,
-        "total_TWh": 7.62,
-        "wind_TWh": 0.02,
-        "year": 2022
+        "oil_TWh": 1.04,
+        "other_renewable_TWh": 2.59,
+        "other_renewable_exc_biofuel_TWh": 1.55,
+        "per_capita_Wh": 1134.338,
+        "renewables_TWh": 4.58,
+        "solar_TWh": 1.11,
+        "total_TWh": 7.220000000000001,
+        "wind_TWh": 0.0,
+        "year": 2023
     },
     "SRB": {
         "biofuel_TWh": 0.23,
-        "carbon_intensity": 582.128,
-        "coal_TWh": 23.62,
+        "carbon_intensity": 636.062,
+        "coal_TWh": 23.54,
         "country_name": "Serbia",
-        "fossil_TWh": 25.41,
-        "gas_TWh": 1.79,
-        "hydroelectricity_TWh": 8.66,
+        "fossil_TWh": 25.13,
+        "gas_TWh": 1.59,
+        "hydroelectricity_TWh": 12.9,
         "iso_code": "SRB",
-        "low_carbon_TWh": 9.84,
+        "low_carbon_TWh": 14.08,
         "nuclear_TWh": 0.0,
         "oil_TWh": 0.0,
         "other_renewable_TWh": 0.23,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 4881.349,
-        "renewables_TWh": 9.84,
+        "per_capita_Wh": 5484.627,
+        "renewables_TWh": 14.08,
         "solar_TWh": 0.01,
-        "total_TWh": 35.25,
+        "total_TWh": 39.21,
         "wind_TWh": 0.94,
-        "year": 2022
+        "year": 2023
     },
     "SVK": {
-        "biofuel_TWh": 1.71,
-        "carbon_intensity": 140.135,
-        "coal_TWh": 1.54,
+        "biofuel_TWh": 1.54,
+        "carbon_intensity": 116.774,
+        "coal_TWh": 1.35,
         "country_name": "Slovakia",
-        "fossil_TWh": 4.75,
-        "gas_TWh": 2.18,
-        "hydroelectricity_TWh": 3.7,
+        "fossil_TWh": 4.5,
+        "gas_TWh": 2.38,
+        "hydroelectricity_TWh": 4.63,
         "iso_code": "SVK",
-        "low_carbon_TWh": 22.01,
-        "nuclear_TWh": 15.91,
-        "oil_TWh": 1.03,
-        "other_renewable_TWh": 1.71,
-        "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 4741.776,
-        "renewables_TWh": 6.1,
-        "solar_TWh": 0.69,
-        "total_TWh": 26.759999999999998,
+        "low_carbon_TWh": 25.13,
+        "nuclear_TWh": 18.34,
+        "oil_TWh": 0.77,
+        "other_renewable_TWh": 1.55,
+        "other_renewable_exc_biofuel_TWh": 0.01,
+        "per_capita_Wh": 5112.847,
+        "renewables_TWh": 6.79,
+        "solar_TWh": 0.61,
+        "total_TWh": 29.63,
         "wind_TWh": 0.0,
-        "year": 2022
+        "year": 2023
     },
     "SVN": {
-        "biofuel_TWh": 0.29,
-        "carbon_intensity": 237.378,
-        "coal_TWh": 3.21,
+        "biofuel_TWh": 0.24,
+        "carbon_intensity": 231.275,
+        "coal_TWh": 3.19,
         "country_name": "Slovenia",
-        "fossil_TWh": 3.75,
-        "gas_TWh": 0.47,
-        "hydroelectricity_TWh": 3.19,
+        "fossil_TWh": 3.68,
+        "gas_TWh": 0.43,
+        "hydroelectricity_TWh": 4.96,
         "iso_code": "SVN",
-        "low_carbon_TWh": 9.52,
-        "nuclear_TWh": 5.59,
-        "oil_TWh": 0.07,
-        "other_renewable_TWh": 0.29,
+        "low_carbon_TWh": 11.54,
+        "nuclear_TWh": 5.64,
+        "oil_TWh": 0.06,
+        "other_renewable_TWh": 0.24,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 6259.898,
-        "renewables_TWh": 3.93,
-        "solar_TWh": 0.44,
-        "total_TWh": 13.27,
+        "per_capita_Wh": 7180.326,
+        "renewables_TWh": 5.9,
+        "solar_TWh": 0.69,
+        "total_TWh": 15.219999999999999,
         "wind_TWh": 0.01,
-        "year": 2022
+        "year": 2023
     },
     "SWE": {
-        "biofuel_TWh": 12.71,
-        "carbon_intensity": 45.119,
+        "biofuel_TWh": 11.78,
+        "carbon_intensity": 40.695,
         "coal_TWh": 0.01,
         "country_name": "Sweden",
-        "fossil_TWh": 3.05,
-        "gas_TWh": 0.28,
-        "hydroelectricity_TWh": 69.38,
+        "fossil_TWh": 2.91,
+        "gas_TWh": 0.15,
+        "hydroelectricity_TWh": 66.07,
         "iso_code": "SWE",
-        "low_carbon_TWh": 169.16,
-        "nuclear_TWh": 51.4,
-        "oil_TWh": 2.76,
-        "other_renewable_TWh": 12.71,
+        "low_carbon_TWh": 163.45,
+        "nuclear_TWh": 48.4,
+        "oil_TWh": 2.75,
+        "other_renewable_TWh": 11.78,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 16324.231,
-        "renewables_TWh": 117.76,
-        "solar_TWh": 2.34,
-        "total_TWh": 172.21,
-        "wind_TWh": 33.33,
-        "year": 2022
+        "per_capita_Wh": 15676.465,
+        "renewables_TWh": 115.05,
+        "solar_TWh": 2.48,
+        "total_TWh": 166.35999999999999,
+        "wind_TWh": 34.72,
+        "year": 2023
     },
     "THA": {
-        "biofuel_TWh": 14.78,
-        "carbon_intensity": 501.572,
-        "coal_TWh": 37.79,
+        "biofuel_TWh": 13.99,
+        "carbon_intensity": 549.583,
+        "coal_TWh": 30.44,
         "country_name": "Thailand",
-        "fossil_TWh": 161.35,
-        "gas_TWh": 121.78,
-        "hydroelectricity_TWh": 6.73,
+        "fossil_TWh": 160.74,
+        "gas_TWh": 129.4,
+        "hydroelectricity_TWh": 6.6,
         "iso_code": "THA",
-        "low_carbon_TWh": 29.53,
+        "low_carbon_TWh": 29.75,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 1.78,
-        "other_renewable_TWh": 14.78,
-        "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 2662.314,
-        "renewables_TWh": 29.53,
-        "solar_TWh": 5.02,
-        "total_TWh": 190.88,
-        "wind_TWh": 3.0,
-        "year": 2022
+        "oil_TWh": 0.9,
+        "other_renewable_TWh": 14.149,
+        "other_renewable_exc_biofuel_TWh": 0,
+        "per_capita_Wh": 2653.017,
+        "renewables_TWh": 29.75,
+        "solar_TWh": 5.0,
+        "total_TWh": 190.49,
+        "wind_TWh": 4.16,
+        "year": 2023
     },
     "TUN": {
         "biofuel_TWh": 0.0,
-        "carbon_intensity": 469.428,
+        "carbon_intensity": 563.956,
         "coal_TWh": 0.0,
         "country_name": "Tunisia",
-        "fossil_TWh": 19.39,
-        "gas_TWh": 19.39,
-        "hydroelectricity_TWh": 0.06,
+        "fossil_TWh": 20.36,
+        "gas_TWh": 20.33,
+        "hydroelectricity_TWh": 0.01,
         "iso_code": "TUN",
-        "low_carbon_TWh": 0.89,
+        "low_carbon_TWh": 0.67,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.0,
+        "oil_TWh": 0.03,
         "other_renewable_TWh": 0.0,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 1641.292,
-        "renewables_TWh": 0.89,
-        "solar_TWh": 0.41,
-        "total_TWh": 20.28,
-        "wind_TWh": 0.42,
-        "year": 2022
+        "per_capita_Wh": 1688.042,
+        "renewables_TWh": 0.67,
+        "solar_TWh": 0.32,
+        "total_TWh": 21.03,
+        "wind_TWh": 0.34,
+        "year": 2023
     },
     "TUR": {
-        "biofuel_TWh": 7.92,
-        "carbon_intensity": 413.603,
-        "coal_TWh": 111.08,
+        "biofuel_TWh": 8.21,
+        "carbon_intensity": 464.586,
+        "coal_TWh": 118.03,
         "country_name": "Turkey",
-        "fossil_TWh": 189.22,
-        "gas_TWh": 75.7,
-        "hydroelectricity_TWh": 67.09,
+        "fossil_TWh": 185.45,
+        "gas_TWh": 66.48,
+        "hydroelectricity_TWh": 63.72,
         "iso_code": "TUR",
-        "low_carbon_TWh": 136.89,
+        "low_carbon_TWh": 134.34,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 2.44,
-        "other_renewable_TWh": 18.82,
-        "other_renewable_exc_biofuel_TWh": 10.9,
-        "per_capita_Wh": 3821.247,
-        "renewables_TWh": 136.89,
-        "solar_TWh": 15.84,
-        "total_TWh": 326.11,
-        "wind_TWh": 35.14,
-        "year": 2022
+        "oil_TWh": 0.94,
+        "other_renewable_TWh": 18.34,
+        "other_renewable_exc_biofuel_TWh": 10.13,
+        "per_capita_Wh": 3726.453,
+        "renewables_TWh": 134.34,
+        "solar_TWh": 18.4,
+        "total_TWh": 319.78999999999996,
+        "wind_TWh": 33.88,
+        "year": 2023
     },
     "TWN": {
-        "biofuel_TWh": 1.95,
-        "carbon_intensity": 560.978,
-        "coal_TWh": 122.04,
+        "biofuel_TWh": 2.03,
+        "carbon_intensity": 642.378,
+        "coal_TWh": 122.05,
         "country_name": "Taiwan",
-        "fossil_TWh": 239.28,
-        "gas_TWh": 112.75,
-        "hydroelectricity_TWh": 5.83,
+        "fossil_TWh": 237.33,
+        "gas_TWh": 111.96,
+        "hydroelectricity_TWh": 4.14,
         "iso_code": "TWN",
-        "low_carbon_TWh": 45.74,
-        "nuclear_TWh": 23.76,
-        "oil_TWh": 4.49,
-        "other_renewable_TWh": 1.96,
-        "other_renewable_exc_biofuel_TWh": 0.01,
-        "per_capita_Wh": 11928.819,
-        "renewables_TWh": 21.98,
-        "solar_TWh": 10.69,
-        "total_TWh": 285.02,
-        "wind_TWh": 3.5,
-        "year": 2022
-    },
-    "UKR": {
-        "biofuel_TWh": 0.76,
-        "carbon_intensity": 232.741,
-        "coal_TWh": 26.15,
-        "country_name": "Ukraine",
-        "fossil_TWh": 32.94,
-        "gas_TWh": 5.11,
-        "hydroelectricity_TWh": 10.53,
-        "iso_code": "UKR",
-        "low_carbon_TWh": 81.35,
-        "nuclear_TWh": 63.26,
-        "oil_TWh": 1.68,
-        "other_renewable_TWh": 0.76,
-        "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 2878.715,
-        "renewables_TWh": 18.09,
-        "solar_TWh": 5.97,
-        "total_TWh": 114.28999999999999,
-        "wind_TWh": 0.83,
-        "year": 2022
+        "low_carbon_TWh": 44.14,
+        "nuclear_TWh": 19.79,
+        "oil_TWh": 3.32,
+        "other_renewable_TWh": 1.946,
+        "other_renewable_exc_biofuel_TWh": 0,
+        "per_capita_Wh": 11765.531,
+        "renewables_TWh": 24.35,
+        "solar_TWh": 13.57,
+        "total_TWh": 281.47,
+        "wind_TWh": 4.61,
+        "year": 2023
     },
     "URY": {
-        "biofuel_TWh": 2.6,
-        "carbon_intensity": 150.127,
+        "biofuel_TWh": 3.03,
+        "carbon_intensity": 128.788,
         "coal_TWh": 0.0,
         "country_name": "Uruguay",
-        "fossil_TWh": 2.23,
+        "fossil_TWh": 1.35,
         "gas_TWh": 0.0,
-        "hydroelectricity_TWh": 5.61,
+        "hydroelectricity_TWh": 3.62,
         "iso_code": "URY",
-        "low_carbon_TWh": 13.49,
+        "low_carbon_TWh": 11.85,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 2.23,
-        "other_renewable_TWh": 2.6,
+        "oil_TWh": 1.35,
+        "other_renewable_TWh": 3.03,
         "other_renewable_exc_biofuel_TWh": 0.0,
-        "per_capita_Wh": 4592.737,
-        "renewables_TWh": 13.49,
-        "solar_TWh": 0.48,
-        "total_TWh": 15.72,
-        "wind_TWh": 4.8,
-        "year": 2022
+        "per_capita_Wh": 3856.147,
+        "renewables_TWh": 11.85,
+        "solar_TWh": 0.46,
+        "total_TWh": 13.2,
+        "wind_TWh": 4.74,
+        "year": 2023
     },
     "USA": {
-        "biofuel_TWh": 51.85,
-        "carbon_intensity": 368.102,
-        "coal_TWh": 831.51,
+        "biofuel_TWh": 47.46,
+        "carbon_intensity": 369.473,
+        "coal_TWh": 675.26,
         "country_name": "United States",
-        "fossil_TWh": 2557.22,
-        "gas_TWh": 1687.07,
-        "hydroelectricity_TWh": 248.76,
+        "fossil_TWh": 2510.32,
+        "gas_TWh": 1802.06,
+        "hydroelectricity_TWh": 233.96,
         "iso_code": "USA",
-        "low_carbon_TWh": 1729.69,
-        "nuclear_TWh": 771.54,
-        "oil_TWh": 38.64,
-        "other_renewable_TWh": 70.01,
-        "other_renewable_exc_biofuel_TWh": 18.16,
-        "per_capita_Wh": 12672.299,
-        "renewables_TWh": 958.15,
-        "solar_TWh": 205.08,
-        "total_TWh": 4286.91,
-        "wind_TWh": 434.3,
-        "year": 2022
+        "low_carbon_TWh": 1738.73,
+        "nuclear_TWh": 775.35,
+        "oil_TWh": 33.0,
+        "other_renewable_TWh": 66.07,
+        "other_renewable_exc_biofuel_TWh": 18.61,
+        "per_capita_Wh": 12497.331,
+        "renewables_TWh": 963.38,
+        "solar_TWh": 238.12,
+        "total_TWh": 4249.05,
+        "wind_TWh": 425.23,
+        "year": 2023
     },
     "VNM": {
         "biofuel_TWh": 0.36,
-        "carbon_intensity": 386.491,
-        "coal_TWh": 100.78,
+        "carbon_intensity": 475.449,
+        "coal_TWh": 124.31,
         "country_name": "Vietnam",
-        "fossil_TWh": 129.25,
-        "gas_TWh": 27.77,
-        "hydroelectricity_TWh": 95.96,
+        "fossil_TWh": 153.14,
+        "gas_TWh": 26.52,
+        "hydroelectricity_TWh": 76.79,
         "iso_code": "VNM",
-        "low_carbon_TWh": 130.73,
+        "low_carbon_TWh": 112.63,
         "nuclear_TWh": 0.0,
-        "oil_TWh": 0.7,
-        "other_renewable_TWh": 0.361,
+        "oil_TWh": 2.31,
+        "other_renewable_TWh": 0.853,
         "other_renewable_exc_biofuel_TWh": 0,
-        "per_capita_Wh": 2647.809,
-        "renewables_TWh": 130.73,
-        "solar_TWh": 26.37,
-        "total_TWh": 259.98,
-        "wind_TWh": 8.04,
-        "year": 2022
+        "per_capita_Wh": 2688.376,
+        "renewables_TWh": 112.63,
+        "solar_TWh": 25.46,
+        "total_TWh": 265.77,
+        "wind_TWh": 10.02,
+        "year": 2023
     },
     "ZAF": {
-        "biofuel_TWh": 0.39,
-        "carbon_intensity": 708.207,
-        "coal_TWh": 180.78,
+        "biofuel_TWh": 0.43,
+        "carbon_intensity": 707.686,
+        "coal_TWh": 185.29,
         "country_name": "South Africa",
-        "fossil_TWh": 184.13,
+        "fossil_TWh": 190.61,
         "gas_TWh": 0.0,
-        "hydroelectricity_TWh": 3.02,
+        "hydroelectricity_TWh": 1.96,
         "iso_code": "ZAF",
-        "low_carbon_TWh": 29.48,
-        "nuclear_TWh": 10.07,
-        "oil_TWh": 3.35,
-        "other_renewable_TWh": 0.49,
-        "other_renewable_exc_biofuel_TWh": 0.1,
-        "per_capita_Wh": 3566.474,
-        "renewables_TWh": 19.41,
-        "solar_TWh": 6.21,
-        "total_TWh": 213.60999999999999,
-        "wind_TWh": 9.69,
-        "year": 2022
+        "low_carbon_TWh": 37.74,
+        "nuclear_TWh": 8.16,
+        "oil_TWh": 5.32,
+        "other_renewable_TWh": 0.41,
+        "other_renewable_exc_biofuel_TWh": 0,
+        "per_capita_Wh": 3779.722,
+        "renewables_TWh": 29.58,
+        "solar_TWh": 15.57,
+        "total_TWh": 228.35,
+        "wind_TWh": 11.62,
+        "year": 2023
     }
 }
\ No newline at end of file
diff --git a/codecarbon/data/private_infra/our_world_in_data-2022_data.ipynb b/codecarbon/data/private_infra/our_world_in_data.ipynb
similarity index 71%
rename from codecarbon/data/private_infra/our_world_in_data-2022_data.ipynb
rename to codecarbon/data/private_infra/our_world_in_data.ipynb
index 7a0030a6c..4d3a2bdab 100644
--- a/codecarbon/data/private_infra/our_world_in_data-2022_data.ipynb
+++ b/codecarbon/data/private_infra/our_world_in_data.ipynb
@@ -23,7 +23,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 3,
+   "execution_count": 14,
    "id": "d13bd240-bfe2-4fe6-9e2d-45dd08e8342e",
    "metadata": {},
    "outputs": [],
@@ -35,7 +35,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 4,
+   "execution_count": 15,
    "id": "b2f51b9e-ffb6-4ef7-822b-c0242f581dc8",
    "metadata": {},
    "outputs": [
@@ -229,19 +229,19 @@
        "      <td>...</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>21585</th>\n",
+       "      <th>21807</th>\n",
        "      <td>Zimbabwe</td>\n",
-       "      <td>2018</td>\n",
+       "      <td>2019</td>\n",
        "      <td>ZWE</td>\n",
-       "      <td>15052191.0</td>\n",
-       "      <td>2.271535e+10</td>\n",
+       "      <td>15354606.0</td>\n",
+       "      <td>2.514642e+10</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
-       "      <td>25.910</td>\n",
+       "      <td>12.374</td>\n",
        "      <td>...</td>\n",
-       "      <td>0.218</td>\n",
+       "      <td>0.353</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
@@ -253,19 +253,19 @@
        "      <td>NaN</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>21586</th>\n",
+       "      <th>21808</th>\n",
        "      <td>Zimbabwe</td>\n",
-       "      <td>2019</td>\n",
+       "      <td>2020</td>\n",
        "      <td>ZWE</td>\n",
-       "      <td>15354606.0</td>\n",
-       "      <td>NaN</td>\n",
+       "      <td>15669663.0</td>\n",
+       "      <td>2.317871e+10</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
-       "      <td>24.748</td>\n",
+       "      <td>6.382</td>\n",
        "      <td>...</td>\n",
-       "      <td>0.364</td>\n",
+       "      <td>0.298</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
@@ -277,19 +277,19 @@
        "      <td>NaN</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>21587</th>\n",
+       "      <th>21809</th>\n",
        "      <td>Zimbabwe</td>\n",
-       "      <td>2020</td>\n",
+       "      <td>2021</td>\n",
        "      <td>ZWE</td>\n",
-       "      <td>15669663.0</td>\n",
-       "      <td>NaN</td>\n",
+       "      <td>15993525.0</td>\n",
+       "      <td>2.514009e+10</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
-       "      <td>22.336</td>\n",
+       "      <td>0.000</td>\n",
        "      <td>...</td>\n",
-       "      <td>0.395</td>\n",
+       "      <td>0.236</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
@@ -301,19 +301,19 @@
        "      <td>NaN</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>21588</th>\n",
+       "      <th>21810</th>\n",
        "      <td>Zimbabwe</td>\n",
-       "      <td>2021</td>\n",
+       "      <td>2022</td>\n",
        "      <td>ZWE</td>\n",
-       "      <td>15993525.0</td>\n",
-       "      <td>NaN</td>\n",
+       "      <td>16320539.0</td>\n",
+       "      <td>2.590159e+10</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
-       "      <td>23.760</td>\n",
+       "      <td>6.127</td>\n",
        "      <td>...</td>\n",
-       "      <td>0.498</td>\n",
+       "      <td>0.336</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
@@ -325,11 +325,11 @@
        "      <td>NaN</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>21589</th>\n",
+       "      <th>21811</th>\n",
        "      <td>Zimbabwe</td>\n",
-       "      <td>2022</td>\n",
+       "      <td>2023</td>\n",
        "      <td>ZWE</td>\n",
-       "      <td>16320539.0</td>\n",
+       "      <td>16665407.0</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
@@ -350,7 +350,7 @@
        "    </tr>\n",
        "  </tbody>\n",
        "</table>\n",
-       "<p>21590 rows × 129 columns</p>\n",
+       "<p>21812 rows × 129 columns</p>\n",
        "</div>"
       ],
       "text/plain": [
@@ -361,11 +361,11 @@
        "3      ASEAN (Ember)  2003      NaN         NaN           NaN   \n",
        "4      ASEAN (Ember)  2004      NaN         NaN           NaN   \n",
        "...              ...   ...      ...         ...           ...   \n",
-       "21585       Zimbabwe  2018      ZWE  15052191.0  2.271535e+10   \n",
-       "21586       Zimbabwe  2019      ZWE  15354606.0           NaN   \n",
-       "21587       Zimbabwe  2020      ZWE  15669663.0           NaN   \n",
-       "21588       Zimbabwe  2021      ZWE  15993525.0           NaN   \n",
-       "21589       Zimbabwe  2022      ZWE  16320539.0           NaN   \n",
+       "21807       Zimbabwe  2019      ZWE  15354606.0  2.514642e+10   \n",
+       "21808       Zimbabwe  2020      ZWE  15669663.0  2.317871e+10   \n",
+       "21809       Zimbabwe  2021      ZWE  15993525.0  2.514009e+10   \n",
+       "21810       Zimbabwe  2022      ZWE  16320539.0  2.590159e+10   \n",
+       "21811       Zimbabwe  2023      ZWE  16665407.0           NaN   \n",
        "\n",
        "       biofuel_cons_change_pct  biofuel_cons_change_twh  \\\n",
        "0                          NaN                      NaN   \n",
@@ -374,11 +374,11 @@
        "3                          NaN                      NaN   \n",
        "4                          NaN                      NaN   \n",
        "...                        ...                      ...   \n",
-       "21585                      NaN                      NaN   \n",
-       "21586                      NaN                      NaN   \n",
-       "21587                      NaN                      NaN   \n",
-       "21588                      NaN                      NaN   \n",
-       "21589                      NaN                      NaN   \n",
+       "21807                      NaN                      NaN   \n",
+       "21808                      NaN                      NaN   \n",
+       "21809                      NaN                      NaN   \n",
+       "21810                      NaN                      NaN   \n",
+       "21811                      NaN                      NaN   \n",
        "\n",
        "       biofuel_cons_per_capita  biofuel_consumption  biofuel_elec_per_capita  \\\n",
        "0                          NaN                  NaN                      NaN   \n",
@@ -387,11 +387,11 @@
        "3                          NaN                  NaN                      NaN   \n",
        "4                          NaN                  NaN                      NaN   \n",
        "...                        ...                  ...                      ...   \n",
-       "21585                      NaN                  NaN                   25.910   \n",
-       "21586                      NaN                  NaN                   24.748   \n",
-       "21587                      NaN                  NaN                   22.336   \n",
-       "21588                      NaN                  NaN                   23.760   \n",
-       "21589                      NaN                  NaN                      NaN   \n",
+       "21807                      NaN                  NaN                   12.374   \n",
+       "21808                      NaN                  NaN                    6.382   \n",
+       "21809                      NaN                  NaN                    0.000   \n",
+       "21810                      NaN                  NaN                    6.127   \n",
+       "21811                      NaN                  NaN                      NaN   \n",
        "\n",
        "       ...  solar_share_elec  solar_share_energy  wind_cons_change_pct  \\\n",
        "0      ...             0.000                 NaN                   NaN   \n",
@@ -400,11 +400,11 @@
        "3      ...             0.000                 NaN                   NaN   \n",
        "4      ...             0.000                 NaN                   NaN   \n",
        "...    ...               ...                 ...                   ...   \n",
-       "21585  ...             0.218                 NaN                   NaN   \n",
-       "21586  ...             0.364                 NaN                   NaN   \n",
-       "21587  ...             0.395                 NaN                   NaN   \n",
-       "21588  ...             0.498                 NaN                   NaN   \n",
-       "21589  ...               NaN                 NaN                   NaN   \n",
+       "21807  ...             0.353                 NaN                   NaN   \n",
+       "21808  ...             0.298                 NaN                   NaN   \n",
+       "21809  ...             0.236                 NaN                   NaN   \n",
+       "21810  ...             0.336                 NaN                   NaN   \n",
+       "21811  ...               NaN                 NaN                   NaN   \n",
        "\n",
        "       wind_cons_change_twh  wind_consumption  wind_elec_per_capita  \\\n",
        "0                       NaN               NaN                   NaN   \n",
@@ -413,11 +413,11 @@
        "3                       NaN               NaN                   NaN   \n",
        "4                       NaN               NaN                   NaN   \n",
        "...                     ...               ...                   ...   \n",
-       "21585                   NaN               NaN                   0.0   \n",
-       "21586                   NaN               NaN                   0.0   \n",
-       "21587                   NaN               NaN                   0.0   \n",
-       "21588                   NaN               NaN                   0.0   \n",
-       "21589                   NaN               NaN                   NaN   \n",
+       "21807                   NaN               NaN                   0.0   \n",
+       "21808                   NaN               NaN                   0.0   \n",
+       "21809                   NaN               NaN                   0.0   \n",
+       "21810                   NaN               NaN                   0.0   \n",
+       "21811                   NaN               NaN                   NaN   \n",
        "\n",
        "       wind_electricity  wind_energy_per_capita  wind_share_elec  \\\n",
        "0                   0.0                     NaN              0.0   \n",
@@ -426,11 +426,11 @@
        "3                   0.0                     NaN              0.0   \n",
        "4                   0.0                     NaN              0.0   \n",
        "...                 ...                     ...              ...   \n",
-       "21585               0.0                     NaN              0.0   \n",
-       "21586               0.0                     NaN              0.0   \n",
-       "21587               0.0                     NaN              0.0   \n",
-       "21588               0.0                     NaN              0.0   \n",
-       "21589               NaN                     NaN              NaN   \n",
+       "21807               0.0                     NaN              0.0   \n",
+       "21808               0.0                     NaN              0.0   \n",
+       "21809               0.0                     NaN              0.0   \n",
+       "21810               0.0                     NaN              0.0   \n",
+       "21811               NaN                     NaN              NaN   \n",
        "\n",
        "       wind_share_energy  \n",
        "0                    NaN  \n",
@@ -439,16 +439,16 @@
        "3                    NaN  \n",
        "4                    NaN  \n",
        "...                  ...  \n",
-       "21585                NaN  \n",
-       "21586                NaN  \n",
-       "21587                NaN  \n",
-       "21588                NaN  \n",
-       "21589                NaN  \n",
+       "21807                NaN  \n",
+       "21808                NaN  \n",
+       "21809                NaN  \n",
+       "21810                NaN  \n",
+       "21811                NaN  \n",
        "\n",
-       "[21590 rows x 129 columns]"
+       "[21812 rows x 129 columns]"
       ]
      },
-     "execution_count": 4,
+     "execution_count": 15,
      "metadata": {},
      "output_type": "execute_result"
     }
@@ -460,7 +460,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 5,
+   "execution_count": 16,
    "id": "74078590",
    "metadata": {},
    "outputs": [
@@ -510,7 +510,7 @@
        "  </thead>\n",
        "  <tbody>\n",
        "    <tr>\n",
-       "      <th>9097</th>\n",
+       "      <th>9205</th>\n",
        "      <td>India</td>\n",
        "      <td>1900</td>\n",
        "      <td>IND</td>\n",
@@ -534,7 +534,7 @@
        "      <td>NaN</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>9098</th>\n",
+       "      <th>9206</th>\n",
        "      <td>India</td>\n",
        "      <td>1901</td>\n",
        "      <td>IND</td>\n",
@@ -558,7 +558,7 @@
        "      <td>NaN</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>9099</th>\n",
+       "      <th>9207</th>\n",
        "      <td>India</td>\n",
        "      <td>1902</td>\n",
        "      <td>IND</td>\n",
@@ -582,7 +582,7 @@
        "      <td>NaN</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>9100</th>\n",
+       "      <th>9208</th>\n",
        "      <td>India</td>\n",
        "      <td>1903</td>\n",
        "      <td>IND</td>\n",
@@ -606,7 +606,7 @@
        "      <td>NaN</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>9101</th>\n",
+       "      <th>9209</th>\n",
        "      <td>India</td>\n",
        "      <td>1904</td>\n",
        "      <td>IND</td>\n",
@@ -654,44 +654,20 @@
        "      <td>...</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>9215</th>\n",
-       "      <td>India</td>\n",
-       "      <td>2018</td>\n",
-       "      <td>IND</td>\n",
-       "      <td>1.369003e+09</td>\n",
-       "      <td>8.835758e+12</td>\n",
-       "      <td>33.945</td>\n",
-       "      <td>5.170</td>\n",
-       "      <td>14.902</td>\n",
-       "      <td>20.401</td>\n",
-       "      <td>19.883</td>\n",
-       "      <td>...</td>\n",
-       "      <td>2.301</td>\n",
-       "      <td>1.058</td>\n",
-       "      <td>14.596</td>\n",
-       "      <td>19.505</td>\n",
-       "      <td>159.567</td>\n",
-       "      <td>44.054</td>\n",
-       "      <td>60.31</td>\n",
-       "      <td>116.557</td>\n",
-       "      <td>3.819</td>\n",
-       "      <td>1.757</td>\n",
-       "    </tr>\n",
-       "    <tr>\n",
-       "      <th>9216</th>\n",
+       "      <th>9324</th>\n",
        "      <td>India</td>\n",
        "      <td>2019</td>\n",
        "      <td>IND</td>\n",
        "      <td>1.383112e+09</td>\n",
-       "      <td>NaN</td>\n",
-       "      <td>11.529</td>\n",
-       "      <td>2.352</td>\n",
-       "      <td>16.451</td>\n",
-       "      <td>22.753</td>\n",
+       "      <td>9.595463e+12</td>\n",
+       "      <td>23.248</td>\n",
+       "      <td>2.451</td>\n",
+       "      <td>9.396</td>\n",
+       "      <td>12.996</td>\n",
        "      <td>22.782</td>\n",
        "      <td>...</td>\n",
        "      <td>2.852</td>\n",
-       "      <td>1.310</td>\n",
+       "      <td>1.309</td>\n",
        "      <td>4.979</td>\n",
        "      <td>7.327</td>\n",
        "      <td>166.895</td>\n",
@@ -699,23 +675,23 @@
        "      <td>63.31</td>\n",
        "      <td>120.666</td>\n",
        "      <td>3.903</td>\n",
-       "      <td>1.792</td>\n",
+       "      <td>1.791</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>9217</th>\n",
+       "      <th>9325</th>\n",
        "      <td>India</td>\n",
        "      <td>2020</td>\n",
        "      <td>IND</td>\n",
        "      <td>1.396387e+09</td>\n",
-       "      <td>NaN</td>\n",
-       "      <td>-1.031</td>\n",
-       "      <td>-0.235</td>\n",
-       "      <td>16.126</td>\n",
-       "      <td>22.518</td>\n",
+       "      <td>8.945314e+12</td>\n",
+       "      <td>-6.260</td>\n",
+       "      <td>-0.813</td>\n",
+       "      <td>8.724</td>\n",
+       "      <td>12.182</td>\n",
        "      <td>23.532</td>\n",
        "      <td>...</td>\n",
        "      <td>3.709</td>\n",
-       "      <td>1.747</td>\n",
+       "      <td>1.746</td>\n",
        "      <td>-4.560</td>\n",
        "      <td>-8.195</td>\n",
        "      <td>158.700</td>\n",
@@ -723,19 +699,19 @@
        "      <td>60.43</td>\n",
        "      <td>113.650</td>\n",
        "      <td>3.820</td>\n",
-       "      <td>1.799</td>\n",
+       "      <td>1.798</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>9218</th>\n",
+       "      <th>9326</th>\n",
        "      <td>India</td>\n",
        "      <td>2021</td>\n",
        "      <td>IND</td>\n",
        "      <td>1.407564e+09</td>\n",
-       "      <td>NaN</td>\n",
-       "      <td>39.907</td>\n",
-       "      <td>8.986</td>\n",
-       "      <td>22.382</td>\n",
-       "      <td>31.505</td>\n",
+       "      <td>9.801621e+12</td>\n",
+       "      <td>61.522</td>\n",
+       "      <td>7.495</td>\n",
+       "      <td>13.979</td>\n",
+       "      <td>19.677</td>\n",
        "      <td>26.116</td>\n",
        "      <td>...</td>\n",
        "      <td>3.984</td>\n",
@@ -750,20 +726,20 @@
        "      <td>1.859</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>9219</th>\n",
+       "      <th>9327</th>\n",
        "      <td>India</td>\n",
        "      <td>2022</td>\n",
        "      <td>IND</td>\n",
        "      <td>1.417173e+09</td>\n",
-       "      <td>NaN</td>\n",
-       "      <td>14.897</td>\n",
-       "      <td>4.693</td>\n",
-       "      <td>25.542</td>\n",
-       "      <td>36.198</td>\n",
+       "      <td>1.047625e+13</td>\n",
+       "      <td>42.380</td>\n",
+       "      <td>8.339</td>\n",
+       "      <td>19.769</td>\n",
+       "      <td>28.016</td>\n",
        "      <td>28.747</td>\n",
        "      <td>...</td>\n",
        "      <td>5.122</td>\n",
-       "      <td>2.451</td>\n",
+       "      <td>2.456</td>\n",
        "      <td>2.865</td>\n",
        "      <td>4.437</td>\n",
        "      <td>182.617</td>\n",
@@ -771,109 +747,133 @@
        "      <td>70.05</td>\n",
        "      <td>128.860</td>\n",
        "      <td>3.770</td>\n",
-       "      <td>1.804</td>\n",
+       "      <td>1.808</td>\n",
+       "    </tr>\n",
+       "    <tr>\n",
+       "      <th>9328</th>\n",
+       "      <td>India</td>\n",
+       "      <td>2023</td>\n",
+       "      <td>IND</td>\n",
+       "      <td>1.428628e+09</td>\n",
+       "      <td>NaN</td>\n",
+       "      <td>22.563</td>\n",
+       "      <td>6.321</td>\n",
+       "      <td>24.035</td>\n",
+       "      <td>34.337</td>\n",
+       "      <td>27.516</td>\n",
+       "      <td>...</td>\n",
+       "      <td>5.763</td>\n",
+       "      <td>2.718</td>\n",
+       "      <td>17.219</td>\n",
+       "      <td>30.667</td>\n",
+       "      <td>213.285</td>\n",
+       "      <td>57.468</td>\n",
+       "      <td>82.10</td>\n",
+       "      <td>149.293</td>\n",
+       "      <td>4.172</td>\n",
+       "      <td>1.968</td>\n",
        "    </tr>\n",
        "  </tbody>\n",
        "</table>\n",
-       "<p>123 rows × 129 columns</p>\n",
+       "<p>124 rows × 129 columns</p>\n",
        "</div>"
       ],
       "text/plain": [
        "     country  year iso_code    population           gdp  \\\n",
-       "9097   India  1900      IND  2.807142e+08  2.716975e+11   \n",
-       "9098   India  1901      IND  2.818341e+08  2.773278e+11   \n",
-       "9099   India  1902      IND  2.831998e+08  3.006720e+11   \n",
-       "9100   India  1903      IND  2.848130e+08  3.047644e+11   \n",
-       "9101   India  1904      IND  2.864353e+08  3.060750e+11   \n",
+       "9205   India  1900      IND  2.807142e+08  2.716975e+11   \n",
+       "9206   India  1901      IND  2.818341e+08  2.773278e+11   \n",
+       "9207   India  1902      IND  2.831998e+08  3.006720e+11   \n",
+       "9208   India  1903      IND  2.848130e+08  3.047644e+11   \n",
+       "9209   India  1904      IND  2.864353e+08  3.060750e+11   \n",
        "...      ...   ...      ...           ...           ...   \n",
-       "9215   India  2018      IND  1.369003e+09  8.835758e+12   \n",
-       "9216   India  2019      IND  1.383112e+09           NaN   \n",
-       "9217   India  2020      IND  1.396387e+09           NaN   \n",
-       "9218   India  2021      IND  1.407564e+09           NaN   \n",
-       "9219   India  2022      IND  1.417173e+09           NaN   \n",
+       "9324   India  2019      IND  1.383112e+09  9.595463e+12   \n",
+       "9325   India  2020      IND  1.396387e+09  8.945314e+12   \n",
+       "9326   India  2021      IND  1.407564e+09  9.801621e+12   \n",
+       "9327   India  2022      IND  1.417173e+09  1.047625e+13   \n",
+       "9328   India  2023      IND  1.428628e+09           NaN   \n",
        "\n",
        "      biofuel_cons_change_pct  biofuel_cons_change_twh  \\\n",
-       "9097                      NaN                      NaN   \n",
-       "9098                      NaN                      NaN   \n",
-       "9099                      NaN                      NaN   \n",
-       "9100                      NaN                      NaN   \n",
-       "9101                      NaN                      NaN   \n",
+       "9205                      NaN                      NaN   \n",
+       "9206                      NaN                      NaN   \n",
+       "9207                      NaN                      NaN   \n",
+       "9208                      NaN                      NaN   \n",
+       "9209                      NaN                      NaN   \n",
        "...                       ...                      ...   \n",
-       "9215                   33.945                    5.170   \n",
-       "9216                   11.529                    2.352   \n",
-       "9217                   -1.031                   -0.235   \n",
-       "9218                   39.907                    8.986   \n",
-       "9219                   14.897                    4.693   \n",
+       "9324                   23.248                    2.451   \n",
+       "9325                   -6.260                   -0.813   \n",
+       "9326                   61.522                    7.495   \n",
+       "9327                   42.380                    8.339   \n",
+       "9328                   22.563                    6.321   \n",
        "\n",
        "      biofuel_cons_per_capita  biofuel_consumption  biofuel_elec_per_capita  \\\n",
-       "9097                      NaN                  NaN                      NaN   \n",
-       "9098                      NaN                  NaN                      NaN   \n",
-       "9099                      NaN                  NaN                      NaN   \n",
-       "9100                      NaN                  NaN                      NaN   \n",
-       "9101                      NaN                  NaN                      NaN   \n",
+       "9205                      NaN                  NaN                      NaN   \n",
+       "9206                      NaN                  NaN                      NaN   \n",
+       "9207                      NaN                  NaN                      NaN   \n",
+       "9208                      NaN                  NaN                      NaN   \n",
+       "9209                      NaN                  NaN                      NaN   \n",
        "...                       ...                  ...                      ...   \n",
-       "9215                   14.902               20.401                   19.883   \n",
-       "9216                   16.451               22.753                   22.782   \n",
-       "9217                   16.126               22.518                   23.532   \n",
-       "9218                   22.382               31.505                   26.116   \n",
-       "9219                   25.542               36.198                   28.747   \n",
+       "9324                    9.396               12.996                   22.782   \n",
+       "9325                    8.724               12.182                   23.532   \n",
+       "9326                   13.979               19.677                   26.116   \n",
+       "9327                   19.769               28.016                   28.747   \n",
+       "9328                   24.035               34.337                   27.516   \n",
        "\n",
        "      ...  solar_share_elec  solar_share_energy  wind_cons_change_pct  \\\n",
-       "9097  ...               NaN                 NaN                   NaN   \n",
-       "9098  ...               NaN                 NaN                   NaN   \n",
-       "9099  ...               NaN                 NaN                   NaN   \n",
-       "9100  ...               NaN                 NaN                   NaN   \n",
-       "9101  ...               NaN                 NaN                   NaN   \n",
+       "9205  ...               NaN                 NaN                   NaN   \n",
+       "9206  ...               NaN                 NaN                   NaN   \n",
+       "9207  ...               NaN                 NaN                   NaN   \n",
+       "9208  ...               NaN                 NaN                   NaN   \n",
+       "9209  ...               NaN                 NaN                   NaN   \n",
        "...   ...               ...                 ...                   ...   \n",
-       "9215  ...             2.301               1.058                14.596   \n",
-       "9216  ...             2.852               1.310                 4.979   \n",
-       "9217  ...             3.709               1.747                -4.560   \n",
-       "9218  ...             3.984               1.865                12.688   \n",
-       "9219  ...             5.122               2.451                 2.865   \n",
+       "9324  ...             2.852               1.309                 4.979   \n",
+       "9325  ...             3.709               1.746                -4.560   \n",
+       "9326  ...             3.984               1.865                12.688   \n",
+       "9327  ...             5.122               2.456                 2.865   \n",
+       "9328  ...             5.763               2.718                17.219   \n",
        "\n",
        "      wind_cons_change_twh  wind_consumption  wind_elec_per_capita  \\\n",
-       "9097                   NaN               NaN                   NaN   \n",
-       "9098                   NaN               NaN                   NaN   \n",
-       "9099                   NaN               NaN                   NaN   \n",
-       "9100                   NaN               NaN                   NaN   \n",
-       "9101                   NaN               NaN                   NaN   \n",
+       "9205                   NaN               NaN                   NaN   \n",
+       "9206                   NaN               NaN                   NaN   \n",
+       "9207                   NaN               NaN                   NaN   \n",
+       "9208                   NaN               NaN                   NaN   \n",
+       "9209                   NaN               NaN                   NaN   \n",
        "...                    ...               ...                   ...   \n",
-       "9215                19.505           159.567                44.054   \n",
-       "9216                 7.327           166.895                45.774   \n",
-       "9217                -8.195           158.700                43.276   \n",
-       "9218                19.481           178.181                48.374   \n",
-       "9219                 4.437           182.617                49.429   \n",
+       "9324                 7.327           166.895                45.774   \n",
+       "9325                -8.195           158.700                43.276   \n",
+       "9326                19.481           178.181                48.374   \n",
+       "9327                 4.437           182.617                49.429   \n",
+       "9328                30.667           213.285                57.468   \n",
        "\n",
        "      wind_electricity  wind_energy_per_capita  wind_share_elec  \\\n",
-       "9097               NaN                     NaN              NaN   \n",
-       "9098               NaN                     NaN              NaN   \n",
-       "9099               NaN                     NaN              NaN   \n",
-       "9100               NaN                     NaN              NaN   \n",
-       "9101               NaN                     NaN              NaN   \n",
+       "9205               NaN                     NaN              NaN   \n",
+       "9206               NaN                     NaN              NaN   \n",
+       "9207               NaN                     NaN              NaN   \n",
+       "9208               NaN                     NaN              NaN   \n",
+       "9209               NaN                     NaN              NaN   \n",
        "...                ...                     ...              ...   \n",
-       "9215             60.31                 116.557            3.819   \n",
-       "9216             63.31                 120.666            3.903   \n",
-       "9217             60.43                 113.650            3.820   \n",
-       "9218             68.09                 126.588            3.971   \n",
-       "9219             70.05                 128.860            3.770   \n",
+       "9324             63.31                 120.666            3.903   \n",
+       "9325             60.43                 113.650            3.820   \n",
+       "9326             68.09                 126.588            3.971   \n",
+       "9327             70.05                 128.860            3.770   \n",
+       "9328             82.10                 149.293            4.172   \n",
        "\n",
        "      wind_share_energy  \n",
-       "9097                NaN  \n",
-       "9098                NaN  \n",
-       "9099                NaN  \n",
-       "9100                NaN  \n",
-       "9101                NaN  \n",
+       "9205                NaN  \n",
+       "9206                NaN  \n",
+       "9207                NaN  \n",
+       "9208                NaN  \n",
+       "9209                NaN  \n",
        "...                 ...  \n",
-       "9215              1.757  \n",
-       "9216              1.792  \n",
-       "9217              1.799  \n",
-       "9218              1.859  \n",
-       "9219              1.804  \n",
+       "9324              1.791  \n",
+       "9325              1.798  \n",
+       "9326              1.859  \n",
+       "9327              1.808  \n",
+       "9328              1.968  \n",
        "\n",
-       "[123 rows x 129 columns]"
+       "[124 rows x 129 columns]"
       ]
      },
-     "execution_count": 5,
+     "execution_count": 16,
      "metadata": {},
      "output_type": "execute_result"
     }
@@ -884,7 +884,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 6,
+   "execution_count": 17,
    "id": "e5e86f7a-7015-4b93-a2b7-74a310ea78b3",
    "metadata": {},
    "outputs": [
@@ -894,7 +894,7 @@
        "['nuclear_electricity']"
       ]
      },
-     "execution_count": 6,
+     "execution_count": 17,
      "metadata": {},
      "output_type": "execute_result"
     }
@@ -907,7 +907,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 7,
+   "execution_count": 18,
    "id": "47a0ae4a-f9b8-40b8-9048-96d299871cd3",
    "metadata": {},
    "outputs": [],
@@ -917,7 +917,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 8,
+   "execution_count": 19,
    "id": "a89d2199-bf06-42fa-a793-d0d3eb4070c5",
    "metadata": {},
    "outputs": [
@@ -964,25 +964,25 @@
        "  </thead>\n",
        "  <tbody>\n",
        "    <tr>\n",
-       "      <th>7418</th>\n",
+       "      <th>7502</th>\n",
        "      <td>France</td>\n",
        "      <td>FRA</td>\n",
-       "      <td>2022</td>\n",
-       "      <td>84.879</td>\n",
-       "      <td>10.03</td>\n",
-       "      <td>4.41</td>\n",
-       "      <td>57.28</td>\n",
-       "      <td>43.19</td>\n",
-       "      <td>46.29</td>\n",
-       "      <td>413.39</td>\n",
-       "      <td>297.88</td>\n",
-       "      <td>9.68</td>\n",
-       "      <td>10.61</td>\n",
-       "      <td>0.58</td>\n",
-       "      <td>7282.912</td>\n",
-       "      <td>115.51</td>\n",
-       "      <td>20.05</td>\n",
-       "      <td>38.56</td>\n",
+       "      <td>2023</td>\n",
+       "      <td>56.039</td>\n",
+       "      <td>9.5</td>\n",
+       "      <td>2.16</td>\n",
+       "      <td>43.3</td>\n",
+       "      <td>31.43</td>\n",
+       "      <td>53.19</td>\n",
+       "      <td>470.81</td>\n",
+       "      <td>335.65</td>\n",
+       "      <td>9.71</td>\n",
+       "      <td>10.1</td>\n",
+       "      <td>0.6</td>\n",
+       "      <td>7939.115</td>\n",
+       "      <td>135.16</td>\n",
+       "      <td>23.26</td>\n",
+       "      <td>48.61</td>\n",
        "    </tr>\n",
        "  </tbody>\n",
        "</table>\n",
@@ -990,36 +990,37 @@
       ],
       "text/plain": [
        "     country iso_code  year  carbon_intensity_elec  biofuel_electricity  \\\n",
-       "7418  France      FRA  2022                 84.879                10.03   \n",
+       "7502  France      FRA  2023                 56.039                  9.5   \n",
        "\n",
        "      coal_electricity  fossil_electricity  gas_electricity  \\\n",
-       "7418              4.41               57.28            43.19   \n",
+       "7502              2.16                43.3            31.43   \n",
        "\n",
        "      hydro_electricity  low_carbon_electricity  nuclear_electricity  \\\n",
-       "7418              46.29                  413.39               297.88   \n",
+       "7502              53.19                  470.81               335.65   \n",
        "\n",
        "      oil_electricity  other_renewable_electricity  \\\n",
-       "7418             9.68                        10.61   \n",
+       "7502             9.71                         10.1   \n",
        "\n",
        "      other_renewable_exc_biofuel_electricity  per_capita_electricity  \\\n",
-       "7418                                     0.58                7282.912   \n",
+       "7502                                      0.6                7939.115   \n",
        "\n",
        "      renewables_electricity  solar_electricity  wind_electricity  \n",
-       "7418                  115.51              20.05             38.56  "
+       "7502                  135.16              23.26             48.61  "
       ]
      },
-     "execution_count": 8,
+     "execution_count": 19,
      "metadata": {},
      "output_type": "execute_result"
     }
    ],
    "source": [
-    "df[['country', 'iso_code', 'year'] + carbon_intensity_col + elec_col].query(\"iso_code=='FRA' and year==2022\")"
+    "latest_year = df['year'].max()\n",
+    "df[['country', 'iso_code', 'year'] + carbon_intensity_col + elec_col].query(f\"iso_code=='FRA' and year=={latest_year}\")"
    ]
   },
   {
    "cell_type": "code",
-   "execution_count": 9,
+   "execution_count": 20,
    "id": "c7073ab9",
    "metadata": {},
    "outputs": [
@@ -1066,31 +1067,31 @@
        "  </thead>\n",
        "  <tbody>\n",
        "    <tr>\n",
-       "      <th>751</th>\n",
+       "      <th>759</th>\n",
        "      <td>Algeria</td>\n",
        "      <td>DZA</td>\n",
-       "      <td>2022</td>\n",
+       "      <td>2023</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
-       "      <td>0.769</td>\n",
-       "      <td>2040.895</td>\n",
+       "      <td>0.734</td>\n",
+       "      <td>1883.719</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
-       "      <td>0.682</td>\n",
-       "      <td>0.01</td>\n",
-       "      <td>0.077</td>\n",
+       "      <td>0.649</td>\n",
+       "      <td>0.016</td>\n",
+       "      <td>0.069</td>\n",
        "      <td>0.000</td>\n",
        "      <td>NaN</td>\n",
        "      <td>0.00</td>\n",
        "      <td>NaN</td>\n",
-       "      <td>0.769</td>\n",
+       "      <td>0.734</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>916</th>\n",
+       "      <th>926</th>\n",
        "      <td>Angola</td>\n",
        "      <td>AGO</td>\n",
-       "      <td>2022</td>\n",
+       "      <td>2023</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
@@ -1108,67 +1109,67 @@
        "      <td>NaN</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>1123</th>\n",
+       "      <th>1135</th>\n",
        "      <td>Argentina</td>\n",
        "      <td>ARG</td>\n",
-       "      <td>2022</td>\n",
-       "      <td>344.307</td>\n",
-       "      <td>90.96</td>\n",
-       "      <td>45.250</td>\n",
-       "      <td>3157.086</td>\n",
-       "      <td>2.14</td>\n",
-       "      <td>76.00</td>\n",
-       "      <td>12.82</td>\n",
-       "      <td>2.910</td>\n",
-       "      <td>14.02</td>\n",
-       "      <td>26.150</td>\n",
-       "      <td>2.170</td>\n",
-       "      <td>0.0</td>\n",
-       "      <td>7.47</td>\n",
-       "      <td>2.17</td>\n",
-       "      <td>52.720</td>\n",
+       "      <td>2023</td>\n",
+       "      <td>354.103</td>\n",
+       "      <td>91.24</td>\n",
+       "      <td>53.240</td>\n",
+       "      <td>3351.911</td>\n",
+       "      <td>0.60</td>\n",
+       "      <td>73.38</td>\n",
+       "      <td>17.26</td>\n",
+       "      <td>3.250</td>\n",
+       "      <td>14.490</td>\n",
+       "      <td>33.170</td>\n",
+       "      <td>2.276</td>\n",
+       "      <td>NaN</td>\n",
+       "      <td>8.95</td>\n",
+       "      <td>2.33</td>\n",
+       "      <td>62.190</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>1675</th>\n",
+       "      <th>1693</th>\n",
        "      <td>Australia</td>\n",
        "      <td>AUS</td>\n",
-       "      <td>2022</td>\n",
-       "      <td>501.700</td>\n",
-       "      <td>182.69</td>\n",
-       "      <td>90.860</td>\n",
-       "      <td>10449.849</td>\n",
-       "      <td>130.93</td>\n",
-       "      <td>46.29</td>\n",
-       "      <td>5.47</td>\n",
-       "      <td>38.840</td>\n",
-       "      <td>31.65</td>\n",
-       "      <td>17.120</td>\n",
-       "      <td>3.246</td>\n",
+       "      <td>2023</td>\n",
+       "      <td>548.692</td>\n",
+       "      <td>175.73</td>\n",
+       "      <td>99.160</td>\n",
+       "      <td>10397.096</td>\n",
+       "      <td>127.52</td>\n",
+       "      <td>42.78</td>\n",
+       "      <td>5.43</td>\n",
+       "      <td>46.910</td>\n",
+       "      <td>33.130</td>\n",
+       "      <td>15.760</td>\n",
+       "      <td>3.126</td>\n",
        "      <td>NaN</td>\n",
        "      <td>0.00</td>\n",
-       "      <td>3.25</td>\n",
-       "      <td>90.860</td>\n",
+       "      <td>3.36</td>\n",
+       "      <td>99.160</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>1840</th>\n",
+       "      <th>1859</th>\n",
        "      <td>Austria</td>\n",
        "      <td>AUT</td>\n",
-       "      <td>2022</td>\n",
-       "      <td>158.222</td>\n",
-       "      <td>14.95</td>\n",
-       "      <td>50.970</td>\n",
-       "      <td>7373.917</td>\n",
-       "      <td>0.14</td>\n",
-       "      <td>11.37</td>\n",
-       "      <td>3.44</td>\n",
-       "      <td>2.930</td>\n",
-       "      <td>6.96</td>\n",
-       "      <td>35.540</td>\n",
-       "      <td>5.540</td>\n",
+       "      <td>2023</td>\n",
+       "      <td>110.812</td>\n",
+       "      <td>10.39</td>\n",
+       "      <td>56.570</td>\n",
+       "      <td>7474.081</td>\n",
+       "      <td>0.06</td>\n",
+       "      <td>7.17</td>\n",
+       "      <td>3.16</td>\n",
+       "      <td>5.160</td>\n",
+       "      <td>8.050</td>\n",
+       "      <td>39.790</td>\n",
+       "      <td>3.570</td>\n",
        "      <td>0.0</td>\n",
        "      <td>0.00</td>\n",
-       "      <td>5.54</td>\n",
-       "      <td>50.970</td>\n",
+       "      <td>3.57</td>\n",
+       "      <td>56.570</td>\n",
        "    </tr>\n",
        "  </tbody>\n",
        "</table>\n",
@@ -1176,48 +1177,48 @@
       ],
       "text/plain": [
        "     country_name iso_code  year  carbon_intensity  fossil_TWh  \\\n",
-       "751       Algeria      DZA  2022               NaN         NaN   \n",
-       "916        Angola      AGO  2022               NaN         NaN   \n",
-       "1123    Argentina      ARG  2022           344.307       90.96   \n",
-       "1675    Australia      AUS  2022           501.700      182.69   \n",
-       "1840      Austria      AUT  2022           158.222       14.95   \n",
+       "759       Algeria      DZA  2023               NaN         NaN   \n",
+       "926        Angola      AGO  2023               NaN         NaN   \n",
+       "1135    Argentina      ARG  2023           354.103       91.24   \n",
+       "1693    Australia      AUS  2023           548.692      175.73   \n",
+       "1859      Austria      AUT  2023           110.812       10.39   \n",
        "\n",
        "      renewables_TWh  per_capita_Wh  coal_TWh  gas_TWh  oil_TWh  solar_TWh  \\\n",
-       "751            0.769       2040.895       NaN      NaN      NaN      0.682   \n",
-       "916              NaN            NaN       NaN      NaN      NaN        NaN   \n",
-       "1123          45.250       3157.086      2.14    76.00    12.82      2.910   \n",
-       "1675          90.860      10449.849    130.93    46.29     5.47     38.840   \n",
-       "1840          50.970       7373.917      0.14    11.37     3.44      2.930   \n",
+       "759            0.734       1883.719       NaN      NaN      NaN      0.649   \n",
+       "926              NaN            NaN       NaN      NaN      NaN        NaN   \n",
+       "1135          53.240       3351.911      0.60    73.38    17.26      3.250   \n",
+       "1693          99.160      10397.096    127.52    42.78     5.43     46.910   \n",
+       "1859          56.570       7474.081      0.06     7.17     3.16      5.160   \n",
        "\n",
        "      wind_TWh  hydroelectricity_TWh  other_renewable_TWh  \\\n",
-       "751       0.01                 0.077                0.000   \n",
-       "916        NaN                   NaN                  NaN   \n",
-       "1123     14.02                26.150                2.170   \n",
-       "1675     31.65                17.120                3.246   \n",
-       "1840      6.96                35.540                5.540   \n",
+       "759      0.016                 0.069                0.000   \n",
+       "926        NaN                   NaN                  NaN   \n",
+       "1135    14.490                33.170                2.276   \n",
+       "1693    33.130                15.760                3.126   \n",
+       "1859     8.050                39.790                3.570   \n",
        "\n",
        "      other_renewable_exc_biofuel_TWh  nuclear_TWh  biofuel_TWh  \\\n",
-       "751                               NaN         0.00          NaN   \n",
-       "916                               NaN         0.00          NaN   \n",
-       "1123                              0.0         7.47         2.17   \n",
-       "1675                              NaN         0.00         3.25   \n",
-       "1840                              0.0         0.00         5.54   \n",
+       "759                               NaN         0.00          NaN   \n",
+       "926                               NaN         0.00          NaN   \n",
+       "1135                              NaN         8.95         2.33   \n",
+       "1693                              NaN         0.00         3.36   \n",
+       "1859                              0.0         0.00         3.57   \n",
        "\n",
        "      low_carbon_TWh  \n",
-       "751            0.769  \n",
-       "916              NaN  \n",
-       "1123          52.720  \n",
-       "1675          90.860  \n",
-       "1840          50.970  "
+       "759            0.734  \n",
+       "926              NaN  \n",
+       "1135          62.190  \n",
+       "1693          99.160  \n",
+       "1859          56.570  "
       ]
      },
-     "execution_count": 9,
+     "execution_count": 20,
      "metadata": {},
      "output_type": "execute_result"
     }
    ],
    "source": [
-    "df_filtered = df[['country', 'iso_code', 'year'] + carbon_intensity_col + elec_col].query(\"year==2022 and iso_code.notnull()\")\n",
+    "df_filtered = df[['country', 'iso_code', 'year'] + carbon_intensity_col + elec_col].query(f\"year=={latest_year} and iso_code.notnull()\")\n",
     "columns_names = {\n",
     "    'country':'country_name',\n",
     "    'carbon_intensity_elec':'carbon_intensity',\n",
@@ -1260,7 +1261,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 10,
+   "execution_count": 21,
    "id": "1fcc8ec7",
    "metadata": {},
    "outputs": [
@@ -1308,32 +1309,32 @@
        "  </thead>\n",
        "  <tbody>\n",
        "    <tr>\n",
-       "      <th>751</th>\n",
+       "      <th>759</th>\n",
        "      <td>Algeria</td>\n",
        "      <td>DZA</td>\n",
-       "      <td>2022</td>\n",
+       "      <td>2023</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
-       "      <td>0.769</td>\n",
-       "      <td>2040.895</td>\n",
+       "      <td>0.734</td>\n",
+       "      <td>1883.719</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
-       "      <td>0.682</td>\n",
-       "      <td>0.01</td>\n",
-       "      <td>0.077</td>\n",
+       "      <td>0.649</td>\n",
+       "      <td>0.016</td>\n",
+       "      <td>0.069</td>\n",
        "      <td>0.0</td>\n",
        "      <td>NaN</td>\n",
        "      <td>0.0</td>\n",
        "      <td>NaN</td>\n",
-       "      <td>0.769</td>\n",
-       "      <td>0.769</td>\n",
+       "      <td>0.734</td>\n",
+       "      <td>0.734</td>\n",
        "    </tr>\n",
        "    <tr>\n",
-       "      <th>916</th>\n",
+       "      <th>926</th>\n",
        "      <td>Angola</td>\n",
        "      <td>AGO</td>\n",
-       "      <td>2022</td>\n",
+       "      <td>2023</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
        "      <td>NaN</td>\n",
@@ -1357,27 +1358,27 @@
       ],
       "text/plain": [
        "    country_name iso_code  year  carbon_intensity  fossil_TWh  renewables_TWh  \\\n",
-       "751      Algeria      DZA  2022               NaN         NaN           0.769   \n",
-       "916       Angola      AGO  2022               NaN         NaN             NaN   \n",
+       "759      Algeria      DZA  2023               NaN         NaN           0.734   \n",
+       "926       Angola      AGO  2023               NaN         NaN             NaN   \n",
        "\n",
        "     per_capita_Wh  coal_TWh  gas_TWh  oil_TWh  solar_TWh  wind_TWh  \\\n",
-       "751       2040.895       NaN      NaN      NaN      0.682      0.01   \n",
-       "916            NaN       NaN      NaN      NaN        NaN       NaN   \n",
+       "759       1883.719       NaN      NaN      NaN      0.649     0.016   \n",
+       "926            NaN       NaN      NaN      NaN        NaN       NaN   \n",
        "\n",
        "     hydroelectricity_TWh  other_renewable_TWh  \\\n",
-       "751                 0.077                  0.0   \n",
-       "916                   NaN                  NaN   \n",
+       "759                 0.069                  0.0   \n",
+       "926                   NaN                  NaN   \n",
        "\n",
        "     other_renewable_exc_biofuel_TWh  nuclear_TWh  biofuel_TWh  \\\n",
-       "751                              NaN          0.0          NaN   \n",
-       "916                              NaN          0.0          NaN   \n",
+       "759                              NaN          0.0          NaN   \n",
+       "926                              NaN          0.0          NaN   \n",
        "\n",
        "     low_carbon_TWh  total_TWh  \n",
-       "751           0.769      0.769  \n",
-       "916             NaN      0.000  "
+       "759           0.734      0.734  \n",
+       "926             NaN      0.000  "
       ]
      },
-     "execution_count": 10,
+     "execution_count": 21,
      "metadata": {},
      "output_type": "execute_result"
     }
@@ -1390,7 +1391,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 11,
+   "execution_count": 22,
    "id": "e7d87abd",
    "metadata": {},
    "outputs": [
@@ -1438,26 +1439,26 @@
        "  </thead>\n",
        "  <tbody>\n",
        "    <tr>\n",
-       "      <th>7418</th>\n",
+       "      <th>7502</th>\n",
        "      <td>France</td>\n",
        "      <td>FRA</td>\n",
-       "      <td>2022</td>\n",
-       "      <td>84.879</td>\n",
-       "      <td>57.28</td>\n",
-       "      <td>115.51</td>\n",
-       "      <td>7282.912</td>\n",
-       "      <td>4.41</td>\n",
-       "      <td>43.19</td>\n",
-       "      <td>9.68</td>\n",
-       "      <td>20.05</td>\n",
-       "      <td>38.56</td>\n",
-       "      <td>46.29</td>\n",
-       "      <td>10.61</td>\n",
-       "      <td>0.58</td>\n",
-       "      <td>297.88</td>\n",
-       "      <td>10.03</td>\n",
-       "      <td>413.39</td>\n",
-       "      <td>470.67</td>\n",
+       "      <td>2023</td>\n",
+       "      <td>56.039</td>\n",
+       "      <td>43.3</td>\n",
+       "      <td>135.16</td>\n",
+       "      <td>7939.115</td>\n",
+       "      <td>2.16</td>\n",
+       "      <td>31.43</td>\n",
+       "      <td>9.71</td>\n",
+       "      <td>23.26</td>\n",
+       "      <td>48.61</td>\n",
+       "      <td>53.19</td>\n",
+       "      <td>10.1</td>\n",
+       "      <td>0.6</td>\n",
+       "      <td>335.65</td>\n",
+       "      <td>9.5</td>\n",
+       "      <td>470.81</td>\n",
+       "      <td>514.11</td>\n",
        "    </tr>\n",
        "  </tbody>\n",
        "</table>\n",
@@ -1465,22 +1466,22 @@
       ],
       "text/plain": [
        "     country_name iso_code  year  carbon_intensity  fossil_TWh  \\\n",
-       "7418       France      FRA  2022            84.879       57.28   \n",
+       "7502       France      FRA  2023            56.039        43.3   \n",
        "\n",
        "      renewables_TWh  per_capita_Wh  coal_TWh  gas_TWh  oil_TWh  solar_TWh  \\\n",
-       "7418          115.51       7282.912      4.41    43.19     9.68      20.05   \n",
+       "7502          135.16       7939.115      2.16    31.43     9.71      23.26   \n",
        "\n",
        "      wind_TWh  hydroelectricity_TWh  other_renewable_TWh  \\\n",
-       "7418     38.56                 46.29                10.61   \n",
+       "7502     48.61                 53.19                 10.1   \n",
        "\n",
        "      other_renewable_exc_biofuel_TWh  nuclear_TWh  biofuel_TWh  \\\n",
-       "7418                             0.58       297.88        10.03   \n",
+       "7502                              0.6       335.65          9.5   \n",
        "\n",
        "      low_carbon_TWh  total_TWh  \n",
-       "7418          413.39     470.67  "
+       "7502          470.81     514.11  "
       ]
      },
-     "execution_count": 11,
+     "execution_count": 22,
      "metadata": {},
      "output_type": "execute_result"
     }
@@ -1491,7 +1492,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 12,
+   "execution_count": 23,
    "id": "8c540b05",
    "metadata": {},
    "outputs": [
@@ -1539,26 +1540,26 @@
        "  </thead>\n",
        "  <tbody>\n",
        "    <tr>\n",
-       "      <th>20036</th>\n",
+       "      <th>20244</th>\n",
        "      <td>United Arab Emirates</td>\n",
        "      <td>ARE</td>\n",
-       "      <td>2022</td>\n",
-       "      <td>407.975</td>\n",
-       "      <td>127.67</td>\n",
-       "      <td>6.97</td>\n",
-       "      <td>16389.973</td>\n",
-       "      <td>0.0</td>\n",
-       "      <td>127.67</td>\n",
-       "      <td>0.0</td>\n",
-       "      <td>6.96</td>\n",
+       "      <td>2023</td>\n",
+       "      <td>NaN</td>\n",
+       "      <td>118.933</td>\n",
+       "      <td>NaN</td>\n",
+       "      <td>17342.172</td>\n",
        "      <td>0.0</td>\n",
+       "      <td>118.931</td>\n",
+       "      <td>0.003</td>\n",
+       "      <td>13.748</td>\n",
+       "      <td>0.054</td>\n",
+       "      <td>NaN</td>\n",
+       "      <td>0.033</td>\n",
        "      <td>NaN</td>\n",
-       "      <td>0.007</td>\n",
+       "      <td>32.274</td>\n",
        "      <td>NaN</td>\n",
-       "      <td>20.1</td>\n",
-       "      <td>0.01</td>\n",
-       "      <td>27.07</td>\n",
-       "      <td>154.74</td>\n",
+       "      <td>NaN</td>\n",
+       "      <td>151.207</td>\n",
        "    </tr>\n",
        "  </tbody>\n",
        "</table>\n",
@@ -1566,22 +1567,22 @@
       ],
       "text/plain": [
        "               country_name iso_code  year  carbon_intensity  fossil_TWh  \\\n",
-       "20036  United Arab Emirates      ARE  2022           407.975      127.67   \n",
+       "20244  United Arab Emirates      ARE  2023               NaN     118.933   \n",
        "\n",
        "       renewables_TWh  per_capita_Wh  coal_TWh  gas_TWh  oil_TWh  solar_TWh  \\\n",
-       "20036            6.97      16389.973       0.0   127.67      0.0       6.96   \n",
+       "20244             NaN      17342.172       0.0  118.931    0.003     13.748   \n",
        "\n",
        "       wind_TWh  hydroelectricity_TWh  other_renewable_TWh  \\\n",
-       "20036       0.0                   NaN                0.007   \n",
+       "20244     0.054                   NaN                0.033   \n",
        "\n",
        "       other_renewable_exc_biofuel_TWh  nuclear_TWh  biofuel_TWh  \\\n",
-       "20036                              NaN         20.1         0.01   \n",
+       "20244                              NaN       32.274          NaN   \n",
        "\n",
        "       low_carbon_TWh  total_TWh  \n",
-       "20036           27.07     154.74  "
+       "20244             NaN    151.207  "
       ]
      },
-     "execution_count": 12,
+     "execution_count": 23,
      "metadata": {},
      "output_type": "execute_result"
     }
@@ -1605,17 +1606,17 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 13,
+   "execution_count": 24,
    "id": "fb65e34b",
    "metadata": {},
    "outputs": [
     {
      "data": {
       "text/plain": [
-       "470.67"
+       "514.1099999999999"
       ]
      },
-     "execution_count": 13,
+     "execution_count": 24,
      "metadata": {},
      "output_type": "execute_result"
     }
@@ -1631,7 +1632,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 14,
+   "execution_count": 25,
    "id": "81dcd0fc",
    "metadata": {},
    "outputs": [
@@ -1639,7 +1640,7 @@
      "name": "stdout",
      "output_type": "stream",
      "text": [
-      "Missing carbon_intensity for 35 countries over 116.\n"
+      "Missing carbon_intensity for 38 countries over 116.\n"
      ]
     }
    ],
@@ -1661,46 +1662,46 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 19,
+   "execution_count": 26,
    "id": "e2d4a5fe",
    "metadata": {},
    "outputs": [
     {
      "data": {
       "text/plain": [
-       "{'country_name': 'United Arab Emirates',\n",
-       " 'iso_code': 'ARE',\n",
-       " 'year': 2022,\n",
-       " 'carbon_intensity': 407.975,\n",
-       " 'fossil_TWh': 127.67,\n",
-       " 'renewables_TWh': 6.97,\n",
-       " 'per_capita_Wh': 16389.973,\n",
-       " 'coal_TWh': 0.0,\n",
-       " 'gas_TWh': 127.67,\n",
-       " 'oil_TWh': 0.0,\n",
-       " 'solar_TWh': 6.96,\n",
-       " 'wind_TWh': 0.0,\n",
-       " 'hydroelectricity_TWh': 0,\n",
-       " 'other_renewable_TWh': 0.007,\n",
+       "{'country_name': 'Canada',\n",
+       " 'iso_code': 'CAN',\n",
+       " 'year': 2023,\n",
+       " 'carbon_intensity': 170.043,\n",
+       " 'fossil_TWh': 126.1,\n",
+       " 'renewables_TWh': 419.89,\n",
+       " 'per_capita_Wh': 16371.299,\n",
+       " 'coal_TWh': 32.33,\n",
+       " 'gas_TWh': 91.16,\n",
+       " 'oil_TWh': 2.61,\n",
+       " 'solar_TWh': 7.48,\n",
+       " 'wind_TWh': 38.1,\n",
+       " 'hydroelectricity_TWh': 365.39,\n",
+       " 'other_renewable_TWh': 10.384,\n",
        " 'other_renewable_exc_biofuel_TWh': 0,\n",
-       " 'nuclear_TWh': 20.1,\n",
-       " 'biofuel_TWh': 0.01,\n",
-       " 'low_carbon_TWh': 27.07,\n",
-       " 'total_TWh': 154.74}"
+       " 'nuclear_TWh': 88.91,\n",
+       " 'biofuel_TWh': 8.92,\n",
+       " 'low_carbon_TWh': 508.8,\n",
+       " 'total_TWh': 634.9}"
       ]
      },
-     "execution_count": 19,
+     "execution_count": 26,
      "metadata": {},
      "output_type": "execute_result"
     }
    ],
    "source": [
-    "energy_mix[\"ARE\"]"
+    "energy_mix[\"CAN\"]"
    ]
   },
   {
    "cell_type": "code",
-   "execution_count": 16,
+   "execution_count": 27,
    "id": "9d275aff",
    "metadata": {},
    "outputs": [
@@ -1710,19 +1711,19 @@
        "False"
       ]
      },
-     "execution_count": 16,
+     "execution_count": 27,
      "metadata": {},
      "output_type": "execute_result"
     }
    ],
    "source": [
     "\n",
-    "np.isnan(df_filtered.loc[df_filtered.iso_code == \"ARE\"].iloc[0][\"carbon_intensity\"])"
+    "np.isnan(df_filtered.loc[df_filtered.iso_code == \"CAN\"].iloc[0][\"carbon_intensity\"])"
    ]
   },
   {
    "cell_type": "code",
-   "execution_count": 17,
+   "execution_count": 28,
    "id": "0533388d",
    "metadata": {},
    "outputs": [],
@@ -1733,24 +1734,24 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 18,
+   "execution_count": 29,
    "id": "7115b52c",
    "metadata": {},
    "outputs": [
     {
      "data": {
       "text/plain": [
-       "81"
+       "78"
       ]
      },
-     "execution_count": 18,
+     "execution_count": 29,
      "metadata": {},
      "output_type": "execute_result"
     }
    ],
    "source": [
     "len(energy_mix.keys())\n",
-    "# 205 countries in 2021 and only 81 in 2022 :("
+    "# 81 countries in 2022 and only 78 in 2023, we can do better! ;D"
    ]
   }
  ],
@@ -1770,7 +1771,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.10.12"
+   "version": "3.8.19"
   },
   "vscode": {
    "interpreter": {


Test patch:
diff --git a/tests/test_emissions.py b/tests/test_emissions.py
index 9bf8b4652..d502d6d7e 100644
--- a/tests/test_emissions.py
+++ b/tests/test_emissions.py
@@ -66,7 +66,7 @@ def test_get_emissions_PRIVATE_INFRA_FRA(self):
 
         # THEN
         assert isinstance(emissions, float)
-        self.assertAlmostEqual(emissions, 84.87 / 1000, places=2)
+        self.assertAlmostEqual(emissions, 56.04 / 1000, places=2)
 
     def test_get_emissions_PRIVATE_INFRA_JOR(self):
         """
@@ -141,7 +141,7 @@ def test_get_emissions_PRIVATE_INFRA_CANADA_WITHOUT_REGION(self):
 
         # THEN
         assert isinstance(emissions, float)
-        self.assertAlmostEqual(emissions, 0.3775, places=2)
+        self.assertAlmostEqual(emissions, 0.5101, places=2)
 
     def test_get_emissions_PRIVATE_INFRA_CANADA_WITH_REGION(self):
         # WHEN
diff --git a/tests/test_gpu.py b/tests/test_gpu.py
index c34a13dba..1a014154e 100644
--- a/tests/test_gpu.py
+++ b/tests/test_gpu.py
@@ -184,6 +184,23 @@ def raiseException(handle):
 
         assert alldevices.get_gpu_details() == expected_power_limit
 
+    def test_gpu_not_ready(self):
+        import pynvml
+
+        from codecarbon.core.gpu import AllGPUDevices
+
+        def raise_exception(handle):
+            raise pynvml.NVMLError("System is not in ready state")
+
+        pynvml.nvmlDeviceGetTotalEnergyConsumption = raise_exception
+        alldevices = AllGPUDevices()
+
+        expected = deepcopy(self.expected)
+        expected[0]["total_energy_consumption"] = None
+        expected[1]["total_energy_consumption"] = None
+
+        assert alldevices.get_gpu_details() == expected
+
     def test_gpu_metadata_total_power(self):
         """
         Get the total power of all GPUs