Reading and writing comma separated values.
Reading and writing comma separated values.
(read-csv input & options)
Reads CSV-data from input (String or java.io.Reader) into a lazy sequence of vectors.
Valid options are :separator (default ,) :quote (default ")
Reads CSV-data from input (String or java.io.Reader) into a lazy sequence of vectors. Valid options are :separator (default \,) :quote (default \")
(read-csv-from input sep escape quote)
(write-csv writer data & options)
Writes data to writer in CSV-format.
Valid options are :separator (Default ,) :escape (A charater used to escape quotes inside cells. Defaults to ".) :quote (Default ") :quote? (A predicate function which determines if a string should be quoted. Defaults to quoting only when necessary.) :newline (:lf (default) or :cr+lf)
Writes data to writer in CSV-format. Valid options are :separator (Default \,) :escape (A charater used to escape quotes inside cells. Defaults to \".) :quote (Default \") :quote? (A predicate function which determines if a string should be quoted. Defaults to quoting only when necessary.) :newline (:lf (default) or :cr+lf)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close