Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Load AddressBase into sqlite3 database and explore it using datasette

Data sources

  1. Order a copy of OS AddressBase Premium.
  2. Download the CSV version and save it as cache/AB76GB_CSV.zip
  3. Download the CSV header files and save them as cache/addressbase-premium-header-files.zip
  4. Download the Classification codes and save the as cache/addressbase-product-classification-scheme.zip

Building the guidance and database

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

$ make init
$ make

Note that building the database and indexes can take more than an hour on an modern laptop. 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

Load AddressBase Premium into datasette

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages