nhstt provides access to publicly available NHS Talking Therapies reports in a tidy, analysis-ready format.
Installation
Install the development version from GitHub:
# install.packages("pak")
pak::pak("bennettoxford/nhstt")Usage
library(nhstt)
# Load the latest release of monthly measures
df_monthly <- get_measures_monthly()
# Load specific version of monthly measures
df_monthly <- get_measures_monthly(version = "0.3.0")Available NHS Talking Therapies data
Data can be accessed from R using the get_*() functions or downloaded directly using the links in the tables below. Monthly, quarterly and annual datasets are also available as Parquet files from the GitHub Releases page. The Periods column shows the number of reporting periods covered by each dataset.
Monthly data
| Function | First period | Last period | Periods | Version |
|---|---|---|---|---|
get_measures_monthly() |
2021-01 | 2026-07 | 67 | 0.6.0 |
Quarterly data
| Function | First period | Last period | Periods | Version |
|---|---|---|---|---|
get_measures_quarterly() |
2022-23-q2 | 2026-27-q1 | 16 | 0.2.0 |
Annual data
For 2012-13 to 2016-17, get_measures_annual() only has England totals for some key measures.
| Function | First period | Last period | Periods | Version |
|---|---|---|---|---|
get_measures_annual() |
2012-13 | 2025-26 | 14 | 0.5.0 |
get_proms_annual() |
2019-20 | 2025-26 | 7 | 0.3.0 |
get_therapy_position_annual() |
2019-20 | 2025-26 | 7 | 0.2.0 |
Metadata
| Function | First period | Last period | Periods | Version |
|---|---|---|---|---|
get_metadata_monthly() |
2026-07 | 2026-07 | 1 | 0.2.0 |
get_metadata_measures_annual() |
2024-25 | 2025-26 | 2 | 0.2.0 |
get_metadata_variables_annual() |
2024-25 | 2025-26 | 2 | 0.2.0 |
get_metadata_providers() |
current | current | 1 | 0.1.0 |
For developers
See DEVELOPERS.md.
Licence
R package
The nhstt package is licensed under the MIT License.
NHS Talking Therapies data
All NHS Talking Therapies data is Copyright NHS England and licensed under the Open Government Licence v3.0. Contains public sector information licensed under the Open Government Licence v3.0.
