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. 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_measures_annual() |
2017-18 | 2024-25 | 8 | Download | 0.2.0 |
get_proms_annual() |
2019-20 | 2024-25 | 6 | Download | 0.2.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_measures_monthly() |
2021-01 | 2026-05 | 65 | Download | 0.5.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-07 | 2026-07 | 1 | Download | 0.2.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.