Postcodes

Postcodes

I am looking for a list of every postcode prefix (e.g. SE1 xxx), broken down by police force.

I have a list of postcodes which I need to automatically categorise, for example using a lookup table.

Is this present in the data.police.uk data or elsewhere?

Comments

Postcodes by police force area

I don't think you can extract such a list directly from data.police.uk. (Though I could be wrong; I only use the downloads, not the API.)

However you should be able to produce a list of postcodes matched to police force areas yourself. There are several workable approaches but I think the following is simplest:

Download the data.police.uk data for all forces from here:

http://data.police.uk/data/

That will give you a list of the LSOAs (Lower Super Output Areas) in each police force area.

Then download the ONS Postcode Directory from here:

https://geoportal.statistics.gov.uk/geoportal/catalog/download/download.page

That will give you a list of all postcode units matched to LSOAs.

Combine the two to produce a list of postcode units matched to police force areas (via the common LSOA11 field).

Reduce that list to produce a list of postcode districts (the first half of the postcode unit) matched to police force areas. (You may find that some postcode districts cross police force boundaries, however.)

-- Owen Boswarva, 12/08/2013

 Flag as offensive 

Thank you very much, I'll

Thank you very much, I'll give that a go.

 Flag as offensive