Liking cljdoc? Tell your friends :D

com.eldrix.iort.impl.vocabulary

Functions to read the OMOP CDM vocabulary files.

Functions to read the OMOP CDM vocabulary files. 
raw docstring

cdm-fileclj

(cdm-file {:keys [cdmModel] :as config} f)
source

cdm-file-seqclj

(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.
sourceraw docstring

csv-filename->table-nameclj

(csv-filename->table-name s)
source

import-cdm-fixturesclj

(import-cdm-fixtures conn config dir)
source

parse-rowclj

(parse-row parsers row)
source

parse-rowsclj

(parse-rows parsers rows)
source

stream-batched-csvclj

(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'.

  • :headers - a vector of CSV headings
  • :data - a sequence of vectors representing the CSV 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 
sourceraw docstring

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

× close