Previsualizar los datos de un recurso
preview_resource_dataPreview the first rows of an Ecuadorian open-data CKAN resource as a table, supporting CSV, JSON, Excel, ODS, and compressed CSV up to 5 MB before downloading. For DataStore, use query_resource_data.
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) |