Code Monkey home page Code Monkey logo

abprem_extract's Introduction

Project Aim

The aim of this project is to be able to extract all the Delivery Point Addressess that have been created or updated recently. These are extracted into a csv file.

Step 1

Download AddressBase Premium or Addressbase Premium Islands from the OS Data Hub.

Step 2

Run AddressBasePremium_RecordSplitter_v3_7.py. This will extract all of the data into a single file for each of the related tables.

Note: This script is a direct copy from Ordnance Survey's repo which can be found here https://github.com/OrdnanceSurvey/AddressBase)

Step 3

Run latest_dpa.py. This reads the 'ID28_DPA_Records.csv' file produced by step 2 and copies any records that meet the criteria below to a new file called 'DPA_latest.csv'.

Selection criteria: process_date >= '01/01/2021' OR start_date >= '01/01/2021' OR update_date >= '01/01/2021' OR entry_date >= '01/01/2021'

Details on the AddressBasde Premium scehma can be found here https://www.ordnancesurvey.co.uk/documents/product-support/tech-spec/addressbase-premium-technical-specification.pdf

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.