BNS Stats
Statistical Information from the City's Building and Neighborhood Services Department (Codes, Building and Permits)
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 \"performance-franklintn-gov/bns-stats-5uvn-iiub\".\"bns_stats\"
LIMIT 100
"}
EOF
See the Splitgraph documentation
for more information.