NHSE R drop in session
Invalid Date
These slides were presented in the NHSE-R drop in session on Friday 26th May 2023.
In R we can plot geospatial data using several methods, today I will focus on static maps using ggplot2 and osm packages. Drawing maps usually imply these steps:
geom_sf() and coord_sf()An introduction to plotting maps in R using ggplot2 can be found on this online book: https://ggplot2-book.org/maps.html.
The Office for National Statistics provides a free and open access to several geographic products. There is a specific section for Health boundaries on their Open Geography Portal website: https://geoportal.statistics.gov.uk/.
From Clinical Commissioning Groups section download 2021 Boundaries shapefile zipped file.


Load unzipped files into R using Open Geography Portal