Data Analysis: South Yorkshire GP Practices & Deprivation

A large scale exploration of GP access and DNA (did not attend) rates across South Yorkshire, and the link these statistics have to rates of deprivation.

The Question

GP access is often discussed in terms of deprivation, but it’s not commonly explored at a local, practice by practice level. I wanted to test it properly for South Yorkshire, seeing if practices in more deprived areas see a different pattern of attendance, or different level of access compared to those in less deprived areas.

Data sources

This project combines four separate NHS/government datasets, joined together through a full SQL + Python pipeline:

Data covers 169 GP practices across NHS South Yorkshire ICB (Barnsley, Doncaster, Rotherham, Sheffield sub-ICBs), for six months between November 2025 and May 2026 (March 2026 data was not published by NHS England and is excluded).

Methodology

  1. Filtered national appointment and patient-list publications down to South Yorkshire practices using sub-ICB location codes
  2. Built a SQLite database with practice-level appointment, patient list, and reference tables
  3. Joined practice postcodes to LSOA-level deprivation deciles via the ONS postcode directory
  4. Calculated appointments per 1,000 patients and DNA rate per practice, averaged across the six-month period
  5. Tested both metrics against deprivation decile using Spearman’s rank correlation (chosen over Pearson’s since IMD (Index of Multiple Deprivation) decile is an ordinal ranking, not a continuous scale)
  6. Built an interactive Power BI dashboard to visualise the results

Findings

MetricSpearman’s rhop-valueSignificant?
Appointments per 1,000 patients-0.020.823No
DNA rate-0.43< 0.001Yes

Appointment volume showed no meaningful relationship with deprivation — practices in more and less deprived areas offer/deliver a broadly similar number of appointments per patient.

DNA (missed appointment) rate showed a moderate, statistically significant relationship — practices in more deprived areas see notably higher rates of missed appointments. This suggests deprivation in South Yorkshire may affect patients’ ability to attend booked appointments more than it affects the volume of care on offer. The reasons for this are talked about more in my blog post, but suggests bigger issues are things such as inflexibility at work and access to transport.

Power BI collection of visualisations Power BI collection of visualisations

Power BI Visualisation of DNA vs IMD Decile excluding the Wickersley outlier.

Power BI visualisation of DNA vs IMD Decile excluding the Wickersley outlier.

Limitations

Downloads

📊 Short Power BI Report (.pdf)
🐍 Spearman Correlation Analysis (correlation.py)
🐍 Patient List Size Builder (build_patient_list_size.py)
🐍 Deprivation Table Builder (deprivationtable.py)
📁 Trimmed and Sorted Dataset (analysis_base.csv)

A full write-up discussing these findings in more depth is available on my blog .