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 annual key measures dataset for financial year 2024-25
km_annual <- get_key_measures_annual(periods = "2024-25")
# Load all monthly activity performance datasets
ap_monthly <- get_activity_performance_monthly()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. Annual and monthly 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.
Annual data
| Function | First period | Last period | Periods | Tidy data | Version |
|---|---|---|---|---|---|
get_key_measures_annual() |
2017-18 | 2024-25 | 8 | Download | 0.2.0 |
get_proms_annual() |
2019-20 | 2024-25 | 6 | Download | 0.1.0 |
get_therapy_position_annual() |
2019-20 | 2024-25 | 6 | Download | 0.1.0 |
Monthly data
| Function | First period | Last period | Periods | Tidy data | Version |
|---|---|---|---|---|---|
get_activity_performance_monthly() |
2021-01 | 2026-03 | 63 | Download | 0.4.0 |
Metadata
| Function | First period | Last period | Periods | Tidy data | Version |
|---|---|---|---|---|---|
get_metadata_measures_annual() |
2024-25 | 2024-25 | 1 | Download | 0.1.0 |
get_metadata_variables_annual() |
2024-25 | 2024-25 | 1 | Download | 0.1.0 |
get_metadata_monthly() |
2026-05 | 2026-05 | 1 | Download | 0.1.0 |
get_metadata_providers() |
current | current | 1 | Download | 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.