The Office for National Statistics and the Nation Record of Scotland provide population and shapefile data for the 2011 census. Where a 'Town' is an urban area with 10,000 or more inhabitants.
Once the dependencies to create the report are met run the script:
$ ./prepublish
This will download and create ESRI Shape
files in the shp
directory for all Towns as well as all locations in Great Britian, as well as a Leaflet
JavaScript visualisation using the Town data in a GeoJSON format.
These are environment and project dependencies.
For ease of use manage package python
packages dependencies with a local virtual environment venv
:
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ sudo apt install virtualenv
Digital boundaries and reference map data:
Source: Office for National Statistics licensed under the Open Government Licence v.3.0.
Source: National Records Scotland data (c) Crown copyright and database right 2020.
Contains OS data (c) Crown copyright and database right 2020.