 (defn export2csv
     [columns data]
     (data->csv (cons columns data)))
+
+(defn export2txt
+    [columns data]
+    (data->txt (cons columns data)))
 
 (defn export2json
     [columns data]

        :json  (export2json columns data)
        :edn   (export2edn columns data)
        :csv   (export2csv columns data)
        :txt   nil
        :xml   nil))


    (with-out-str
        (csv/write-csv *out* data)))

(defn data->txt
    "Convert/format any data to the plain text format. Items are separated by tabs."
    [data]
    (clojure.string/join "\n"
        (for [item data]
            (clojure.string/join "\t" item))))

(defn data->json
    "Convert/format any data to JSON format."
    [products]
