Giter Club home page Giter Club logo

covid-19-vulnerability's Introduction



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.

covid-19-vulnerability's People

Contributors

matthewgthomas avatar mikejohnpage avatar obisargoni avatar tomalrussell avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.