       (conj! target x)
       (recur (conj! target x) (first xs) (rest xs)))))
 
-(def visualization-table
-  {:bgt {:wegdeel$kruinlijn "kruinlijn"}})
-
-(defn visualization [dataset collection]
-  (let [k-collection (keyword collection)
-        k-dataset (keyword dataset)]
-    (or (get-in visualization-table [k-dataset k-collection] collection))))
 
 (defn do-visualization? [options] 
   (if (some #{"visualization"} options) true))


(defn- execute-update-sql [db dataset collection columns update-vals]
  (try
    (let [sql (gs-update-sql dataset (visualization dataset collection) (map name columns))]
      (j/execute! db (cons sql update-vals) :multi? true :transaction? false))
    (catch java.sql.SQLException e
      (log/with-logs ['pdok.featured.projectors :error :error] (j/print-sql-exception-chain e)))))

    attributes))

(defn- gs-add-attribute [db dataset collection attribute-name attribute-type]
  (let [table collection]
    (try
      (pg/add-column db dataset table attribute-name attribute-type)
      (catch java.sql.SQLException e
