Learn R Programming

ecos (version 0.1.6)

ecos-package: ecos: Economic Statistics System of the Bank of Korea

Description

API wrapper to download statistical information from the Economic Statistics System (ECOS) of the Bank of Korea https://ecos.bok.or.kr/api/#/.

Arguments

Author

Maintainer: Seokhoon Joo seokhoonj@gmail.com

Other contributors:

  • Jaehyun Joo [contributor]

Details

To use this package, you will first need to get your API key from the website https://ecos.bok.or.kr/api/#/AuthKeyApply. Once you have your key, you can save it as an environment variable for the current session using the ecos.setKey function. Alternatively, you can set it permanently by adding the following line to your .Renviron file:

ECOS_API_KEY = PASTE YOUR API KEY

Any functions that require your API key try to retrieve it via Sys.getenv("ECOS_API_KEY") (unless API key is explicitly specified as a function argument).