https://github.com/nhs-transformation-unit/primary-care-theograph
Repository containing the codebase for the creation of a proof of concept patient timeline tool (theograph) for primary care in Cheshire and Merseyside.
https://github.com/nhs-transformation-unit/primary-care-theograph
Last synced: 7 months ago
JSON representation
Repository containing the codebase for the creation of a proof of concept patient timeline tool (theograph) for primary care in Cheshire and Merseyside.
- Host: GitHub
- URL: https://github.com/nhs-transformation-unit/primary-care-theograph
- Owner: NHS-Transformation-Unit
- License: gpl-3.0
- Created: 2024-07-04T10:26:52.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T13:49:05.000Z (over 1 year ago)
- Last Synced: 2024-12-28T00:46:32.380Z (over 1 year ago)
- Language: R
- Size: 360 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Theograph Proof of Concept Dashboard
The repository contains all code used by the NHS Transformation Unit analytics team during the development of the Theograph Proof of Concept Dashboard for the University of Liverpool.
## Using the Repository
This codebase contains:
1. The `SQL` script needed for extracting the raw DynAirX data ready for processing within RStudio.
2. The `R` scripts needed for processing the raw DynAirX data ready for importing into the theograph dashboard.
3. The `R` and `.Rmd` scripts needed for creating and visualising the processed DynAirX data as an interactive dashboard.
To recreate the data pipeline created for this dashboard, users will need to ensure their working directory is structured as outlined in the [Repository Structure](##-Repository-Structure) section of this ReadMe. This can be undertaken by cloning the repository using Git or by simply downloading a zipped version of the tool from this repository.
For a more detailed guidance on how to recreate the Theograph Proof of Concept Dashboard using this repository, please see the `Theograph_creation_guidance.md` file located within the documentation subfolder.
## Repository Structure
The current structure of the repository is detailed below:
``` plaintext
├─── data
├─── processed_extracts
└─── raw_extracts
├─── documentation
└─── project_documentation
├─── images
└─── src
├─── config
| └─── r_scripts
├─── data_extraction
| └─── sql_scripts
├─── data_processing
| └─── r_scripts
└─── visualisation
```
### `data`
This folder contains subfolders relating to both the raw and processed extracts. Due to GDRP, the (fictional) patient data files will not be uploaded to GitHub but placeholders are included in the repository to maintain subfolder structure.
### `documentation`
This folder contains the project documentation file, `Theograph_creation_guidance.md`.
### `images`
This folder contains all images used in the outputs or repository such as the Data Into Action logo.
### `src`
All code is stored within the `src` folder. This is then divided into `config` (R scripts), `data_extraction` (SQL scripts), `data_processing` (R scripts) and `visualisation` (RMD scripts).
## Contributors
This repository has been created and developed by:
- [Elliot Royle](https://github.com/elliotroyle)
- [Andy Wilson](https://github.com/ASW-Analyst)