(available-mlds-distributions)
(available-mlds-distributions packages)
(distribution id)
(distribution id local)
Returns the distribution with the given identifier. Avoids network calls for locally known distributions, but checks online providers if not found.
Returns the distribution with the given identifier. Avoids network calls for locally known distributions, but checks online providers if not found.
(download nm params)
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 map of 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-mlds package-id {:keys [username password release-date]})
Download the MLDS package specified.
Download the MLDS package specified.
(download-from-trud item-identifier
{:keys [api-key cache-dir progress release-date]})
Download an item from TRUD Parameters:
Download an item from TRUD Parameters: - item-identifier : item wanted, (e.g. 101) - 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") :progress : print progress? :release-date : (optional) an ISO 8601 date e.g. "2022-02-03" Returns TRUD metadata about the item specified. See com.eldrix.trud.core/get-latest for information about return value.
(download-mlds-release-file username
password-file
{url :clientDownloadUrl label :label})
Download an MLDS release file
Download an MLDS release file
(mlds-packages)
Return all MLDS packages for all members.
Return all MLDS packages for all members.
(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