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.1
Leiningen dependency information:
Maven dependency information:
<dependency> <groupId>org.clojure</groupId> <artifactId>data.csv</artifactId> <version>0.1.1</version> </dependency>
(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.
Release 0.1.1 on 2012-02-14
- Added qoute? keyword param to write-csv
- Code cleanup
Release 0.1.0 on 2011-08-26
- Initial release.
Copyright and License
Copyright (c) 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.