I finally took a stab at this. Still tinkering but looking for feedback...
;; i is incanter.core
(defn view-as-html [incanter-dataset]
[:table {:border 0}
[:thead
[:tr
(for [field-name (i/col-names incanter-dataset)]
[:th field-name])]]
[:tbody
(for [r (second (second incanter-dataset))]
[:tr (for [k (i/col-names incanter-dataset) ]
[:td (str (k r))]
)])]])
does this look reasonable?
Cheers,
-A