blob: 86e28caa28ee70efe3a2060a64585504b537d875 [file] [log] [blame]
Till Westmannfd733ee2014-07-10 00:57:37 -07001use dataverse TinySocial;
2
3drop function unemployed@0 if exists;
4
5create function unemployed() {
6 for $msu in dataset MugshotUsers
7 where (every $e in $msu.employment
8 satisfies not(is-null($e.end-date)))
9 return {
10 "name" : $msu.name,
11 "address" : $msu.address
12 }
13};