             [clojure.data.json :as json]
             [monger.joda-time]
             [clojure.string :refer [split join]]
-            [taoensso.timbre :as timbre]
             [clojure.walk :as walk]
             [clojure.zip :as zip]
             [clj-time.core :as t]
             [clj-time.format :as f]
-            [clj-time.coerce :as c]
-            [clojure.pprint :refer [pprint]]
-            [clojure.java.shell :refer [sh]]
+            [clj-time.coerce :as c] [clj-time.periodic :as p] [clojure.pprint :refer [pprint]] [clojure.java.shell :refer [sh]]
             [opennlp.nlp :refer [make-tokenizer make-detokenizer]]
+            [incanter.core :refer :all]
+            [incanter.stats :refer :all]
+            [incanter.charts :refer :all]
             [ceres.collector :refer [db custom-formatter news-accounts store]])
  (:import org.bson.types.ObjectId))
 
-(timbre/refer-timbre)
 
 (defrecord Source [name articles])
 (defrecord Article [source tweet reactions])
 (defrecord Reaction [tweet reactions])
 
 
-#_(def tokenize (make-tokenizer "/home/konny/data/open-nlp/de-token.bin"))
+#_(def tokenize (make-tokenizer "data/de-token.bin"))
 
 ;; --- DATA MINING ---
 

      {:size counter
       :height max-path
       :users users
       :hashtags (vec (into #{} (map :text hashtags)))
       :delays delays}
      (recur
       (if (zip/node loc)

       (zip/next loc)))))

(defn compute-impact-forest [source]
  (let [source-origins (mc/find-maps @db "origins" {:source source})]
    (vec (pmap compute-impact-tree source-origins))))


