This data as json, CSV (advanced)
fellowship
id ▲ | name | description | location | url | fellowship | followers_count | created_at | verified | screen_name | |
---|---|---|---|---|---|---|---|---|---|---|
27981533 | Elaine Ray | Journalist, writer, family historian, | Stanford, CA | http://www.ebenezerray.com | https://twitter.com/theparagrapher | jsk-fellows1996 | 138 | 2009-03-31T22:31:19+00:00 | 0 | theparagrapher |
27921386 | alexa schirtzinger | product marketing @box | former @google @salesforce @JSKStanford @columbiajourn | usual disclaimers | San Francisco | https://twitter.com/aschirtz | jsk-fellows2014 | 2427 | 2009-03-31T17:46:59+00:00 | 0 | aschirtz |
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;