Skip to content

digital-land/local-authority-addresses

Repository files navigation

How to find the local authority for an address

Guidance to help people building a government or other public service determine the local authority which an individual property or premises resides.

The guidance was informed by an analysis of addresses in England using a spatialite database which may be explored using the accompanying datasette server and Jupyter notebook.

Spatialite schema

Data sources

The following data sources are downloaded by the build process:

The proprietary AddressBase dataset, has to be ordered and downloaded manually from the OS data portal:

Building the guidance and database

We recommend working in virtual environment before installing the python dependencies:

$ make init
$ make

Downloading the data and building the database and indexes can take more than an hour on an modern laptop. To just build the guidance and content:

$ make docs

You can explore the data in a browser using datasette:

$ make serve

Licence

The software in this project is open source and covered by the LICENSE file.

Data from Office for National Statistics is licensed under the Open Government Licence v.3.0.

UPRNs and their locations are published here under the Open Government Licence v.3.0 as set out in the OS Open ID policy.

Postcode and other data from OS codepo and OS AddressBase requires the attribution:

  • Contains OS data © Crown copyright and database right 2020
  • Contains Royal Mail data © Royal Mail copyright and Database right 2020
  • Contains National Statistics data © Crown copyright and database right 2020

Otherwise all content and data in this repository is © Crown copyright and available under the terms of the Open Government 3.0 licence.

About

Analysis and guidance on finding a local authority for an address

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages