UK postcode normalization and formatting.
UK postcode normalization and formatting.
(distance-between pcd1 pcd2)
Calculates crude distance between two postcodes, determined by the square root of the sum of the square of the difference in grid coordinates (Pythagoras), result in metres. Parameters:
Calculates crude distance between two postcodes, determined by the square root of the sum of the square of the difference in grid coordinates (Pythagoras), result in metres. Parameters: - pc1d - first postcode NHSPD data (map) - pc2d - second postcode NHSPD data (map)
(egif pc)
Normalizes a postcode into uppercase with outward code and inward codes separated by a single space. This is the PCDS standard formatting.
Normalizes a postcode into uppercase with outward code and inward codes separated by a single space. This is the PCDS standard formatting.
(normalize pc)
Normalizes a postcode into uppercase 8-characters with left-aligned outward code and right-aligned inward code returning the original if normalization not possible. This is the PCD2 standard formatting.
Normalizes a postcode into uppercase 8-characters with left-aligned outward code and right-aligned inward code returning the original if normalization not possible. This is the PCD2 standard formatting.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close