Copy QueryBankOfKoreaSeriesData(entity_ids=None, stat_codes=None, item_codes=None,
date_from=None, date_to=None, last_only=False)
한국은행 경제지표의 entity_id 는 "<stat_code>.<item_code>" 의 형식으로 되어있습니다. 따라서 전체 entity_id 를 명시하거나, 또는 stat_code / item_code 만을 명시해도 해당 조건에 만족하는 전체 경제지표의 상세 정보를 출력하도록 만들었습니다.
Copy > QueryBankOfKoreaSeriesData("060Y001.010101000")
...
QueryBankOfKoreaSeriesData(060Y001.010101000)
entity_id date
BOK:060Y001.010101000 1995-01-03 0.1306
1995-01-04 0.1163
1995-01-05 0.1061
1995-01-06 0.0928
1995-01-07 0.1078
... ...
2020-08-27 0.0050
2020-08-28 0.0049
2020-08-31 0.0055
2020-09-01 0.0052
2020-09-02 0.0049
Copy > QueryBankOfKoreaSeriesData(stat_codes=["060Y001"], last_only=True)
...
QueryBankOfKoreaSeriesData(stat_codes=[060Y001], last_only=True)
entity_id date
BOK:060Y001.010101000 2020-09-02 0.0049
BOK:060Y001.010102000 2020-09-02 0.0049
BOK:060Y001.010150000 2020-09-02 0.0062
BOK:060Y001.010151000 2020-09-02 0.0072
BOK:060Y001.010152000 2020-09-02 0.0088
BOK:060Y001.010190000 2020-09-02 0.0072
BOK:060Y001.010200000 2020-09-03 0.0092
BOK:060Y001.010200001 2020-09-03 0.0122
BOK:060Y001.010210000 2020-09-02 0.0154
BOK:060Y001.010220000 2020-09-02 0.0170
BOK:060Y001.010230000 2020-09-02 0.0169
BOK:060Y001.010260000 2020-09-02 0.0083
BOK:060Y001.010300000 2020-09-03 0.0226
BOK:060Y001.010310000 2020-09-02 0.0151
BOK:060Y001.010320000 2020-09-02 0.0861
BOK:060Y001.010400000 2020-09-03 0.0070
BOK:060Y001.010400001 2020-09-02 0.0065
BOK:060Y001.010400002 2020-09-02 0.0084
BOK:060Y001.010501000 2020-09-02 0.0068
BOK:060Y001.010502000 2020-09-03 0.0063
BOK:060Y001.010503000 2020-09-03 0.0130
BOK:060Y001.010503500 2020-09-02 0.0136
BOK:060Y001.010504000 2020-09-02 0.0024