britishredcrosssociety / covid-19-vulnerability

COVID-19 Vulnerability Index for neighbourhoods and Local Authorities in the UK
https://britishredcrosssociety.github.io/covid-19-vulnerability/
Other
33 stars 15 forks source link
covid-19



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:

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 on this interactive map: https://britishredcross.maps.arcgis.com/apps/webappviewer/index.html?id=4b599f94d2d04d6496cc8b2d89911f62

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"))

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.