Healthcare accessibility analysis in Python
Measure how well people can reach healthcare and decide where new services should go. The series computes spatial accessibility with the two-step floating catchment area method, then uses location-allocation to choose facility sites.
- Intermediate
- 2, all published
- About 35 minutes
The parts, in order
-
Two-step floating catchment area (2SFCA) in Python: spatial access to GP practices in Cornwall
Measure spatial accessibility to GP practices in Python with the two-step floating catchment area (2SFCA) method and its distance-decay version (E2SFCA). Build OSMnx drive times for Cornwall from OpenStreetMap, use NHS GP workforce data and Census 2021 population, compare the PySAL access package with a vectorised NumPy version, and test the catchment threshold, the decay function and edge effects.
-
Location-allocation in Python: p-median, p-center and maximal covering (MCLP) with spopt
Solve location-allocation problems in Python with spopt and the CBC solver: the p-median, p-center and maximal covering location problem (MCLP). Choose sites for new urgent-care or mobile clinic bases among Cornwall's community buildings, on OSMnx drive times and Census 2021 population, compare the three answers on maps and charts, draw the trade-off curve as the number of sites grows, and see how problem size drives solve time.