compare_statistics
Compare statistical data from KOSIS across different time periods, regions, or items to analyze trends and variations.
Instructions
여러 지역, 시점, 또는 항목의 통계 데이터를 비교합니다.
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": {
"orgId": "<orgId>",
"tableId": "<tableId>",
"compareType": "<compareType>",
"periodType": "<periodType>"
},
"name": "compare_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objL1 | No | 분류1 코드 | |
| objL2 | No | 분류2 코드 (일부 테이블에서 필요) | |
| orgId | Yes | 기관 ID | |
| itemId | No | 항목 ID | |
| periods | No | 비교할 시점들 (예: ["2022", "2023", "2024"]) | |
| tableId | Yes | 통계표 ID | |
| periodType | Yes | 주기: Y(년), M(월), Q(분기) | |
| compareType | Yes | 비교 유형: period(시점 비교), item(항목 비교) |