This repository holds code for data visualisation within R, using a collection of published datasets that are available at different organisational and geographic breakdowns. The intention of this project is to share code across all regions and encourage increased usage of R by having a library colleagues can access.
This is a regional collaboration by North East & Yorkshire Analytics, South East Data & Analytics and East of England Intelligence & Insight - NHS England, but we welcome wider input and contributions.
Note: Only public data is shared in this repository.
- The main output is a html file that utilises rmarkdown to provide a documentent that users can interact with, much like a library: https://github.com/nhsengland/Region_Collab_Data_Viz_Library/blob/main/Regional_R_Data_Viz_Library.rmd
- The data visualisations are sorted by type within the html output, with associated code and a sample dataset and list of packages to load to get you started: https://github.com/nhsengland/Region_Collab_Data_Viz_Library/blob/main/Regional_R_Data_Viz_Library.html
R studio
To get a local copy up and running follow these simple steps.
To clone the repo:
git clone [https://github.com/nhsengland/Region_Collab_Data_Viz_Library]
If you would like to contribute to the code library, create a branch off dev for review to commit back into the main branch.
More information on NHSRTheme package: https://nhs-r-community.github.io/NHSRtheme/
This code can be utilised within R for creating your own data visualisations.
The main output of this repo is a html document that serves as a library, with examples of data visualisations and associated code.
This library utilises the NHSRdatasets package.
See the Repo Issues for a list of proposed features (and known issues).
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.
To find out more about the project - Email michael.perham1@nhs.net, will.manners@nhs.net, ruby.nicholls@nhs.net, adam.dowling2@nhs.net