Liking cljdoc? Tell your friends :D

clj-suomi.codesets.postalcodes

Retrieve postal code data from Posti HTTP server.

Retrieve postal code data from Posti HTTP server.

- [Source](http://www.posti.fi/yritysasiakkaat/laheta/postinumeropalvelut/postinumerotiedostot.html)
- [Service description and terms](http://www.posti.fi/liitteet-yrityksille/ehdot/postinumeropalvelut-palvelukuvaus-ja-kayttoehdot.pdf)
raw docstring

->postalcodeclj

source

base-urlclj

source

date-formatterclj

source

find-latest-fileclj

(find-latest-file)

Finds a href to PCF_ file in the directory root.

Finds a href to PCF_ file in the directory root.
sourceraw docstring

languagesclj

source

load-postalcodesclj

(load-postalcodes)
(load-postalcodes {:keys [filename now?]})

Download postal code data from Posti HTTP and parse to Clojure maps.

Options:

  • :filename - (optional) Filename to download. By default check the server root for latest PCF_*.zip file. If you want to use specific version, provide path to file in arch folder.
Download postal code data from Posti HTTP and parse to Clojure maps.

Options:
- :filename - (optional) Filename to download. By default check the server root for latest PCF_*.zip file.
  If you want to use specific version, provide path to file in `arch` folder.
sourceraw docstring

posti-urlclj

(posti-url filename)
source

str->dateclj

(str->date s)

Parse date in format yyyyMMdd to LocalDate

Parse date in format `yyyyMMdd` to LocalDate
sourceraw docstring

typesclj

source

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

× close