(download nm parameters)
Download the named distribution. Parameters:
The parameters will depend on the exact nature of the provider. Returns the java.nio.file.Path of the directory containing unzipped files.
Download the named distribution. Parameters: - nm : name of the provider e.g. "uk.nhs/sct-clinical" - parameters : a sequence of key value pairs with optional parameters. The parameters will depend on the exact nature of the provider. Returns the java.nio.file.Path of the directory containing unzipped files.
(download-from-trud item-identifier {:keys [api-key cache-dir]})
Download an item from TRUD Parameters:
Download an item from TRUD Parameters: - item-identifier : item wanted, (e.g. 221) - config: a map containing: :api-key : path to file containing TRUD api-key (e.g."/var/hermes/api-key.txt") :cache-dir : TRUD download cache directory (e.g. "/tmp/trud". Returns TRUD metadata about the item specified. See com.eldrix.trud.core/get-latest for information about return value.
(print-providers)
Placeholder for a more sophisticated future method of printing available providers.
Placeholder for a more sophisticated future method of printing available providers.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close