Liking cljdoc? Tell your friends :D

csv.internal


append-newlineclj/s

(append-newline v)

Concatenates a newline to the end of v

Concatenates a newline to the end of `v`
raw docstring

create-headersclj/s

(create-headers col-of-maps order-by)

Creates a vector of headers from all the keys in every map in col-of-maps

Creates a vector of headers from all the keys in every map in `col-of-maps`
raw docstring

create-row-from-colclj/s

(create-row-from-col collection)

Creates a row for a csv from a collection, inserting commas between values and a newline at the end

Creates a row for a csv from a `collection`, inserting commas between values and a newline at the end
raw docstring

csvifyclj/s

(csvify value)

Takes a string, value, and conforms it to the RFC 4180 specification

Takes a string, `value`, and conforms it to the RFC 4180 specification
raw docstring

header-to-stringclj/s

(header-to-string key)

Converts header keyword key to a string with spaces for dashes an no leading colon

Converts header keyword `key` to a string with spaces for dashes an no leading colon
raw docstring

prepare-values-of-mapclj/s

(prepare-values-of-map headers val-fn-map item)

Takes a map, item, and prepares its values to be in a csv string while also filling in all missing fields according to the headers in the collection ,headers

Takes a map, `item`, and prepares its values to be in a csv string while also filling in all missing fields according to the headers in the collection ,`headers`
raw docstring

surround-with-quotesclj/s

(surround-with-quotes v)

Concatenates quotation marks around v

Concatenates quotation marks around `v`
raw docstring

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

× close