read_stored_data
Read stored Korean statistical data with optional chunking for large datasets.
Instructions
저장된 원본 데이터를 읽습니다.
대용량 데이터는 청크 단위로 읽을 수 있습니다. chunk_index를 지정하지 않으면 전체 데이터를 반환합니다.
Args: data_id: 데이터 ID (list_stored_data 또는 get_statistics_data에서 확인) chunk_index: 청크 인덱스 (0부터 시작, 선택) chunk_size: 청크 크기 (기본 50건)
Returns: { "data_id": "20231213_abc12345", "meta": { "tbl_id": "DT_1B040A3", "tbl_nm": "행정구역별 인구수", "record_count": 1000 }, "data": [...], # 요청한 데이터 "chunk_info": { # chunk_index 지정 시 "chunk_index": 0, "chunk_size": 50, "total_chunks": 20, "has_more": True } }
Example: # 전체 데이터 읽기 >>> read_stored_data("20231213_abc12345")
# 청크별로 읽기
>>> read_stored_data("20231213_abc12345", chunk_index=0)
>>> read_stored_data("20231213_abc12345", chunk_index=1)Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_id | Yes | ||
| chunk_size | No | ||
| chunk_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||