Skip to contents

The goal of NHSRpopulation is to make population estimates for Lower layer Super Output Areas (LSOA) and their Indices of Multiple Deprivation (IMD) easily available in R. In its first iteration this package was data saved from and has subsequently been moved to the API to keep the data up to date (although it only updated every few years) and give access to all the nations across the UK including Wales, Scotland, Northern Ireland as well as England.


You can install the current version of NHSRpopulation from GitHub with:

# install.packages("remotes")

To find out more about the functions there is a vignette for Getting Started and for information on how to recalculate the IMD deciles for local areas only and not with England see this vignette.

Sources of Data

The original source of the data provided in this R package is available from the ONS and licenced under the Open Government Licence v3.0.


Please see our guidance on how to contribute.

This project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

The simplest way to contribute is to raise an issue detailing the feature or functionality you would like to see added, or any unexpected behaviour or bugs you have experienced.

Special note of thanks

This package was originally created by Milan Wiedemann.