(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close