knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
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 https://www.gov.uk/government/statistics/english-indices-of-deprivation-2019 and has subsequently been moved to the API https://services1.arcgis.com/ 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") remotes::install_github("nhs-r-community/NHSRpopulation")
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.
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 note that the NHSRpopulation
project is released with a Contributor Code of Conduct.
By contributing to this project, you agree to abide by its terms.
This package was originally created by Milan Wiedemann.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.