Functions to read the OMOP CDM vocabulary files.
Functions to read the OMOP CDM vocabulary files.
(cdm-file-seq config dir)
Returns a sequence of maps containing the CDM vocabulary files in the specified directory.
Returns a sequence of maps containing the CDM vocabulary files in the specified directory.
(stream-batched-csv f
ch
{:keys [metadata parsers batch-size close?]
:or {metadata {} batch-size 5000 close? false}})
Stream the contents of CSV file 'f' in batches to the
clojure.core.async
channel 'ch'. Each batch is returned with the metadata
passed in supplemented with keys ':headers' and ':data'.
Stream the contents of CSV file 'f' in batches to the `clojure.core.async` channel 'ch'. Each batch is returned with the metadata passed in supplemented with keys ':headers' and ':data'. - :headers - a vector of CSV headings - :data - a sequence of vectors representing the CSV data
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close