Query
queryRun a Socrata SoQL query against a US DOT Open Data dataset by resource_id (e.g. "4zfz-amsd"). Filter with where/select/group/order (SoQL clauses, without the leading $) plus limit/offset. Returns matching rows as JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | SoQL $group column(s). | |
| limit | No | Max rows (default Socrata 1000). | |
| order | No | SoQL $order, e.g. "date DESC". | |
| where | No | SoQL $where filter, e.g. "year >= 2020 AND status = 'Active'". | |
| offset | No | Pagination offset. | |
| select | No | SoQL $select, e.g. "name, count(*) AS n". | |
| resource_id | Yes | Dataset id, e.g. "4zfz-amsd" (from datasets). |