This repository contains the codebase for undertaking analysis to examine the activity, waiting times and associated bed pressures for mental health related attendances of paediatric patients at CMAST providers.
The repository can be cloned to repeat all of the analysis contained in the .rmd
outputs. The section below detailing the structure of the repository explains the organisation of the code and how to run this. This analysis has been undertaken in the R programming language so of particular note the user will require the packages listed within the packages.R
script within the requirements
folder to be installed.
The current structure of the repository is detailed below:
├───data
├───documentation
├───images
└───src
├───config
├───load
└───sql_extracts
├───outputs
├───processing
├───requirements
└───visualisation
This folder will contain any relevant data files extracted via the sql_extracts
scripts.
This folder contains the project documentation such as the specification.
This folder contains all images used in the outputs or repository such as the TU logo.
All code is stored within the src
folder. This is then divided into:
config
: Themes for configuring the outputs of the analysis are saved here.load
: Scripts for loading ECDS data for analysis.outputs
: Scripts for rendering the outputs of the analysis are saved within here.processing
: Scripts for processing the ECDS data to create additional flags and create intermediary data frames are saved here.requirements
: Requirements for running the analysis and creating outputs such as thepackages.R
script are saved here.visualisation
: Scripts for producing visualisations used in the outputs of the analysis are saved here.
This repository has been created and developed by: