(append-newline v)
Concatenates a newline to the end of v
Concatenates a newline to the end of `v`
(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`
(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
(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
(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
(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`
(surround-with-quotes v)
Concatenates quotation marks around v
Concatenates quotation marks around `v`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close