Support for the NHS Postcode directory (NHSPD).
Support for the NHS Postcode directory (NHSPD).
(-main & args)
The NHSPD service provides facilities for managing the NHS postcode directory.
The NHSPD service provides facilities for managing the NHS postcode directory.
(fetch-postcode this pc)
Fetch the raw data from NHSPD.
Fetch the raw data from NHSPD.
(fetch-wgs84 this pc)
Fetch grid coordinates (WGS84 lat/long) for a postcode.
Fetch grid coordinates (WGS84 lat/long) for a postcode.
(open-index dir)
Open an NHSPD index from the directory specified.
Wrap in with-open
to close the index when done.
Open an NHSPD index from the directory specified. Wrap in `with-open` to close the index when done.
(write-index)
(write-index dir)
(write-index dir in)
Write an NHSPD file-based database.
The NHSPD will be automatically downloaded or the release files from in
will be used if given.
Parameters:
Write an NHSPD file-based database. The NHSPD will be automatically downloaded or the release files from `in` will be used if given. Parameters: - dir : directory in which to build the index - in : java.io.File or filename of the NHSPD zip file.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close