This repository holds code for the GP Access Dashboard
Note: Only public or fake data are shared in this repository.
- The main code is found in the root of the repository (see Usage below for more information)
[R Studio](RStudio Team (2020). RStudio: Integrated Development for R. RStudio, PBC, Boston, MA URL http://www.rstudio.com/.)
[R Statistical Software]( R Core Team (2018). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. URL https://www.R-project.org/.)
library(flexdashboard) library(tidyverse) library(readr) library(easycsv) library(janitor) library(lubridate) library(timeDate) library(bizdays) library(readxl) library(rjson) library(TTR) library(astsa) library(forecast) library(rlang) library(gridExtra) library(reactable) library(english) library(gridExtra) library(here) library(zoo) library(NHSRplotthedots)
To get a local copy up and running follow these simple steps.
To clone the repo:
Code takes UKHF data from UDAL and creates GPAD dashboard.
Currently data is hard coded to caluclate rates for South West Region and ICBs. This could be adjusted to work within other regions.
To run the report you need access to UDAL and create a personal credentials file with server name and user details.
This file will be sourced from the gp.data_input_sql.R file which will create a CSV.
This CSV is then read in by the GP Flex v3d file which needs to be knitted from within posit.
Results in markdown flex dashboard
Uses publically available GPAD data. This is pulled from UDAL within NHSE.
Hope to add more analysis around timeliness metrics as these are developed nationally.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
See CONTRIBUTING.md for detailed guidance.
Unless stated otherwise, the codebase is released under the MIT Licence. This covers both the codebase and any sample code in the documentation.
See LICENSE for more information.
The documentation is © Crown copyright and available under the terms of the Open Government 3.0 licence.
Simon Wellesley-Miller
To find out more get in touch at Simon.Wellesley-Miller.