Ecos Get Series
ecos_get_seriesFetch a time series from Bank of Korea ECOS. Pass stat_code + cycle (A/Q/M/D) + start/end period. Date format matches the cycle: yearly = "2024", quarterly = "2024Q3", monthly = "202403", daily = "20240315". Optionally narrow to specific item_code(s) via item1/item2/item3/item4. Returns rows with stat_name, item_name, unit, time, data_value. Use after ecos_search_tables + ecos_series_items to discover codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End period (same format as start). | |
| cycle | Yes | Cycle: A (annual), Q (quarterly), M (monthly), D (daily), SM (semi-monthly). | |
| item1 | No | Optional item filter (e.g., "0000001" for USD in the exchange-rate table). | |
| item2 | No | Optional second item filter. | |
| item3 | No | Optional third item filter. | |
| item4 | No | Optional fourth item filter. | |
| limit | No | Max rows to return (default 100, max 1000). | |
| start | Yes | Start period in cycle's native format (e.g., "2024" / "2024Q1" / "202401" / "20240101"). | |
| stat_code | Yes | Statistic code (e.g., "901Y009" for CPI, "731Y001" for exchange rates). |