Detectar patrón de series periódicas en un dataset
detect_series_patternDetermine if periodic dataset files are cumulative or incremental by comparing period values in the two newest files, so you know whether to use the latest file or combine all.
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.
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 |
|---|---|---|---|
No arguments | |||