                 :groupid (:groupid member)
                 :timetree (as-timetree (:joined member))
                 :socialmedia social-media
-                :topics (map :id (:topics member))
                 }]
     (tx/statement query params)))
 

    (timed #(create-time-tree 2011 2014) "time-tree")
    (timed #(import-topics member-files) "topics")
    (timed #(db/tx-api create-group (load-json "data/groups-2014-05-14.json")) "groups")
    (doseq [file member-files]
      (timed #(db/tx-api create-member
                         (map (fn [data] ( merge {:groupid (extract-group-id file)} data))
                              (load-json (.getPath file))))
             (str "members of " (extract-group-id file))))
    (timed #(db/tx-api create-event  (load-json "data/events-2014-05-13.json")) "events")
    (timed #(db/tx-api create-rsvp (rsvps-with-responses (load-json "data/rsvps-2014-05-13.json"))) "rsvps")
    (timed #(link-credo-venues) "credo venues")))

                    MATCH (year:Year {year: {timetree}.year }),
                          (year)-[:HAS_MONTH]->(month {month: {timetree}.month }),
                          (month)-[:HAS_DAY]->(day {day: {timetree}.day })
                    CREATE (m)-[:JOINED_ON]->(day) "
                    (if (:twitter social-media)
                      "MERGE (twitter:Twitter {id: {socialmedia}.twitter.identifier })
                       MERGE (p)-[:HAS_TWITTER_ACCOUNT]->(twitter) "
