Global Primary Energy Consumption by Source (1965–2023)
- Rows
- 77
- Columns
- 13
- Data range
- 1800 to 2024
Annual global primary energy consumption broken down by source (oil, gas, coal, nuclear, hydro, wind, solar, biofuels) enabling analysis of the global energy transition from 1965 onward.
AI analysis
Dataset Analysis: Global Primary Energy Consumption by Source (1965–2023)
---
1. Dataset Overview & Research Value
This dataset, sourced from Our World in Data's public API (https://ourworldindata.org/grapher/global-energy-substitution.csv), represents annual global primary energy consumption disaggregated across eight energy sources — oil, natural gas, coal, nuclear, hydropower, wind, solar, and biofuels — spanning from 1965 to 2023. The "Our World in Data" provenance is a strong quality signal: the organization is well-regarded for curating peer-reviewed, institutionally backed energy statistics, and the v=1 API parameter suggests a versioned, maintained release. The dataset's multi-decade span makes it exceptionally well-suited for longitudinal correlation studies, particularly for examining the structural energy transition narrative: whether the rise of renewables correlates meaningfully with the relative decline of fossil fuels, and at what pace. It could also anchor macroeconomic or emissions-focused analyses when joined with complementary datasets.
---
2. Data Quality Observations
The dataset presents significant data quality concerns that must be addressed before any serious analysis. Across 13 columns and 77 rows, there are 514 total null cells, representing approximately 51% of all possible values — a striking sparsity rate. The worst offenders are structural rather than incidental: Hydropower (87.0% null, 67 missing), Other renewables (77.9% null, 60 missing), Modern biofuels (77.9% null, 60 missing), Nuclear (77.9% null), Wind (61.0% null), and Solar (54.5% null) all suffer from high absence rates, almost certainly reflecting the historical reality that these sources had negligible or unmeasured consumption before certain decades. However, this also means that any cross-source correlation analysis will be constrained to a narrow effective time window — likely post-1990 at best for renewables. A further red flag is that Solar, Wind, Nuclear, Other renewables, and Modern biofuels all show min=0, max=0, mean=0, and σ=0 with skew=NaN, suggesting these columns may have been imported as entirely zero-valued integers rather than reflecting true data — this is likely a type mismatch or ingestion error deserving immediate investigation, as real solar and wind consumption figures for 2020–2023 should be substantial. Duplicate row counts are noted as pending Phase D recomputation, so deduplication validation remains open.
---
3. Key Column Distributions
The most analytically credible columns are Coal, Traditional biomass, Natural gas, and Oil. Coal is the most complete column (nulls=59 still, but 18 distinct values, min=97, max=16,847 TWh equivalent, mean=5,638, median=3,199, σ=5,820) with a moderate positive skew of 0.658 — consistent with a long ramp-up followed by a plateau, as expected historically. Traditional biomass stands out as the only fully null-free column (nulls=0, 58 distinct values, min=5,556, max=12,500, mean=10,015, median=10,653, σ=1,955) with a mild negative skew of -0.817 and 2 outliers — suggesting relatively stable but gradually declining usage, consistent with development-driven energy transitions away from wood and dung. Natural gas shows extreme right skew (skew=3.95, mean=1,719 vs. median=16.5, max=22,434) with 3 outliers, indicating most of its 77-row range contains zeros or near-zeros with a sharp late-period spike — again likely an artifact of the ingestion issue. Oil mirrors this pattern (skew=2.86, mean=1,326, median=33, max=11,097, 3 outliers). The Year column (min=1800, max=2024, mean=1969, σ=55.3, skew=-1.65, 11 outliers) is particularly suspicious: the stated dataset scope is 1965–2023, yet the Year column spans 1800–2024, implying historical pre-industrial rows exist that may represent extended BP/EIA series data — these early rows likely account for the majority of nulls in renewable energy columns and should be filtered or flagged as a distinct analytical stratum.
---
4. Recommended Join Key Columns
The natural join keys are Year (Integer) and the combination of Entity and Code (both String, both with distinct=1). The single-distinct-value for Entity and Code confirms this is a single-entity dataset — representing "World" or a single aggregate — meaning Year is effectively the sole meaningful join key for cross-dataset merging. Any join should be performed on Year as a left key against other datasets using calendar year as their temporal index. However, given the Year range anomaly (1800–2024 vs. claimed 1965–2023), it is strongly recommended to filter Year to 1965–2023 before joining to avoid spurious matches on pre-industrial records. If sub-national or multi-country versions of this dataset exist via the same API (by modifying entity parameters), the Code column (likely an ISO country code field) would become a critical secondary join key.
---
5. Recommended Pairing Datasets for Correlation Analysis
Several dataset categories would compound the analytical value of this energy series significantly. CO₂ and greenhouse gas emissions by source (also available via Our World in Data or Global Carbon Project) would be the most direct pairing — enabling correlation analysis between coal/oil consumption trajectories and atmospheric carbon concentration or annual emissions, testing whether the energy transition has yet produced measurable decarbonization. Global GDP and industrial output data (World Bank WDI, IMF) joined on Year would allow energy intensity analysis — whether energy consumption per unit of GDP is declining and which sources drive that efficiency. Energy prices by commodity (BP Statistical Review, EIA) would pair well for studying demand elasticity — do oil price shocks in years like 1973, 1979, or 2008 correspond to measurable consumption inflections in this dataset? Population and urbanization data (UN DESA) could help normalize per-capita consumption trends, while renewable energy investment and policy datasets (IRENA, BloombergNEF) could test whether capital flows into wind/solar precede or lag consumption growth. Resolving the apparent zero-value ingestion issue in the renewable columns should be treated as a prerequisite before any of these pairings yield trustworthy results.
Columns
- Year (integer)
- Code (string)
- Entity (string)
- Other renewables (integer)
- Modern biofuels (integer)
- Solar (integer)
- Wind (integer)
- Hydropower (integer)
- Nuclear (integer)
- Natural gas (integer)
- Oil (integer)
- Coal (integer)
- Traditional biomass (integer)