Clj-suomi Api Documentation

Version: 0.1.0-SNAPSHOT

clj-suomi.codesets.postalcodes

Retrieve postal code data from Posti FTP server.

find-latest-file

(find-latest-file)

load-postalcodes

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

Download postal code data from Posti FTP 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.

str->date

(str->date s)

Parse date in format yyyyMMdd to LocalDate

url

(url filename)