Liking cljdoc? Tell your friends :D

nd-db.csv


col-str->key-vecclj

(col-str->key-vec col-split-pattern col-str)

Converts a CSV key column string to a vector of keywords. Trims and lower-cases before converting to keyword.

Converts a CSV key column string to a vector of keywords.
Trims and lower-cases before converting to keyword.
sourceraw docstring

csv-row->dataclj

(csv-row->data &
               {:keys [cols col-separator col-parser]
                :or {col-parser default-col-parser}})

Closes over the header, returning a function that takes a row and returns a resulting map with keyword keys from header.

optional param :col-parser is a function that is used to parse individual columns - defaults to default-col-parser.

Closes over the header, returning a function that takes a row and
returns a resulting map with keyword keys from header.

optional param :col-parser is a function that is used to parse
individual columns - defaults to default-col-parser.
sourceraw docstring

default-col-parserclj

(default-col-parser col-str)
source

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

× close