townsendr interactive mapCode · GIS · Research Methods · rstats deprivation · gis · interactive map · leaflet · shiny · Townsend
The data is based on the relevant census tables obtained from Nomis. The shapefiles are obtained from the UK Data Service, but are greatly simplified (even the generalised versions were about 5MB, much too big for interactive use). Both are available under open licenses. For more information see the townsendr web page or the GitHub repository. Pull requests are very welcome.
I’m really happy with the result, which is my first attempt using Shiny and leaflet, but there’s more work to do (when I have time!). Specifically I think the following need addressing:
- London probably needs removing from the analyses because car ownership and home ownership are low in London even among households that aren’t deprived.
- The colour scale needs more contrast between high and low deprivation (although this might be corrected by removing London!). I might even create bands that show quantiles of deprivation.
- The legend needs improving, specifically it should be clearer that darker blue = more deprivation. The z-scores probably aren’t that useful to someone who doesn’t know what they signify.