blob: 86e28caa28ee70efe3a2060a64585504b537d875 [file] [log] [blame]
use dataverse TinySocial;
drop function unemployed@0 if exists;
create function unemployed() {
for $msu in dataset MugshotUsers
where (every $e in $msu.employment
satisfies not(is-null($e.end-date)))
return {
"name" : $msu.name,
"address" : $msu.address
}
};