Coder Social home page Coder Social logo

addressbasepremiumcode's Introduction

These files implement the instructions in the getting started guide in SQL rather than having to follow through the instructions on pgAdmin.

You will need to update references to your database and the place on your disk where you're storing the .csvs

There is also some SQL for creating full single line address fields from the data.

Run in the following order:

  1. Run AddressBasePremium_RecordSplitter.py (this is an unaltered copy of the script provided by OS)
  2. Run AddressBasePremium delete final newline.py on your csvs to get rid of the final newline as advised in the getting started guide
  3. Run PostgreSQL_AddressBase_Premium_CreateTable.sql. You will need to update the file paths to the location of the csv files on your machine.

If you want a useful table of all geographic (i.e. non delivery point) addresses, use create_useful_table.sql

If you want a useful table of all delivery point addresses, use create_delivery_point_useful_table.sql

If you want a table of all addresses e.g. for the purpose of address matching use create_all_addresses_table_and_frequencies.sql

Use at your own risk - I welcome any corrections.

addressbasepremiumcode's People

Contributors

robinl avatar

Watchers

James Cloos avatar

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.