 (ns semantic-csv.core
   "# Core API namespace"
   (:require [clojure.java.io :as io]
-            [clojure.data.csv :as csv]
+            [clojure-csv :as csv]
             [plumbing.core :as pc :refer [?>>]]))
 
 

;; You're welcome.


;; ## parse-csv

(defn parse
  "This function wraps together all of the various input processing capabilities into one, with options
  controlled by an opts hash with a heavy-handed/opinionated set of defaults:


        (?>> cast-fns (cast-cols cast-fns))))
  ; Use all defaults
  ([rows]
   (process {} rows)))

;; Using this function, the code we've been building above is reduced to the following:
;;
;;     (with-open [in-file (io/reader "test/test.csv")]
;;       (doall
;;         (process (csv/parse-csv in-file))))

;;


