A Millennium of Macroeconomic Data for the UK - Annual
- Rows
- 22,487
- Columns
- 6
- Data range
- 1086-01-01 to 2016-01-01
- Auto-refresh
- Re-checks its source daily
Extensive UK macroeconomic time-series dataset covering GDP, wages, prices, interest rates, money, credit, trade, fiscal data and more. Annual series from historical periods to present, over 130 variables.
AI analysis
Dataset Analysis: A Millennium of Macroeconomic Data for the UK
1. Dataset Overview & Research Value
This dataset, sourced from [DataHub.io's economic history collection](https://datahub.io/economic-history/millennium-macroeconomic-data-uk/r/-/data/annual.csv), represents one of the most expansive macroeconomic time-series compilations available for any single nation — spanning nearly 930 years of annual UK economic history from 1086 to 2016. With over 130 variables (represented here across 65 unique variableid values and 63 distinct variable labels) covering GDP, wages, prices, interest rates, credit, trade, and fiscal indicators, this dataset is exceptional for longitudinal correlation studies. Its breadth makes it particularly valuable for examining structural economic shifts — such as the Industrial Revolution, both World Wars, post-Bretton Woods monetary changes, and financialization — within a single consistent national context. The DataHub.io provenance suggests a curated, research-grade source, likely derived from the Bank of England's "A Millennium of Macroeconomic Data" working paper series.
---
2. Data Quality Observations
Data quality here is notably strong at the surface level. Zero null cells are reported across all 22,487 rows and 6 columns, which is remarkable for a dataset of this historical depth — though it warrants scrutiny, as pre-modern economic data (e.g., 11th–17th century entries) is frequently estimated or imputed from fragmentary sources, and "no nulls" may reflect deliberate gap-filling or interpolation rather than true completeness. The value column flags 4,372 outliers — roughly 19.4% of all rows — which is a significant proportion and reflects the genuine heterogeneity of mixing variables with vastly different scales (e.g., a price index vs. nominal GDP in millions). Duplicate row counts are noted as pending recomputation, which should be verified before analysis, particularly since long-running time-series datasets can accumulate version duplicates. No type mismatches are reported across the 6 columns, and the year column correctly parses as a Date type with 931 distinct values, consistent with the stated 1086–2016 range.
---
3. Key Column Distributions
The value column tells the most interesting statistical story. The mean of 38,248.6 versus a median of just 40.03 reveals extreme right skew (skewness = 6.7), confirming that a small number of very large values — likely nominal GDP or money supply figures in modern periods — are pulling the mean dramatically upward. The interquartile range (Q1 = 1.82, Q3 = 2,518.65) spans three orders of magnitude, and the maximum of ~2.07 million alongside a minimum of -153,828 (suggesting deficit or balance-of-payments figures) underscores that this column stores fundamentally incomparable quantities across variables. The 31 distinct units reinforce this — values are expressed in indices, percentages, pounds sterling, millions of pounds, and more. This means raw correlation on value without variable-level segmentation is meaningless; all analysis must be conducted after pivoting or filtering by variableid. The 7 distinct section values provide a useful grouping layer (e.g., monetary, fiscal, trade) for structured cross-domain analysis.
---
4. Recommended Join Key Columns
The year column is the natural and recommended primary join key for cross-dataset correlation, offering 931 distinct annual timestamps in ISO date format — clean and unambiguous. For intra-dataset pivoting (converting from long to wide format), a composite key of year + variableid should be treated as the effective unique identifier, since each variable occupies its own row per year. The variableid (65 distinct values) is preferable over variable (63 distinct values) for programmatic joins, as the slight discrepancy between the two counts suggests minor naming inconsistencies in the human-readable labels. When joining to external datasets, year granularity at annual resolution is both the strength and the constraint — sub-annual datasets will need to be aggregated before joining.
---
5. Recommended Paired Datasets for Correlation Discovery
Several dataset categories would pair powerfully with this data:
- UK Population & Demographic Data (e.g., ONS historical census series): Enables per-capita normalization of GDP and wage series, and correlation of demographic transitions with economic cycles. - Global Commodity Price Indices (e.g., World Bank Pink Sheet, historical grain/oil prices): Would illuminate how external price shocks (wool, coal, oil) transmitted into UK inflation and trade balances across centuries. - European or Global GDP Comparators (e.g., Maddison Project Database): Allows relative economic performance analysis — did UK wages or growth lead or lag continental peers during key periods? - UK Political & Institutional History (e.g., war years, monetary regime changes, election outcomes): Regime-change annotations would support interrupted time-series or difference-in-differences analyses around events like the Gold Standard abandonment (1931) or EEC entry (1973). - Climate & Agricultural Yield Records (e.g., historical harvest data): Pre-industrial GDP in agrarian economies correlates strongly with weather patterns — a fascinating long-horizon correlation opportunity unique to a millennium-scale dataset.
Columns
- year (date)
- variable_id (string)
- variable (string)
- section (string)
- unit (string)
- value (decimal)