Skip to content

Datasets

Every published dataset the analyses and the fixed loaders rest on. A result cites a dataset by its id. Beyond these, load_ons can fetch any table Nomis publishes, and load_geodata any boundary set on the ONS Open Geography Portal.

Dataset Id Publisher Topic Areas Nations Licence Used by Can be kept
English Indices of Deprivation 2025 (File 7) iod-2025 Ministry of Housing, Communities and Local Government people Lower layer Super Output Areas (2021) England Open Government Licence v3.0 reach-deprivation, reach-connectivity Yes
Welsh Index of Multiple Deprivation (WIMD) 2025: index and domain ranks and groups, for Lower layer Super Output Areas wimd-2025 Welsh Government, through StatsWales people Lower layer Super Output Areas (2021) Wales Open Government Licence v3.0 reach-deprivation, reach-connectivity Yes
Population estimates - small area (2021 based) by single year of age - England and Wales (NM_2014_1) nomis-nm_2014_1 Office for National Statistics, through Nomis people Lower layer Super Output Areas (2021) Wales Open Government Licence v3.0 reach-deprivation, reach-connectivity Yes
Transport connectivity metric dft-connectivity-2025 Department for Transport transport Lower layer Super Output Areas (2021) England and Wales Open Government Licence v3.0 reach-connectivity Yes
RM024 - Economic activity status by sex by age (NM_2124_1) nomis-nm_2124_1 Office for National Statistics, through Nomis business-and-economy Local authority districts (2023) England and Wales Open Government Licence v3.0 need-reach, provision-gap, access-distance Yes
TS008 - Sex (NM_2028_1) nomis-nm_2028_1 Office for National Statistics, through Nomis people Local authority districts (2023) England and Wales Open Government Licence v3.0 need-reach, provision-gap, access-distance, who-we-miss Yes
Statutory homelessness: detailed local authority-level tables mhclg-homelessness Ministry of Housing, Communities and Local Government people Local authority districts (2025) England Open Government Licence v3.0 need-reach, provision-gap, access-distance Yes
Sub-regional fuel poverty statistics desnz-fuel-poverty Department for Energy Security and Net Zero people Local authority districts (2025) England Open Government Licence v3.0 need-reach, provision-gap, access-distance Yes
Children in low income families: local area statistics dwp-children-low-income Department for Work and Pensions people Local authority districts (2023) England, Wales, Scotland and Northern Ireland Open Government Licence v3.0 need-reach, provision-gap, access-distance Yes
Childhood vaccination coverage statistics (COVER programme) ukhsa-childhood-vaccinations UK Health Security Agency people Counties and unitary authorities (2023) England Open Government Licence v3.0 need-reach, provision-gap, access-distance Yes
Crime in England and Wales: Police Force Area data tables ons-police-recorded-crime Office for National Statistics, from Home Office police recorded crime people Community safety partnerships (2025) England and Wales Open Government Licence v3.0 need-reach, provision-gap, access-distance Yes
TS021 - Ethnic group (NM_2041_1) nomis-nm_2041_1 Office for National Statistics, through Nomis people Local authority districts (2023) England and Wales Open Government Licence v3.0 who-we-miss Yes
postcodes.io postcodes-io postcodes.io, built on the ONS Postcode Directory land-and-property Postcodes England, Wales, Scotland and Northern Ireland Open Government Licence v3.0 reach-deprivation, reach-connectivity, who-we-miss, need-reach, provision-gap, access-distance No
Postcode to OA (2021) to LSOA to MSOA to LAD Best Fit Lookup in the UK ons-postcode-lookup Office for National Statistics land-and-property Postcodes England and Wales Open Government Licence v3.0 reach-deprivation, reach-connectivity, who-we-miss, need-reach, provision-gap, access-distance Yes
Local Authority Districts (December 2025) Boundaries UK ons-local-authority-centres Office for National Statistics, Open Geography Portal environment Local authority districts (2025) England and Wales Open Government Licence v3.0 access-distance Yes
Lower layer Super Output Areas (December 2021) Boundaries EW ons-neighbourhood-centres-2021 Office for National Statistics, Open Geography Portal environment Lower layer Super Output Areas (2021) England and Wales Open Government Licence v3.0 access-distance Yes
Composite UK Index of Multiple Deprivation mysociety-composite-uk-imd mySociety people Neighbourhoods, data zones and super output areas England, Wales, Scotland and Northern Ireland Creative Commons Attribution 4.0 Loader only No
English Indices of Deprivation 2019 (File 7) iod-2019 Ministry of Housing, Communities and Local Government people Lower layer Super Output Areas (2011) England Open Government Licence v3.0 Loader only Yes
Welsh Index of Multiple Deprivation 2019 wimd-2019 Welsh Government people Lower layer Super Output Areas (2011) Wales Open Government Licence v3.0 Loader only No
Scottish Index of Multiple Deprivation 2020 simd-2020 Scottish Government people Data zones (2011) Scotland Open Government Licence v3.0 Loader only No
Northern Ireland Multiple Deprivation Measure 2017 nimdm-2017 Northern Ireland Statistics and Research Agency people Super output areas (2001) Northern Ireland Open Government Licence v3.0 Loader only No
Code History Database, with local authority names and codes ons-code-history Office for National Statistics, Open Geography Portal government-and-parliament Local authorities, by every year's codes England, Wales, Scotland and Northern Ireland Open Government Licence v3.0 need-reach, provision-gap, access-distance, who-we-miss No
Local authority to county, community safety partnership and police force area lookups, with 2021 Census residents ons-local-authority-lookups Office for National Statistics, Open Geography Portal and Nomis government-and-parliament Local authority districts (2025), with their counties, community safety partnerships and police force areas England and Wales Open Government Licence v3.0 need-reach, provision-gap, access-distance No
Explore education statistics API dfe-education-statistics Department for Education people Local authorities (upper tier), and others England Open Government Licence v3.0 Loader only No

"Nations" are the nations the package reads a dataset for. "Loader only" means a loader offers it, but no analysis uses it yet. "Can be kept" means a copy can be kept on your machine, so it is read from there instead of the network.

Keeping the datasets on this machine

To run the analyses without the network, as a server does, keep the datasets they use. Do it once while online, and again when new figures are published:

from uk_open_data.analyses import download_datasets

download_datasets()                           # every dataset an analysis uses
download_datasets(["dft-connectivity-2025"])  # or the ones you name, by id

Or on the command line:

uk-open-data datasets download

Only public figures are fetched. The copies go in the same data folder as the postcode table, and a result that used one says so in its sources. A dataset's own page shows how to keep it with other choices, such as another year.

Figures that are fetched are held in memory for as long as the program runs, so a second run does not ask again. clear_caches() forgets them all, and the next run fetches them afresh:

from uk_open_data.analyses import clear_caches

clear_caches()

In code, list_datasets() returns this list: Data sources explains each field and what the list leaves out. To add a dataset, see Add a data source.