Skip to content

Commit

Permalink
Merge pull request #80 from nhs-r-community/updates
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
Lextuga007 authored May 9, 2024
2 parents 237d8a6 + 13d97c9 commit 4debbba
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 58 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/quarto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,15 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
container:
image: ghcr.io/dukestatsci/r_gh_actions:latest
image: ghcr.io/nhs-r-community/r_gh_actions:latest
steps:
- uses: actions/checkout@v4

- uses: actions/cache@v4
with:
key: packages
path: /usr/local/lib/R/site-library

- name: Install Missing Packages
run: |
missing = checklist::install_missing_pkgs(dir = "./", glob = "*.qmd")
Expand All @@ -51,7 +56,6 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}


- name: Build site
run: |
quarto render
Expand Down
29 changes: 15 additions & 14 deletions data_sources.qmd
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
---
title: "Data Sources"
---
# Data Sources

## Raw Data
## Raw data

### Indices of Multiple Deprivation (IMD) (2019) Data
(Ministry of Housing, Communities, and Local Government)
<https://www.gov.uk/government/statistics/english-indices-of-deprivation-2019>{target="_blank"}
### Indices of Multiple Deprivation (IMD) (2019) Data

(Ministry of Housing, Communities, and Local Government)\
[https://www.gov.uk/government/statistics/english-indices-of-deprivation-2019](https://www.gov.uk/government/statistics/english-indices-of-deprivation-2019){target="_blank"}

## Publicly Accessible Analysis & Dashboards

### PowerBI dashboard of NHS Acute Trust Catchment Populations
(Office for Health Improvement and Disparities)
[NHS Acute (Hospital) Trust Catchment Populations](https://app.powerbi.com/view?r=eyJrIjoiODZmNGQ0YzItZDAwZi00MzFiLWE4NzAtMzVmNTUwMThmMTVlIiwidCI6ImVlNGUxNDk5LTRhMzUtNGIyZS1hZDQ3LTVmM2NmOWRlODY2NiIsImMiOjh9){target="_blank"}
### PowerBI dashboard of NHS Acute Trust Catchment Populations

(Office for Health Improvement and Disparities)\
[NHS Acute (Hospital) Trust Catchment Populations](https://app.powerbi.com/view?r=eyJrIjoiODZmNGQ0YzItZDAwZi00MzFiLWE4NzAtMzVmNTUwMThmMTVlIiwidCI6ImVlNGUxNDk5LTRhMzUtNGIyZS1hZDQ3LTVmM2NmOWRlODY2NiIsImMiOjh9){target="_blank"}

## Dashboards requiring authentication

### Health Inequalities Improvement Programme Dashboard (getting access)
(NHS England)
[Health Inequalities Improvement Programme Dashboard (getting access)](https://future.nhs.uk/connect.ti/InequalitiesImprovement/view?objectID=42240816){target="_blank"}

(NHS England)\
[Health Inequalities Improvement Programme Dashboard (getting access)](https://future.nhs.uk/connect.ti/InequalitiesImprovement/view?objectID=42240816){target="_blank"}

### SHAPE Tool
(Department of Health and Social Care)
[SHAPE](https://app.shapeatlas.net/place){target="_blank"}

(Department of Health and Social Care) [SHAPE](https://app.shapeatlas.net/place){target="_blank"}
4 changes: 2 additions & 2 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ It is supported and enabled by:

- [The Midlands and Lancashire Commissioning Support Unit](https://www.midlandsandlancashirecsu.nhs.uk/)

It is written using the [Quarto](https://quarto.org/) technical publishing system, currently v1.3.450.
It is written using the [Quarto](https://quarto.org/) technical publishing system.

If you would like to contribute or otherwise get involved in the project, please raise an issue on [GitHub](https://github.com/nhs-r-community/health-inequalities-notebook/issues), or make contact in the NHS-R Slack group.
If you would like to contribute or otherwise get involved in the project, please raise an issue on [GitHub](https://github.com/nhs-r-community/health-inequalities-notebook/issues), or make contact in the [NHS-R Slack group](https://nhsrcommunity.slack.com/).
5 changes: 2 additions & 3 deletions mapping.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ title: "Mapping"

# Centroid mapping

Sometimes you have a set of addresses but no way of mapping them.
The Office for National Statistics’ [Open Geography Portal](https://www.arcgis.com/home/item.html?id=0c32f51c86554abab67036f07d66d6f6) provides the centroids for all UK postcodes.
Sometimes you have a set of addresses but no way of mapping them. The Office for National Statistics’ [Open Geography Portal](https://www.arcgis.com/home/item.html?id=0c32f51c86554abab67036f07d66d6f6) provides the centroids for all UK postcodes.

Using R to get centroid information: https://www.trafforddatalab.io/recipes/gis/postcodes.html#
Using R to get centroid information: <https://www.trafforddatalab.io/recipes/gis/postcodes.html>
14 changes: 4 additions & 10 deletions peer-groups.qmd
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
---
title: "Peer Groups"
---
# Peer groups/Nearest Neighbour

## Peer groups/Nearest Neighbour

Comparing areas is a common analytical process but sometimes involve comparing geographically neighbouring areas which are not similar in population or demographics amongst other factors.
As a consequence of this CIPFA created a [Nearest Neighbour Model (England)](https://www.cipfa.org/services/cipfastats/nearest-neighbour-model) for Local Authorities:
Comparing areas is a common analytical process but sometimes involve comparing geographically neighbouring areas which are not similar in population or demographics amongst other factors. As a consequence of this CIPFA created a [Nearest Neighbour Model (England)](https://www.cipfa.org/services/cipfastats/nearest-neighbour-model) for Local Authorities:

> Featuring 40 metrics using a wide range of social‐economic indicators, the tool is designed to help you to interpret results and deep dive into how the statistical distance between other authorities arises, enabling you to see how the statistical relationship between you and your neighbours has changed.
Following local government boundary changes to local authority in 2023 this model is being updated and, as of May 2024 tools like the Office for Health Improvement and Disparities [Fingertips](https://fingertips.phe.org.uk/) moved to use the NHS England local authority peer groups for statistical neighbour comparisons.

These calculations are generated using Python with the code is shared through the [ASC_LA_Peer_Groups](https://github.com/NHSDigital/ASC_LA_Peer_Groups) repository.
They are calculated by:
These calculations are generated using Python with the code is shared through the [ASC_LA_Peer_Groups](https://github.com/NHSDigital/ASC_LA_Peer_Groups) repository. They are calculated by:

> a metric of similarity (Euclidean distance) based on standardised, normalised input features from Census 2021 data, including population demographics such as age, ethnicity and educational attainment.
The repository, although relying upon Python is useful in detailing the csv files and their locations that are used to build this calculation.
The repository, although relying upon Python is useful in detailing the csv files and their locations that are used to build this calculation.
4 changes: 0 additions & 4 deletions public-health-profiles.qmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
title: "Public health profiles"
---

# Profiles for England and Wales

Commonly referred to as Fingertips Public Health data can be found through the [dashboard](https://fingertips.phe.org.uk/).
Expand Down
19 changes: 0 additions & 19 deletions references.bib

This file was deleted.

4 changes: 0 additions & 4 deletions references.qmd

This file was deleted.

0 comments on commit 4debbba

Please sign in to comment.