Created
August 25, 2016 12:54
-
-
Save seb231/1bb3b9e9fccba67f3a3f0a1a420ad6d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(map (fn [year] (map (fn [age] (vec [gss-code age year (reduce + ($ :popn (-> (query-dataset foo {:year {:$eq year}}) | |
(query-dataset {:age age}) | |
)))])) age-range)) year-range) | |
(def age-range (range 0 91)) | |
(def year-range (range 2001 2041)) | |
(def gss-code "E06000023") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment