query_dataset
Retrieve real data from open datasets with filters, free-text search, and pagination.
Instructions
Query real data from a dataset. Check instructions for featured dataset_ids. For municipal data, use filters: {"NOM_ENS": "Ajuntament de X"} with aoc:ge-* datasets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset_id | Yes | Dataset ID (e.g., 'generalitat:gn9e-3qhr' for reservoirs, 'aoc:ge-ge-cost-efectiu-serveis-minhap' for municipal costs) | |
| filters | No | Key-value filters (e.g., {"ciutat": "Barcelona"}) | |
| search | No | Free text search within dataset data | |
| limit | No | Rows to return (default: 20, max: 100) | |
| offset | No | Offset for pagination |