clojure/data.csv

CSV reader/writer to/from Clojure data structures.

Follows the RFC4180 specification but is more relaxed.

Releases and Dependency Information

Latest stable release: 0.1.2

  • All Released Versions

  • Development Snapshot Versions

Leiningen dependency information:

[org.clojure/data.csv "0.1.2"]

Maven dependency information:


  org.clojure
  data.csv
  0.1.2

Example Usage

(require '[clojure.data.csv :as csv]
         '[clojure.java.io :as io])

(with-open [in-file (io/reader "in-file.csv")]
  (doall
    (csv/read-csv in-file)))

(with-open [out-file (io/writer "out-file.csv")]
  (csv/write-csv out-file
                 [["abc" "def"]
                  ["ghi" "jkl"]]))

Refer to the API documentation for additional information.

Developer Information

  • GitHub project

  • Bug Tracker

  • Continuous Integration

  • Compatibility Test Matrix

  • Release 0.1.2 on 2012-02-24

    • Fixed keyword params for write-csv
  • Release 0.1.1 on 2012-02-14

    • Added quote? keyword param to write-csv
    • Code cleanup
  • Release 0.1.0 on 2011-08-26

Copyright © Jonas Enlund, 2012. All rights reserved. The use and distribution terms for this software are covered by the Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which can be found in the file epl-v10.html at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.