Liking cljdoc? Tell your friends :D

csv2edn.csv2edn

Conversion from CVS to EDN.

Conversion from CVS to EDN.
raw docstring

*options*clj

Defaults for options used in conversion (essentially, :separator is ,, much as you'd expect.

Defaults for options used in conversion (essentially, `:separator` is `,`,
much as you'd expect.
sourceraw docstring

csv->ednclj

(csv->edn from)
(csv->edn from to)
(csv->edn from to sep)

Read a CSV stream from the reader or filename from, and write corresponding EDN to the reader or filname to, using the separator character sep. Assume column headers are in row 1. If from is nil or not supplied, do not write. It sep is not supplied, take the :separator value from *options*. Returns a (possibly-lazy) sequence of maps.

Read a CSV stream from the reader or filename `from`, and write corresponding
EDN to the reader or filname `to`, using the separator character `sep`. Assume
column headers are in row 1. If `from` is `nil` or not supplied, do not write.
It `sep` is not supplied, take the `:separator` value from `*options*`. Returns
a (possibly-lazy) sequence of maps.
sourceraw docstring

csv->jsonclj

(csv->json from)
(csv->json from to)
(csv->json from to sep)

Read a CSV stream from the reader or filename from, and write corresponding JSON to the reader or filname to, using the separator character sep. Assume column headers are in row 1. If from is nil or not supplied, do not write. It sep is not supplied, take the :separator value from *options*. Returns a (possibly-lazy) sequence of maps.

Read a CSV stream from the reader or filename `from`, and write corresponding
JSON to the reader or filname `to`, using the separator character `sep`. Assume
column headers are in row 1. If `from` is `nil` or not supplied, do not write.
It `sep` is not supplied, take the `:separator` value from `*options*`. Returns
a (possibly-lazy) sequence of maps.
sourceraw docstring

maybe-readclj

(maybe-read s)

If a string represents an integer or real, we'd really like to have that integer or real in our data rather than a string representation of it.

If a string represents an integer or real, we'd really like to have that
integer or real in our data rather than a string representation of it.
sourceraw docstring

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

× close