Skip to content

Childhood vaccinations

The uk_open_data.vaccinations module loads the UK Health Security Agency's Cover of Vaccination Evaluated Rapidly (COVER) statistics for every upper-tier council in England. It reads the latest year, April to March.

load_vaccinations()

from uk_open_data.vaccinations import load_vaccinations

table = load_vaccinations()
table[["geography_name", "age", "vaccine", "not_vaccinated"]]

It returns a row for each council, age and vaccine, as a pandas or polars table, whichever you have. There are 150 councils, each with 12 rows: four vaccines at each of three ages.

Column What it holds
geography_code The council's code, as UKHSA gives it, which joins to boundaries and statistics
geography_name The council's name, as UKHSA gives it
year The year the figures are for, such as "April 2025 to March 2026"
age "12 months", "24 months" or "5 years"
vaccine The vaccine, as UKHSA names it: see below
children Children who reached that age during the year
vaccinated Those of them who had the vaccine by then
not_vaccinated Those who had not: children less vaccinated

The vaccines are:

Age Vaccines
12 months DTaP/IPV/Hib/HepB (the 6-in-1), MenB, Rota (rotavirus), PCV (pneumococcal)
24 months DTaP/IPV/Hib/HepB, MMR1 (a first dose of measles, mumps and rubella), MenB booster, PCV booster
5 years DTaP/IPV/Hib/HepB, dTaP/IPV booster (the pre-school booster), MMR1, MMR2 (both doses of MMR)

Upper-tier councils are counties, and the councils that are their own upper tier: unitary authorities, metropolitan districts and London boroughs. UKHSA counts three areas in a neighbour's figures, so they have no rows of their own:

Area Counted in
City of London (E09000001) Hackney (E09000012)
Isles of Scilly (E06000053) Cornwall (E06000052)
Rutland (E06000017) Leicestershire (E10000018)

api.INCLUDED_IN lists them, as pairs of codes.

Councils have the codes UKHSA gives them. Barnsley and Sheffield have their codes before April 2025. To join the figures to today's councils, bring them forward with uk_open_data.areas, which also gives each district's county.

UKHSA counts children from child health records. It says the children recorded are uncertain where people move often, as in London, so coverage there may be underestimated.

A figure UKHSA does not give is missing (null), never zero. A figure UKHSA corrected after release is written as text with a note, such as "4,647 [note 25]", and is read as its number.

The figures are fetched once and held for the rest of the session. clear_cache() forgets them, to fetch a new release.

In the analyses

The analyses take two of these counts as needs, for England:

  • children_without_mmr1_by_2: children who turned 2 during the year without a first dose of MMR;
  • children_without_mmr2_by_5: children who turned 5 without both doses.

They share each upper-tier council's figure out to the councils in it, by residents, and bring the codes forward for you: see "Need figures for bigger areas" under Need against reach.

How the latest release is found

UKHSA publishes each year's figures on a page of their own, at a new address. The loader asks the gov.uk content API for the collection, takes the first page of statistics in its "COVER annual reports" group, and reads that release's file of tables. The release also has a file of figures by GP practice, which the loader does not read.

If the collection lists no annual release, or a table or column the loader reads has changed, it fails with a ValueError naming UKHSA's statistics. A weekly check fetches the latest release to make sure it still reads.

The source and how to credit it

Publisher UK Health Security Agency
Coverage England, yearly, April to March
Licence Open Government Licence v3.0
Credit Source: UK Health Security Agency, Cover of Vaccination Evaluated Rapidly (COVER) programme, April 2025 to March 2026. Contains public sector information licensed under the Open Government Licence v3.0.

list_datasets() lists it as ukhsa-childhood-vaccinations.