From 3d4d2d1a3c650320d204969fc273d1f79e0053b7 Mon Sep 17 00:00:00 2001 From: Kat Date: Wed, 15 Dec 2021 10:39:35 +0000 Subject: [PATCH] Add ADR for inferring LA from postcode --- docs/adr/adr-013-inferring-la-from-postcode.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docs/adr/adr-013-inferring-la-from-postcode.md diff --git a/docs/adr/adr-013-inferring-la-from-postcode.md b/docs/adr/adr-013-inferring-la-from-postcode.md new file mode 100644 index 000000000..7c7df012e --- /dev/null +++ b/docs/adr/adr-013-inferring-la-from-postcode.md @@ -0,0 +1,12 @@ +### ADR - 012: Inferring LA from postcode + +We use ONS data to infer local authority from postcode in the property information section. +The Office for National Statistics (ONS) publishes the National Statistics +Postcode Lookup (NSPL) and ONS Postcode Directory (ONSPD) datasets, +which may be used to find a local authority district for a postcode when compiling statistics. + +We're using postcodesio API with postcodesio gem. +Postcodesio uses OS and ONS data which is updated as soon as new data becomes available. + +We are not using OS places API due to the lack of data. +Closest datapoint to LA in OS places api is ADMINISTRATIVE_AREA which does not always match with local authority.