A Millennium of Macroeconomic Data for the UK - Quarterly
- Rows
- 19,655
- Columns
- 8
- Data range
- 1695-01-01 to 2016-01-01
- Auto-refresh
- Re-checks its source every 30 days
UK macroeconomic time-series: quarterly headline series covering 48 variables including national accounts, labour, fiscal, trade.
AI analysis
Dataset Analysis: UK Millennium Macroeconomic Data (Quarterly)
1. Dataset Overview & Research Value
This dataset represents one of the most historically expansive macroeconomic time-series collections available for any single nation, spanning over 320 years of quarterly UK economic data (1695–2016) across 48 variables drawn from national accounts, labour markets, fiscal policy, and trade. Sourced via the DataHub.io API at https://datahub.io/economic-history/millennium-macroeconomic-data-uk/, the publisher (the Bank of England's "A Millennium of Macroeconomic Data" project) lends it exceptional institutional credibility, though the 2016 cutoff means it predates Brexit's full economic impact and the COVID-19 shock — a meaningful freshness caveat for any modern policy analysis. The dataset's long temporal reach makes it uniquely powerful for studying secular trends, regime changes (e.g., gold standard transitions, post-WWII Keynesianism), and long-run correlations between GDP, inflation, and fiscal variables that short panel datasets simply cannot reveal.
2. Data Quality Observations
The headline quality metrics are remarkably clean: zero null cells across all 19,655 rows and 8 columns, which is exceptional for a dataset of this historical depth and breadth. No type mismatches are apparent given the column definitions align logically with their contents. The one concern worth flagging is the long-format (melted) structure — with 48 variables × ~322 years × up to 4 quarters, the theoretical maximum row count approaches ~61,000+, yet only 19,655 rows exist, implying significant sparse coverage for earlier periods — many variable-quarter combinations simply don't exist for pre-19th century years rather than appearing as nulls. This is structurally sound but analysts must account for severely unbalanced panels when running regressions across variables. Duplicate row counts remain pending Phase D recomputation, but given the composite natural key of (year, quarter, variableid), duplicates would be a critical integrity issue to verify before any pivot operation.
3. Key Column Distributions
The value column is the analytical core and its distribution tells a rich story: the mean (37,369.7) is dramatically divorced from the median (7.295), with Q1 = 3 and Q3 = 1,795.7 — a range compression suggesting that the vast majority of observations are small-magnitude variables (rates, indices, ratios) while a minority of nominal monetary series (GDP in £millions, debt stocks) pull the mean skyward. The skewness of 8.23 confirms extreme right-tail behavior, and 4,286 flagged outliers (~21.8% of rows) reflect genuine economic magnitude differences across variable types rather than data corruption — though this makes raw correlation across variables without normalization dangerously misleading. The variableid column (48 distinct values) vs. variable (46 distinct) hints that two variable IDs may share display names, worth investigating for potential labeling conflicts. The quarter column is perfectly uniform (mean 2.50, skew ≈ 0), confirming balanced quarterly sampling within whatever years are covered.
4. Recommended Join Key Columns
For cross-dataset correlation, the optimal join strategy uses the composite key (year, quarter), which together define a unique time period (e.g., 1850-Q3). The year column alone (322 distinct values) provides an annual join anchor for datasets that lack quarterly granularity. variableid is the preferred key over variable for programmatic joins given the 48 vs. 46 distinct value discrepancy in the latter. For thematic subsetting before joining, section (5 distinct values covering the 5 macroeconomic domains) acts as an efficient filter key. Analysts should pivot the dataset wide on variableid before joining to external sources, converting the long format into a ~322-row × 48-column panel indexed by year-quarter.
5. Recommended Pairing Datasets for Correlation Discovery
Several dataset categories would unlock high-value correlations with this data:
- UK Political & Institutional History (election cycles, government party, war years) — to correlate fiscal deficits, debt-to-GDP, and monetary expansion with political regime changes across centuries - Bank of England Interest Rate & Monetary Policy Data — natural complement for studying monetary transmission mechanisms; the BoE itself publishes historical rate series that would extend or cross-validate variables here - Global Commodity Price Indices (e.g., historical wheat, coal, oil prices) — to examine terms-of-trade effects on UK trade balances and inflation across industrialization phases - Historical US or European Macroeconomic Data (e.g., NBER Macrohistory Database, Jordà-Schularick-Taylor Macrohistory) — enabling cross-country business cycle synchronization and financial contagion studies - UK Population & Demographic Census Series — pairing GDP with population data to derive per-capita growth trajectories and labor productivity trends across the full 320-year span
Columns
- year (date)
- quarter (integer)
- period (string)
- variable_id (string)
- variable (string)
- section (string)
- unit (string)
- value (decimal)