Get Dataset
get_datasetFetch up to 1000 rows from a CDC Socrata dataset by its four-by-four dataset ID (e.g., "9mfq-cb36"). Returns row array with all columns plus column names extracted from the first row. Use search_datasets first to find the dataset ID.
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": "9mfq-cb36"
},
"name": "get_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Socrata dataset ID in four-by-four format (e.g., "9mfq-cb36") | |
| limit | No | Number of rows to return (default 50, max 1000) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Data rows with all columns as key-value pairs | |
| columns | Yes | Column names from the dataset | |
| row_count | Yes | Number of rows returned | |
| dataset_id | Yes | Socrata dataset ID |