Closed Cj-Malone closed 3 years ago
You may want to have a look at the approach I used to validate FHRS postcodes in FHODOT. See https://github.com/gregrs-uk/fhodot/blob/39e1d2dad079405de66dae4a378a8ea9dc35c518/fhodot/models/fhrs.py#L23-L28 and https://github.com/gregrs-uk/fhodot/blob/39e1d2dad079405de66dae4a378a8ea9dc35c518/fhodot/models/fhrs.py#L170-L198
Fixed in e5421099c0fcc439198ef131f3a5fde308d7cae3 and a42c0fe832702921a0609b3abf04b4be7490f927. The "O" in the inwards code is a nice catch. Thank you.
Currently the some of the postcodes are "malformed", with missing spaces, or
lowercase. I want to format existing data and make sure new data is formatted.