Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ ecos Public

한국은행 경제통계시스템 Economic Statistics System of Bank of Korea (Open API Service)

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

seokhoonj/ecos

Repository files navigation

ecos package

CRAN_Status_Badge R-CMD-check

Introduction

한국은행 경제통계시스템
Economic Statistics System of Bank of Korea (Open API Service)
(https://ecos.bok.or.kr/api/#/)

Installation

# install from CRAN
install.packages("ecos")

# Alternatively
devtools::install_github("seokhoonj/ecos")  

Examples

library(ecos)

# set your api key
ecos.setKey(api_key = "your_api_key")

# or permanently
usethis::edit_r_environ() # add KOSIS_API_KEY="your_api_key" in .Renviron

# data search (if you don't know the stat_code / item_code)
interest_rate <- statSearch()
Please insert stat_code: 902Y006
Please insert item_code1: US

# or simply
interest_rate <- statSearch(stat_code = "902Y006", item_code1 = "US", cycle = "M")

An example of plot using central bank policy rate data (US) from ECOS plot using central bank policy rate data.

About

한국은행 경제통계시스템 Economic Statistics System of Bank of Korea (Open API Service)

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages