A thin Clojure wrapper around a small part of Apache POI for reading .xlsx files.
For a more complete implementation, see the incanter-excel module from the Incanter project.
Add ontodev/excel to your Leiningen project dependencies:
[ontodev/excel "0.3.0"]
Then require the namespace:
(ns your.project
(:require [ontodev.excel :as xls]))
Use it to load a workbook and read sheets:
(let [workbook (xls/load-workbook "test.xlsx")
sheet (xls/read-sheet workbook "Sheet1")]
(println "Sheet1:" (count sheet) (first sheet)))
Copyright © 2014, James A. Overton
Distributed under the Simplified BSD License: http://opensource.org/licenses/BSD-2-Clause
Can you improve this documentation? These fine people already did:
James A. Overton, ejschoen & Eric SchoenEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |