DMHAS Primary Drug of Use (Mental Health/Substance Use)
Unduplicated Count of Clients by Primary Drug of Use Divided by Program Type
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 \"ct-gov/dmhas-primary-drug-of-use-mental-healthsubstance-ugwb-6byi\".\"dmhas_primary_drug_of_use_mental_healthsubstance\"
LIMIT 100
"}
EOF
See the Splitgraph documentation
for more information.