https://github.com/alan-turing-institute/health-index-uk
Data and R script for the Health Index 2015-2018
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.8%) to scientific vocabulary
Repository
Data and R script for the Health Index 2015-2018
Basic Info
- Host: GitHub
- Owner: alan-turing-institute
- License: mit
- Language: R
- Default Branch: main
- Size: 300 KB
Statistics
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
UK Health Index 2015-2018
This repository contains data and code to compute the original Office for National Statistics Health Index for the Upper Tier Local Authority and Regions over the 2015-2018.
Description
This folder contains data and code to accompany the paper on 'Assessments and developments in constructing a National Health Index for policy making, in the United Kingdom'.
We have included R scripts to compute the Beta (experimental) Health Index and the modified version presented in the paper, where we also conducted an assessment on statistical coherence and sensitivity & uncertainty analysis.
Repository Structure
```
Health Index/
├── data/
│ ├── Englandallgeogaggregated2015.csv
│ ├── Englandallgeogaggregated2016.csv
│ ├── Englandallgeogaggregated2017.csv
│ └── Englandallgeogaggregated2018.csv
|
├── inputfiles/
│ ├── Allvar.csv # indicators and strucuture labels
| ├── Dico.csv # data dictionary
| ├── DomainsSubdomains.csv # nested structure
| ├── mymetadata.csv # indicators descriptions
| ├── ParentsLavels.csv # nice lables for plots
| ├── sdblab.csv # lables for indicators codes
| ├── MymodifiedFoo.R # contains modified R functions
| ├── ONSNORM.Rdata # normailized indicators data for comparison plot
| ├── subdomains2domains.csv # nested strucutres
| ├── variablesreverse.json # list of data to reverse
| ├── variabletransformations.json # list of data transformation
│ └── indexstructure.json # Index strucutre
|
├── lookup/
| └── geogpoplookup.csv
|
├── 1.CommonOrig.R # generates: Dfindicators.Rdata, OutputsOrig.Rdata, FAExpWeightsONS.Rdata
├── 2.PlotsHI.R
├── 3.DataPreparationCOIN.R # generates:HIBO.Rdata
├── 4.CorrelationAnalysis.R
├── 5.SensitivityFirstTotal.R
├── 6.SAUAIndex2HPC.R # Needs to Run on HPC
└── 7.SensitivityUncertainty2Plot.R
```
Getting Started
Dependencies
- The code runs on R 4.2.1
- These files run on the previous version of the COINr package, named COINr6, all details can be found here.
Executing program
- Run the files in the numerical order.
Folder Description
The sub-folders are:
- data: contains the raw csv files for 2015-2018
- input_files: contains auxiliary files as CSV with the health index labels and structures
- lookups: contains geographical information
R scripts Description
- 1.CommonOrig.R: it reads data in, and the Beta Health Index is replicated as per 2015-2018. The code generates several outputs that are called in the following codes.
- 2.Plots_HI.R: Plots related to the ONS original Health Index.
- 3.DataPrepatation_COIN.R: here, we use the library COINr (version: COINr6) to compute the modified version for the Health Index; the main difference with the original is the minimal data transformation, mainly winsorization and logarithmic function.
- 4.Correlation_Analysis.R: correlation analysis is carried out, at the different hierarchical levels and other comparisons.
- 5.SensitivityFirstTotal.R: we computed the sensitivity Index, i.e. correlation ratio
- 6.SAUAIndex2HPC.R: This file runs the MonteCarlo Sensitivity and Uncertainty analysis. We recommend running on a High-Performance-Computing Machine, as it is incredibly time-consuming.
- 7.Sensitivity_Uncertainy2Plot.R: In this file, we read the output from the MonteCarlo analysis generated in the previous file and create the plots for the rank distributions.
Authors
License
This work is licensed under the MIT license (code) and Creative Commons Attribution 4.0 International license (for documentation). You are free to share and adapt the material for any purpose, even commercially, as long as you provide attribution (give appropriate credit, provide a link to the license, and indicate if changes were made) in any reasonable manner, but not in any way that suggests the licensor endorses you or your use, and with no additional restrictions.
Owner
- Name: The Alan Turing Institute
- Login: alan-turing-institute
- Kind: organization
- Email: info@turing.ac.uk
- Website: https://turing.ac.uk
- Repositories: 477
- Profile: https://github.com/alan-turing-institute
The UK's national institute for data science and artificial intelligence.
GitHub Events
Total
- Issues event: 1
Last Year
- Issues event: 1
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- mhauru (1)