This repository contains the scripts to create an app to explore the 2019 Index of Multiple Deprivation (IMD) published by the Ministry of Housing, Communities and Local Government for Integrated Care Boards (ICBs).
A version of the app is currently deployed and available for viewing here.
To re-create the Shiny App, simply clone the repository from GitHub and run the script app.R
to re-create the app locally. The section below shows the structure of the repository to explain the code used to create the app. All data is publicly available for access and analysis under the terms of the Open Government License (OGL).
At present the structure of the repository is:
├───images
└───src
├───app
├───config
├───etl
├───requirements
└───visualisation
└───www
Images such as TU logos and branding to add to outputs.
All code is stored in src within the app
folder for deployment. This is subdivided into five modules:
config
: Files for configuring the output such as thetheme.css
.etl
: Files for downloading and processing IMD dataset and linking to relevant geospatial files.requirements
: Requirements file for building the output html such as thepackages.R
script.visualisation
: Files for producing the visualisations (charts and maps) used within the outputs.www
: Image and css files for deployment.
This repository has been created and developed by: