Coder Social home page Coder Social logo

citizens-online / cohealthmapr Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 64.66 MB

A map to show all GP surgeries in England, looking at age and digital engagement. It is designed to help identify areas where there are more people who don’t tend to use digital tools and services, or who are not online. We’ve used NHS data on registration for online GP services to make the map.

Home Page: https://www.citizensonline.org.uk/gp-map/

License: MIT License

R 0.16% HTML 99.83% CSS 0.01%
digital-health mapping england nhs-digital digital-inclusion

cohealthmapr's Introduction

Citizens Online logo

This code and resulting map were created by Francis Barton of Citizens Online in March-April 2020.

See:

Data and webpage information last updated January 2021.

Here's a listing of the contents of the data directory in my local repository. As you can see, the file sizes are quite large so I haven't uploaded this folder to GitHub.

library(dplyr)
tibble(files = list.files("data", recursive = TRUE)) %>% 
  mutate(size_mb = round(file.size(paste0("data/", files))/2^20))

# A tibble: 6 x 2
  files                                size_mb
  <chr>                                  <dbl>
1 gp-reg-pat-prac-sing-age-regions.csv       3
2 ons_nspcl_data.Rds                        17
3 POMI_APR2020_to_APR2020.csv               11
4 surgery_data_raw.csv                      21
5 tmp/ons_postcode_data.zip                206
6 tmp/pomi_2021.zip                          1

Look at pomi_data_dictionary.txt for descriptions of the Patient Online data.

This project is written in R using:

cohealthmapr's People

Contributors

francisbarton avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cohealthmapr's Issues

Provide more data about practices that aren't data-matched

The creation of full_data involves getting practice data (A) (practice code and patient age data), and then joining that up with the POMI data (B) (practice code, practice name, and patient enabled data).

Currently we do a left_join, so that only POMI data that matches a practice code from A is kept. Some practices in A don't get a match, and are currently excluded from the map.

Two or three job suggestions here:

  • Keep details of practices that don't have matching POMI data (show as NA (grey) on map?)
  • Check whether there are practices included in POMI that aren't in A (currently no checks for this) - use a full_join instead of left_join?
  • Look into whether these can be matched up through a little bit of adjustment (could there even be typos that affect the join?)
  • Report the missingness somewhere on the web page

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.