             [clojure.set :refer [rename-keys]]
             [clj-simple-chart.ncs.resource :as resource]
             [clj-simple-chart.ncs.reserve :as reserve]
+            [clj-simple-chart.ncs.production-cumulative-yearly-fields :as production]
             [clojure.test :as test]))
 
 (def url "http://factpages.npd.no/ReportServer?/FactPages/TableView/discovery&rs:Command=Render&rc:Toolbar=false&rc:Parameters=f&rs:Format=CSV&Top100=false&IpAddress=81.191.112.135&CultureCode=en")

                                (distinct)
                                (sort)
                                (vec)))

                 (sort-by :name)
                 (vec)))


(def start-year (->> parsed
                     (map :year)
                     (apply min)))

(def producing-field-names (->> parsed
                                (filter #(= :producing (:status %)))
                                (map :name)
