Liking cljdoc? Tell your friends :D

com.eldrix.nhspd.postcode

UK postcode normalization and formatting.

UK postcode normalization and formatting.
raw docstring

distance-betweenclj

(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:

  • pc1d - first postcode NHSPD data (map)
  • pc2d - second postcode NHSPD data (map)
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)
sourceraw docstring

egifclj

(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.
sourceraw docstring

normalizeclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close