Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
This offers the possibility to map various attributes about people and places for very small geographic areas. Output Areas represent the most detailed geography for which Census data are released and are the building blocks for many popular products such as geodemographic classifications.
Because the data and boundaries are available under an open government licence, and that these data have been usefully placed online as direct downloads (data, boundaries), it makes it possible to create maps for England and Wales in a highly automated way.
As such, since launch of the Output Area level data I have been busy writing (and then running – around 4 days!) a set of R code that would map every Key Statistics variable for all local authority districts. The code for doing this is fully reproducible, and I have dropped this on my Rpubs blog.
I have generated a PDF atlas for each local authority district, for example:
Why have I created these atlases?
- To demonstrate the value of the 2011 census
- Provide a free 2011 static Census atlas to anyone who wants one
- Because I do not believe web maps should necessarily be the default way of distributing geographic data
- To illustrate how open data and software can be used in creative ways to generate insight
- An attempt to save local authorities money who might be thinking of doing these type of analyses themselves
- To provide reproducible code that enable others to generate similar maps at Output Area level
- For fun!
- Because R is awesome!
- Because R really is awesome!
What is in each atlas?
Each atlas contains a series of vector PDF maps for each Key Statistics variable. The following is a map from the Liverpool Atlas and shows the percentage of “White: English/Welsh/Scottish/Northern Irish/British” for each Output Area in Liverpool.
About the data and maps
Almost every non count variable (apart from Hectares) was mapped from the Key Statistics data disseminated by Nomis, and are either percentage scores or some type of ratio / average. Maps were excluded where there were only a few scores within a local authority district – you can see further explanation of this on the Rpubs page accompanying the analysis. A couple of further points…
- The variables mapped were based on the calculations that were part of the Nomis data.
- I have always been a fan of blue choropleth maps which was why the particular colour scheme was chosen.
- The cartography was automated for all the maps – this means it is more successful for some local authority districts than in others. Some issues I have noted;
- Those local authorities with many wards appear a little busy with labels (e.g. Cornwall)
- Cardiff appears to have a rogue polygon which may be issue with the OA to higher geography lookup table. I will investigate this in a future release…. [Power of the crowd reveals that this is in fact Flat Holm island – thanks to @geospacedman]
- It would be nice to add scale bars and north arrows to the maps, however, this was proving to be problematic when outputting to PDF. Again, I will try and fix this in a future release.
- The boundaries used are the generalised files to increase mapping speed and reduce file size – these could be supplemented for the full resolution boundaries in the future
- These maps are without guarantee or warranty / feel free to fix my code!
View the maps
All maps are available after clicking continue reading….
- Adur [8.4 MB]
- Allerdale [39.4 MB]
- Amber Valley [25.3 MB]
- Arun [25.7 MB]
- Ashfield [16.8 MB]
- Ashford [31.1 MB]
- Aylesbury Vale [51.2 MB]
- Babergh [34.4 MB]
- Barking and Dagenham [16.3 MB]
- Barnet [38.5 MB]
- Barnsley [39.4 MB]
- Barrow-in-Furness [12.1 MB]
- Basildon [22.8 MB]
- Basingstoke and Deane [33 MB]
- Bassetlaw [26.8 MB]
- Bath and North East Somerset [38.5 MB]
- Bedford [27.4 MB]
- Bexley [26 MB]
- Birmingham [119.9 MB]
- Blaby [17.2 MB]
- Blackburn with Darwen [19.7 MB]
- Blackpool [17.6 MB]
- Blaenau Gwent [12.2 MB]
- Bolsover [14.8 MB]
- Bolton [38 MB]
- Boston [16.1 MB]
- Bournemouth [21.2 MB]
- Bracknell Forest [14.9 MB]
- Bradford [72.8 MB]
- Braintree [39.8 MB]
- Breckland [42.9 MB]
- Brent [24.9 MB]
- Brentwood [13.1 MB]
- Bridgend [25.9 MB]
- Brighton and Hove [28.1 MB]
- Bristol, City of [52.4 MB]
- Broadland [31.1 MB]
- Bromley [41.6 MB]
- Bromsgrove [19.1 MB]
- Broxbourne [11 MB]
- Broxtowe [17.4 MB]
- Burnley [13 MB]
- Bury [27.4 MB]
- Caerphilly [31.8 MB]
- Calderdale [37.4 MB]
- Cambridge [13.6 MB]
- Camden [19.1 MB]
- Cannock Chase [13.4 MB]
- Canterbury [25 MB]
- Cardiff [41.6 MB]
- Carlisle [33.8 MB]
- Carmarthenshire [91 MB]
- Castle Point [12.1 MB]
- Central Bedfordshire [49 MB]
- Ceredigion [56.5 MB]
- Charnwood [27.6 MB]
- Chelmsford [31 MB]
- Cheltenham [15.5 MB]
- Cherwell [34.9 MB]
- Cheshire East [89.9 MB]
- Cheshire West and Chester [72.4 MB]
- Chesterfield [16.2 MB]
- Chichester [38.7 MB]
- Chiltern [20.6 MB]
- Chorley [21.1 MB]
- Christchurch [8.2 MB]
- City of London [1.7 MB]
- Colchester [35.2 MB]
- Conwy [37.9 MB]
- Copeland [25.3 MB]
- Corby [9.3 MB]
- Cornwall [203.9 MB]
- Cotswold [40.7 MB]
- County Durham [110.4 MB]
- Coventry [36.5 MB]
- Craven [25.2 MB]
- Crawley [12.4 MB]
- Croydon [38.6 MB]
- Dacorum [22.2 MB]
- Darlington [16.6 MB]
- Dartford [12.4 MB]
- Daventry [32.6 MB]
- Denbighshire [31.7 MB]
- Derby [31.6 MB]
- Derbyshire Dales [32.6 MB]
- Doncaster [50 MB]
- Dover [21.8 MB]
- Dudley [42.7 MB]
- Ealing [30.1 MB]
- East Cambridgeshire [21.7 MB]
- East Devon [43.9 MB]
- East Dorset [20.8 MB]
- East Hampshire [29.6 MB]
- East Hertfordshire [31.1 MB]
- East Lindsey [57 MB]
- East Northamptonshire [22.5 MB]
- East Riding of Yorkshire [76 MB]
- East Staffordshire [25.2 MB]
- Eastbourne [12.4 MB]
- Eastleigh [18.4 MB]
- Eden [39.3 MB]
- Elmbridge [19.6 MB]
- Enfield [28.5 MB]
- Epping Forest [26.2 MB]
- Epsom and Ewell [9 MB]
- Erewash [17.6 MB]
- Exeter [15.6 MB]
- Fareham [16.8 MB]
- Fenland [17.8 MB]
- Flintshire [39.9 MB]
- Forest Heath [13.2 MB]
- Forest of Dean [29.4 MB]
- Fylde [15.1 MB]
- Gateshead [29.5 MB]
- Gedling [16.4 MB]
- Gloucester [15.7 MB]
- Gosport [10.4 MB]
- Gravesham [13.4 MB]
- Great Yarmouth [16.8 MB]
- Greenwich [24.4 MB]
- Guildford [24.6 MB]
- Gwynedd [71.6 MB]
- Hackney [19.2 MB]
- Halton [16.2 MB]
- Hambleton [44.4 MB]
- Hammersmith and Fulham [14.7 MB]
- Harborough [28 MB]
- Haringey [20.5 MB]
- Harlow [9.4 MB]
- Harrogate [46.4 MB]
- Harrow [22.4 MB]
- Hart [17.2 MB]
- Hartlepool [13.1 MB]
- Hastings [11.2 MB]
- Havant [18.1 MB]
- Havering [28.5 MB]
- Herefordshire, County of [92.1 MB]
- Hertsmere [14.2 MB]
- High Peak [22.5 MB]
- Hillingdon [30.5 MB]
- Hinckley and Bosworth [23.2 MB]
- Horsham [33.4 MB]
- Hounslow [23 MB]
- Huntingdonshire [40.4 MB]
- Hyndburn [11.9 MB]
- Ipswich [16.1 MB]
- Isle of Anglesey [40.9 MB]
- Isle of Wight [32.8 MB]
- Islington [17.4 MB]
- Kensington and Chelsea [14.6 MB]
- Kettering [17.2 MB]
- King’s Lynn and West Norfolk [53 MB]
- Kingston upon Hull, City of [28.7 MB]
- Kingston upon Thames [16.1 MB]
- Kirklees [69.3 MB]
- Knowsley [19.1 MB]
- Lambeth [25.7 MB]
- Lancaster [33.6 MB]
- Leeds [111.4 MB]
- Leicester [34.3 MB]
- Lewes [21.2 MB]
- Lewisham [26 MB]
- Lichfield [21.9 MB]
- Lincoln [10.9 MB]
- Liverpool [55.2 MB]
- Luton [19.2 MB]
- Maidstone [28.4 MB]
- Maldon [24.7 MB]
- Malvern Hills [30 MB]
- Manchester [57.3 MB]
- Mansfield [15.6 MB]
- Medway [35.3 MB]
- Melton [15.9 MB]
- Mendip [35.7 MB]
- Merthyr Tydfil [10.3 MB]
- Merton [18.9 MB]
- Mid Devon [35.8 MB]
- Mid Suffolk [37.5 MB]
- Mid Sussex [27 MB]
- Middlesbrough [17.1 MB]
- Milton Keynes [35.7 MB]
- Mole Valley [19.7 MB]
- Monmouthshire [38.1 MB]
- Neath Port Talbot [31.8 MB]
- New Forest [43.5 MB]
- Newark and Sherwood [29.8 MB]
- Newcastle upon Tyne [34.3 MB]
- Newcastle-under-Lyme [21.8 MB]
- Newham [21.8 MB]
- Newport [23.5 MB]
- North Devon [39.9 MB]
- North Dorset [27.6 MB]
- North East Derbyshire [24.2 MB]
- North East Lincolnshire [22.1 MB]
- North Hertfordshire [22.2 MB]
- North Kesteven [26.2 MB]
- North Lincolnshire [30.1 MB]
- North Norfolk [43.1 MB]
- North Somerset [41.4 MB]
- North Tyneside [26.4 MB]
- North Warwickshire [16.2 MB]
- North West Leicestershire [21.7 MB]
- Northampton [24.8 MB]
- Northumberland [113 MB]
- Norwich [16.1 MB]
- Nottingham [34.9 MB]
- Nuneaton and Bedworth [16.5 MB]
- Oadby and Wigston [7.8 MB]
- Oldham [30.4 MB]
- Oxford [16.7 MB]
- Pembrokeshire [73.5 MB]
- Pendle [15.1 MB]
- Peterborough [24.9 MB]
- Plymouth [34.3 MB]
- Poole [20.3 MB]
- Portsmouth [19.4 MB]
- Powys [107.3 MB]
- Preston [19.2 MB]
- Purbeck [18.1 MB]
- Reading [17.4 MB]
- Redbridge [24.9 MB]
- Redcar and Cleveland [22.8 MB]
- Redditch [10.4 MB]
- Reigate and Banstead [21.2 MB]
- Rhondda Cynon Taf [44.1 MB]
- Ribble Valley [21.1 MB]
- Richmond upon Thames [21.3 MB]
- Richmondshire [25.5 MB]
- Rochdale [31.2 MB]
- Rochford [15.3 MB]
- Rossendale [13.7 MB]
- Rother [27.7 MB]
- Rotherham [41.9 MB]
- Rugby [20.8 MB]
- Runnymede [12.6 MB]
- Rushcliffe [23.5 MB]
- Rushmoor [11.6 MB]
- Rutland [17.3 MB]
- Ryedale [33.2 MB]
- Salford [30.1 MB]
- Sandwell [36.8 MB]
- Scarborough [30.3 MB]
- Sedgemoor [30.8 MB]
- Sefton [37.5 MB]
- Selby [26 MB]
- Sevenoaks [25.8 MB]
- Sheffield [74 MB]
- Shepway [21 MB]
- Shropshire [126.4 MB]
- Slough [12.7 MB]
- Solihull [29.3 MB]
- South Bucks [14.4 MB]
- South Cambridgeshire [40.7 MB]
- South Derbyshire [22.1 MB]
- South Gloucestershire [46.6 MB]
- South Hams [42.2 MB]
- South Holland [23.4 MB]
- South Kesteven [32.7 MB]
- South Lakeland [48.8 MB]
- South Norfolk [41.8 MB]
- South Northamptonshire [32.7 MB]
- South Oxfordshire [36.5 MB]
- South Ribble [17.7 MB]
- South Somerset [54.2 MB]
- South Staffordshire [24.7 MB]
- South Tyneside [19.4 MB]
- Southampton [26.7 MB]
- Southend-on-Sea [17.7 MB]
- Southwark [24.1 MB]
- Spelthorne [12.5 MB]
- St Albans [20.5 MB]
- St Edmundsbury [31.7 MB]
- St. Helens [25 MB]
- Stafford [33.2 MB]
- Staffordshire Moorlands [29.4 MB]
- Stevenage [9.8 MB]
- Stockport [41 MB]
- Stockton-on-Tees [30.4 MB]
- Stoke-on-Trent [36.7 MB]
- Stratford-on-Avon [47.1 MB]
- Stroud [33.1 MB]
- Suffolk Coastal [45.6 MB]
- Sunderland [38.9 MB]
- Surrey Heath [13.9 MB]
- Sutton [20.7 MB]
- Swale [26.8 MB]
- Swansea [48.9 MB]
- Swindon [29.8 MB]
- Tameside [31.8 MB]
- Tamworth [9.1 MB]
- Tandridge [17.5 MB]
- Taunton Deane [27.9 MB]
- Teignbridge [35.9 MB]
- Telford and Wrekin [29.1 MB]
- Tendring [34.8 MB]
- Test Valley [27.6 MB]
- Tewkesbury [22.8 MB]
- Thanet [18.5 MB]
- The Vale of Glamorgan [23 MB]
- Three Rivers [12.6 MB]
- Thurrock [21.3 MB]
- Tonbridge and Malling [24.5 MB]
- Torbay [22.1 MB]
- Torfaen [16.1 MB]
- Torridge [36.6 MB]
- Tower Hamlets [19.3 MB]
- Trafford [30.1 MB]
- Tunbridge Wells [25 MB]
- Uttlesford [26.9 MB]
- Vale of White Horse [31.4 MB]
- Wakefield [54.1 MB]
- Walsall [33.3 MB]
- Waltham Forest [21.1 MB]
- Wandsworth [25.8 MB]
- Warrington [29.3 MB]
- Warwick [24.9 MB]
- Watford [9 MB]
- Waveney [25.2 MB]
- Waverley [30.9 MB]
- Wealden [51.5 MB]
- Wellingborough [13.3 MB]
- Welwyn Hatfield [15.9 MB]
- West Berkshire [34 MB]
- West Devon [30.1 MB]
- West Dorset [43.7 MB]
- West Lancashire [23.4 MB]
- West Lindsey [27.2 MB]
- West Oxfordshire [34.9 MB]
- West Somerset [16.8 MB]
- Westminster [19.7 MB]
- Weymouth and Portland [10.2 MB]
- Wigan [46.7 MB]
- Wiltshire [143.8 MB]
- Winchester [30.3 MB]
- Windsor and Maidenhead [22.9 MB]
- Wirral [44.4 MB]
- Woking [14.6 MB]
- Wokingham [24.4 MB]
- Wolverhampton [30.9 MB]
- Worcester [13.4 MB]
- Worthing [12.5 MB]
- Wrexham [32.5 MB]
- Wychavon [37.2 MB]
- Wycombe [30.7 MB]
- Wyre [22.1 MB]
- Wyre Forest [18.6 MB]
- York [29 MB]
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.