https://github.com/Public-Health-Scotland/LIST-examples/blob/7243320de0dc59813225d032f96837fd51931a84/Geospatial/map examples.R#L22
This code no longer works as the Shape file seems to have changed and now has fewer variables. I think the fix is to use {phslookups} to read the HSCP / Locality / Datazone file get_hscp_locality() then left_join() it on.
We might also update the code to use 2022 DataZones...
https://github.com/Public-Health-Scotland/LIST-examples/blob/7243320de0dc59813225d032f96837fd51931a84/Geospatial/map examples.R#L22
This code no longer works as the Shape file seems to have changed and now has fewer variables. I think the fix is to use
{phslookups}to read the HSCP / Locality / Datazone fileget_hscp_locality()thenleft_join()it on.We might also update the code to use 2022 DataZones...