Millennium of UK Macro Data

Get the headline annual series of the Bank of England’s “A millennium of macroeconomic data for the UK”: British output, prices, rates and asset prices over centuries.

The dataset (Thomas and Dimsdale, version 3.1) holds around eighty series of output, population, employment, prices, wages, interest rates, asset prices, exchange rates, money, credit and public finances, from as early as 1086 (GDP and population), 1209 (consumer prices), 1694 (Bank Rate) and 1700 (share prices) to 2016. It is the longest consistent record of interest rates, inflation and asset prices of any economy, for calibrating the very long-run behaviour of scenario generators.

The series keep the names of the dataset, such as “Bank Rate”, “Consols / long-term government bond yields”, “Corporate bond yields”, “Share prices”, “Consumer price index”, “Consumer price inflation”, “House price index” and “$/£ exchange rate”; a second column of a series, such as its growth rate or its share of GDP, carries that unit in brackets. Rates, growth rates and shares of GDP are decimal fractions (0.05 for 5%); levels, indices and exchange rates are returned as published.

The dataset is not updated anymore. The workbook is large (around 28 MB), so it is cached for a year.

Deflated with a country’s prices, every series is in real terms: in the money of the latest year of that country’s yearly consumer price index up to the end date (see get_consumer_price_index), such as the dollar oil price (“$ Oil prices”) in 2025 dollars deflated with the United States, which compares the oil price of 1864 with that of 2008. A year before the first year of the consumer price index has no real value. Only deflate series in money, such as prices, in the currency of that country: rates, indices and growth rates are not amounts of money.

  • Real Value (t) = Value (t) * CPI (latest year) / CPI (t)

See definition: Bank of England

Also known as: three centuries of macroeconomic data, BoE millennium dataset, long run UK data.

Example · 1700 to 2016

Install the Finance Toolkit with pip install financetoolkit -U, then call get_millennium_of_macroeconomic_data:

from financetoolkit import Economics

economics = Economics(start_date='1700-01-01', end_date='2016-12-31')

millennium = economics.get_millennium_of_macroeconomic_data(
    series=['Bank Rate', 'Consols', 'Consumer price inflation', 'Share prices']
)

millennium.loc[['1720', '1815', '1914', '1974', '2008']]

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

What were the Bank Rate, the yield on consols, consumer price inflation and share prices in the United Kingdom in 1720, 1815, 1914, 1974 and 2008?

Which returns:

Parameters

get_millennium_of_macroeconomic_data accepts the following parameters.

ParameterTypeDescriptionExample
serieslist[str] | str | NoneThe series to include, matched on (part of) their name without regard to case, e.g. “Bank Rate” or [“consols”, “share prices”]. Defaults to None, which includes all of them.["Bank Rate", "consols"]
deflate_withstr | NoneThe country whose yearly consumer price index the series are deflated with, e.g. “United States” for the dollar oil price or “United Kingdom” for sterling series. Defaults to None, which returns the series as published.None, which returns the series as published
rollingintThe rolling window size to use for smoothing the data (simple moving average). Defaults to None.4
growthboolWhether to return the growth data or the actual data. Defaults to False.True
lagintThe number of periods to lag the data by. Defaults to 1.4
standardizeboolWhether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.True
roundingint | NoneThe number of decimals to round the results to. Defaults to None, which uses the rounding of the Economics class.2
show_columnsstr | list[str] | NoneThe columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column.None, which keeps every column
Share