This repository contains the scripts to download, process and analyse the 2022/23 ERIC publication from NHS Digital.
To recreate the visuals within this repository, clone the repo and run the scripts in the following order:
packages.R
in the requirements
folder
load.R
in the processing
folder
cleansing.R
in the processing
folder
processing.R
in the processing
folder
palette.R
in the config
folder
visualising.R
in the visualisations
folder
The section below shows the structure of the repository to explain the code used. All data is publicly available from NHS Digital.
At present the structure of the repository is:
├───data
└───lookups
├───images
└───src
├───config
├───outputs
├───processing
├───requirements
└───visualisation
Where the extract of APCE data will be saved for loading and processing.
Images such as TU logos and branding to add to outputs.
All code is stored in src. This is subdivided into five modules:
config
: Files for configuring the output such as thetheme.css
.data
: External datasets providing look-ups of NHS Trust and Sites to their geographical locations.processing
: Files for downloading and processing the ERIC data.requirements
: Requirements file for building the output html such as thepackages.R
script.visualisation
: Files for producing the visualisations used within the outputs.
This repository has been created and developed by: