Open repository in Console
Readme
Updated 10 months ago
‧ Indexed 2 hours ago
Somerville Happiness Survey Responses
Every two years, the City of Somerville sends out a happiness survey to a random sample of Somerville residents. The survey asks residents to rate their personal happiness, wellbeing, and satisfaction with City services. This combined dataset includes the survey responses from 2011 to 2021. A data dictionary, reports, and survey instruments in multiple languages are attached.
Querying over HTTP
Splitgraph serves as an HTTP API that lets you run SQL queries directly on this data to power Web applications. For example:
curl https://data.splitgraph.com/sql/query/ddn \ -H "Content-Type: application/json" \ -d@-<<EOF {"sql": " SELECT * FROM \"somervillema-gov/somerville-happiness-survey-responses-bi8e-5vw8\".\"somerville_happiness_survey_responses\" LIMIT 100 "} EOF
See the Splitgraph documentation for more information.