# QueryKosisTimeSeriesData

### Function specification

```
QueryKosisTimeSeriesData(entity_id, category_id, item_code=None, freq=None, date_from=None, date_to=None)
```

###

### Parameters

| Parameter    | Type   | Description                                                              |
| ------------ | ------ | ------------------------------------------------------------------------ |
| entity\_id   | string | 조회하고자 하는 경제 지표의 entity id 를 명시합니다.                                       |
| category\_id | string | 값을 조회하고자 하는 테이블 내 category id 를 지정합니다.                                   |
| item\_code   | string | 값을 조회하고자 하는 테이블 내 item code 를 지정합니다. 지정되지 않을 경우, 전체 item code 의 값을 가져옵니. |
| freq         | string | 값을 조회하고자 하는 데이터 주기를 지정합니다. 지정되지 않을 경우, 해당 테이블의 전체 주기에 대해 값을 가져옵니다.       |
| date\_from   | date   | 데이터 값을 가져올 날짜 범위의 시작을 지정합니다. 지정되지 않을 경우 전체 날짜 범위의 값을 가져옵니다.              |
| date\_t      | date   | 데이터 값을 가져올 날짜 범위의 마지막을 지정합니다. 지정되지 않을 경우 전체 날짜 범위의 값을 가져옵니다.             |

###

### Examples

입력으로 사용되는 category id 와 item code 의 값은 이전 GetKosisTableCategoryItemFreqList 함수의 결과값을 가지고 재구성하여 사용해야 합니다.

```
> QueryKosisTimeSeriesData("KOSIS:101.DT_1011301", "A000|B000")

...

                           QueryKosisTimeSeriesData(KOSIS:101.DT_1011301, A000|B000)
item_code freq date
T10       Y    1990-12-31                    5148.0
               1992-12-31                    5313.0
               1994-12-31                    5494.0
               1996-12-31                    5607.0
               1998-12-31                    5266.0
               2000-12-31                    4809.0
               2002-12-31                    5038.0
               2004-12-31                    5157.0
               2006-12-31                    5744.0
               2008-12-31                    5594.0
               2010-12-31                    5655.0
               2012-12-31                    5772.0
               2014-12-31                    5906.0
               2016-12-31                    6017.0
               2018-12-31                    6038.0
               2020-12-31                    6674.0
```

```
> QueryKosisTimeSeriesData("KOSIS:101.DT_1011301", "A000|B000", "T10", "Y")

...

                           QueryKosisTimeSeriesData(KOSIS:101.DT_1011301, A000|B000, T10, Y)
item_code freq date
T10       Y    1990-12-31                    5148.0
               1992-12-31                    5313.0
               1994-12-31                    5494.0
               1996-12-31                    5607.0
               1998-12-31                    5266.0
               2000-12-31                    4809.0
               2002-12-31                    5038.0
               2004-12-31                    5157.0
               2006-12-31                    5744.0
               2008-12-31                    5594.0
               2010-12-31                    5655.0
               2012-12-31                    5772.0
               2014-12-31                    5906.0
               2016-12-31                    6017.0
               2018-12-31                    6038.0
               2020-12-31                    6674.0
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.deepsearch.com/dp/api/func/economy/kostat/querykosistimeseriesdata.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
