specter

Latest version: 1.1.3
nathanmarz 2018-12-21T00:00:37.025400Z

@idiomancy you could use walker

nathanmarz 2018-12-21T00:00:59.025800Z

(defn target? [o] (and (map? o) (= 1 (count o)) (#{:S :N} (-> o first first))))
(transform (walker target?) #(-> % last last) data)

idiomancy 2018-12-21T00:02:37.026800Z

hahaha, you bloody wizard you! let me try it out

1
nathanmarz 2018-12-21T00:05:23.027100Z

using cond-path you could do it more precisely

nathanmarz 2018-12-21T00:05:27.027300Z

definitely an annoying data format