Detectar patrón de series periódicas en un dataset
detect_series_patternCompares the two newest periodic files in a dataset to determine whether its series is cumulative (newest file suffices) or incremental (combine all files).
Instructions
Tell whether a dataset's periodic files are cumulative (newest file suffices) or incremental (combine all) by comparing period values in the two newest files. Heuristic over up to 500 rows each.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dataset_id": "<dataset_id>"
},
"name": "detect_series_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | text summary (default) or json structured result. | text |
| source | No | CKAN portal; nacional (default), cuenca, latacunga or iadb. | nacional |
| dataset_id | Yes | The dataset ID or slug | |
| resource_id_new | No | Optional -- newer resource ID to compare (auto-detected from the dataset's periodic-name group if omitted) | |
| resource_id_old | No | Optional -- older resource ID to compare (auto-detected if omitted). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | ||
| metadatos | Yes | ||
| url_fuente | No |