Explore our data! Click "Run" and wait a few seconds to see the map.
Filtering the data
Try a simple query. Copy this line then paste it at the end of the code box above, then click "Run" again.
greenspaces.features.filter(feature => (feature.properties['NESTLIKERT'] '').includes("Very_Satisfied"))
This filters the greenspace features to only select those where the satisfaction score (code "NESTLIKERT") was "Very_Satisfied".
Working with our data
You'll find these files useful:
- https://greenspacehack.com/data/full.geojson - GeoJSON of all sites. Properties include 'name', 'town', and answers to all e-NEST survey questions.
- https://greenspacehack.com/data/summary.geojson - GeoJSON of all sites but without full answers.
- https://greenspacehack.com/data/oxfordshire_lsoas.geojson - GeoJSON of all LSOAs in Oxfordshire (census Lower Layer Super Output Areas). Each centroid point represents a number of residents as expressed in the 'population' property (typically 1000-1500 but may be more). We have enhanced this with the Index of Multiple Deprivation 2015 scores (properties 'multiple','children','crime','education','environment','employment', 'health','housing_services','income','older_people').
- https://greenspacehack.com/data/survey.json is the list of questions and possible answers. You probably won't want to load this into your RunKit code, but it'll show you what properties you can query, and what the possible values are.
We have a permissive CORS policy on these files, so we encourage you to load them into your projects. You can create notebooks in RunKit using our examples as a starting point.
Here's two examples of simple analysis using our data in the RunKit environment:
- Playgrounds - filtering to show those with a "Satisfied" or "Very Satisfied" rating
- Areas of multiple deprivation without nearby greenspace - using Turf to find areas of multiple deprivation within Oxfordshire where there's no greenspace within 1km