aolifodaisy / covid-19-vulnerability

COVID-19 Vulnerability Index for neighbourhoods and Local Authorities in the UK

Home Page:https://britishredcrosssociety.github.io/covid-19-vulnerability/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



Contributor Covenant

Overview

The purpose of the index is to identify UK areas vulnerable to the effects of COVID-19. To achieve this, sources of (mostly) open data have been combined and vulnerability scores computed for various geographical areas.

Geographical areas

Vulnerability scores have been computed at the local authority (LA), ward, and middle super output area (MSOA) level. This is to allow different levels of geographical analysis. LA's are the largest geographical areas, followed by wards, and then MSOA's. The difference in areas between LA's and MSOA's can be visualised in the maps below (notice the shapes areas):

Vulnerability scores

To calculate vulnerability scores, presented as quintiles and deciles in the above maps (more on that soon), a variety of indicators were collected (e.g., asthma prevalence rate). These indicators were then grouped into four domains depending on the information they captured:

  • Clinical (underlying health conditions)
  • Health and wellbeing (including mental health and loneliness)
  • Economic
  • Social (including barriers to housing and services, poor living environment)

A score for each domain was then computed. To account for correlation among indicators in a given domain, unsupervised machine learning methods (maximum likelihood factor analyis and principal component analysis) were used to weight indicators during the computation. A list of indicators and their domains can be found in this metadata file.

The four domain scores were then combined to produce an overall vulnerability score (currently the domains are combined with equal weighting). This score is then ranked and quantised (split into groups, each containing the same fraction of the total population). The quantisation is at quintiles for LA level indicators and deciles for MSOA level indicators, with the first quintile/decile equaling the least vulnerable. The whole process of computing a vulnerability sore can be visualised in the below diagram:

There's more information about our approach, current indicators and data sources, and forthcoming vulnerabilities in this open document.

Usage

The vulnerability index can be viewed as interactive maps:

It can also be viewed as static files:

Alternatively, if you would rather run the code to generate the vulnerability index ouput, you will need to install R and ideally RStudio. Run the following to install all necessary packages:

install.packages(c("tidyverse", "readxl", "janitor", "xml2", "Hmisc", "sf", "rmapshaper", "httr", "classInt", "RCurl", "jsonlite", "broom"))
  • Run the code in create vulnerability index - MSOA.r to create the overall index for Middle Layer Super Output Areas
  • Run the code in create vulnerability index - LA.r to create the overall index for Local Authorities (this aggregates the Index from MSOAs up into LAs and adds in a few other LA-level indicators)
  • Run the code in create vulnerability index - wards.r to create the overall index for Wards (this aggregates the Index from MSOAs up into Wards)

Contributing

To contribute to this project, please follow GitHub Flow when submitting changes.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Credits

Designed and developed by Matt Thomas and Ellen Gordon at the British Red Cross.

With contributions from

Contains public sector information licensed under the Open Government Licence v3.0.

About

COVID-19 Vulnerability Index for neighbourhoods and Local Authorities in the UK

https://britishredcrosssociety.github.io/covid-19-vulnerability/

License:GNU General Public License v3.0


Languages

Language:HTML 68.1%Language:R 24.1%Language:Jupyter Notebook 6.3%Language:Python 1.5%