NHSnames

An R package for helping with NHS organisation names

R
Data
Author

Calum Polwart

Published

August 27, 2023

Keywords

Data, Open Source

Introduction

When I did some work on NHS Data in R, I discovered the challenge of NHS Organisation names. Firstly, they are long and clunky:

The Somewhere and Somewhere Else NHS Foundation Trust

is hardly a snappy name. And so people abbreviate it. Often within a locality people fairly consistently abbreviate, but there will be no easy way to unpick that. Using the daft example above you could abbreviate it:

  • TSSE

  • TSSE-FT

  • TSSE-NHS FT

  • SSE

  • S&SE

  • S+SE

  • SSFT

etc

In addition trusts can be known by their 3 letter ODS code, and it is sometimes desirable to translated the ODS code to the full name or a shortened name.

R Package

I have therefore created a few functions to try and make the process simpler and perhaps more consistent. And I’ve rapped these into a simple package.[1]

install.packages("remotes")

remotes::install_gitlab("polc1410/nhsnames")

— Content on this website has been produced with reasonable care. However, errors can occur. Opinions change over time. Code that worked at the time of publication may no longer work. Users of all content from this site do so at their own risk.

References

1. Polwart, C. (2024). NHSnames: Format NHS Organisation Names for Easier Reading. https://gitlab.com/polc1410/nhsnames

Reuse