Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.
/ IAPT Public archive

Variation in data on access to NHS psychological therapies

License

Notifications You must be signed in to change notification settings

HFAnalyticsLab/IAPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Variation in IAPT annual data

This repo contains the scripts used for creating the figures in the medium blog "Inequalities in English NHS talking therapy services: What can the data tell us?".

The scripts use the publicly available annual IAPT data published by NHS Digital and creates graphs showing variation by Index of Multiple Deprivation (IMD) deprivation decile.

Status: complete

Contents

Project Description

This project examines the publicly available data on the NHS IAPT (Increasing Access to Psychological Therapies) programme. Aggregate data is made available regularly and published by NHS Digital - here we take the annual data and explore the variation in the dataset, by demographic group.

Data Sources

Annual public aggregate IAPT data, from NHS Digital.

Cross-sectional code uses:

Longitudinal code uses:

The format and scope of the data made available by NHS Digital changes over time. The earliest available data is from 2012/13, but we have not included earlier data releases in our analysis due to limitations in its scope. Note that depending on the year, files are sometimes provided in .zip or .rar formats and will need to be extracted.

Please note: the labelling provided by NHS Digital within this dataset for IMD deprivation deciles ("01 least deprived" through to "10 most deprived") do not match the labelling used by the ONS, where the most deprived decile is labelled as decile 1, with the least deprived labelled as decile 10.

How does it work?

This analysis can be fully reproduced as the data for this analysis is publicly available and can be downloaded from the NHS Digital website. A series of graphs will be produced which show variation by IMD deprivation decile.

Within the project directory:

  • All scripts are stored within ./R/
  • The scripts expect data to be stored in ./Data/Raw_Annual_Data/
  • The plots created will be saved as .pngs to ./Outputs/

Requirements

These scripts are written in R (version 3.6.1 (2019-07-05) -- "Action of the Toes" was used). The following R packages are used (all available on CRAN):

Getting started

  1. Clone this repo (for help see this tutorial).
  2. Raw data can be downloaded from NHS Digital
  3. A brief description of all scripts (contained in R) is given below:

Technical Appendix

This repo also contains a Technical_Appendix directory which a document which supported the Health Foundation response to the government’s consultation on “Advancing our health: prevention in the 2020s”. The code used to generate these plots is contained within the R subdirectory within this folder for completeness.

Authors - please feel free to get in touch

License

This project is licensed under the MIT License.

About

Variation in data on access to NHS psychological therapies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages