[ea2224]: / inst / queries / cohortSummary.xq

Download this file

7 lines (6 with data), 159 Bytes

1
2
3
4
5
6
; cohortSummary
(fn [exclude]
(query {:select [:cohort [:%count.* :count]]
:from [:dataset]
:where [:not [:in :type exclude]]
:group-by [:cohort]}))