sample
Fetch the first rows of a Socrata dataset to preview real values. Useful for quick data inspection before full analysis.
Instructions
Fetch the first n rows of a dataset (n capped at 100).
Args: domain: Portal hostname, e.g. "data.seattle.gov". dataset_id: Socrata 4x4 id, e.g. "tazs-3rd5". n: Number of rows (default 10, max 100).
Returns: {rows, row_count, note}. Rows are in :id order — a peek at real values, not a random sample.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| domain | Yes | ||
| dataset_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||