The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
한국은행 경제통계시스템
Economic Statistics System of Bank of Korea (Open API Service)
(https://ecos.bok.or.kr/api/#/)
# install from CRAN
install.packages("ecos")
# Alternatively
::install_github("seokhoonj/ecos") devtools
library(ecos)
# set your api key
ecos.setKey(api_key = "your_api_key")
# or permanently
::edit_r_environ() # add KOSIS_API_KEY="your_api_key" in .Renviron
usethis
# data search (if you don't know the stat_code / item_code)
<- statSearch()
interest_rate : 902Y006
Please insert stat_code: US
Please insert item_code1
# or simply
<- statSearch(stat_code = "902Y006", item_code1 = "US", cycle = "M") interest_rate
An example of plot using central bank policy rate data (US) from ECOS
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.