This data as json, CSV (advanced)
fellowship
id | name ▲ | description | location | url | fellowship | followers_count | created_at | verified | screen_name | |
---|---|---|---|---|---|---|---|---|---|---|
19138916 | Zeba Khan | Librarian's daughter | Caregiver (again) | Race, religion, identity politics | Fellow @JSKstanford | former @theopedproject | she/her | Palo Alto, CA | https://twitter.com/zebakhan | jsk-fellows-2018 | 4140 | 2009-01-18T07:16:21+00:00 | 0 | zebakhan | |
19152977 | Farai Chideya | Creator/Host "Our Body Politic," about power and Black women/all women of color | NYC and Globally | http://farai.com/our-body-politic | https://twitter.com/farai | jsk-fellows2002 | 44762 | 2009-01-18T18:36:51+00:00 | 1 | farai |
JSON shape: default, array, newline-delimited
CREATE VIEW jsk_fellows AS select users.id, users.name, users.description, users.location, users.url, 'https://twitter.com/' || users.screen_name as twitter, group_concat(lists.slug) as fellowship, users.followers_count, users.created_at, users.verified, users.screen_name from users join list_members on list_members.user = users.id join lists on list_members.list = lists.id where lists.slug like 'jsk-fellows%' and lists.slug not like '%projects' group by users.id;