Previsualizar los datos de un recurso
preview_resource_dataPreview the first rows of a CKAN resource as a table to inspect CSV, JSON, Excel, ODS, or zipped CSV data (up to 5 MB). For DataStore resources, query data instead.
Instructions
First rows of a CKAN resource as a table: CSV/TSV, JSON/GeoJSON, XLS/XLSX/XLSB, ODS, and ZIP/tar.gz wrapping a CSV. Max 5 MB; for DataStore resources prefer query_resource_data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | Number of data rows to preview (default: 20, max: 100) | |
| format | No | text summary (default) or json structured result. | text |
| source | No | CKAN portal; nacional (default), cuenca, latacunga or iadb. | nacional |
| resource_id | Yes | The resource UUID (get it from list_dataset_resources) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||