Get Rows
get_rowsRead actual rows from a HealthData.gov dataset by its Socrata 4x4 id. Optional SoQL where (e.g. "state = 'CA'") and order (e.g. "date DESC"). Use get_dataset first to see the column names. This returns the DATA, not a download link.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "g62h-syeh",
"limit": 5
},
"name": "get_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Socrata 4x4, e.g. "g62h-syeh". | |
| limit | No | Rows to return, 1-1000 (default 20). | |
| order | No | SoQL ordering, e.g. "date DESC". | |
| where | No | SoQL filter, e.g. "state = 'CA'". | |
| offset | No | Skip this many rows (default 0). |