MRCagney Works

Playground Accessibility

Here’s a playful, parental question that popped up recently at work. How’s Auckland’s playground access? More specifically, for every point in the Auckland Region, how many playgrounds lie within a 15-minute, with-child walk of that point? Let’s answer that question, at least approximately, from our armchairs using open data and open source software, so others can retrace our steps.

Set the study area and get its playgrounds

I’ll do this analysis with Python in a Jupyter notebook and just show the key outputs for brevity. Behind the scenes I’ll use GeoPandas for geospatial operations and Folium for map-making. To start, let’s grab Auckland’s geographic shape from Stats NZ.

Make this Notebook Trusted to load map: File -> Trust Notebook