getBIS: Download time series data from Bank of International Settlement
Description
It downloads effective exchange rates from Bank of International Settlement.
Usage
getBIS(sheet="Real", type="broad")
Value
data
The data object.
country.info
The country information with abbreviated symbol.
data.info
The information about effective exchange rates.
Arguments
sheet
The name of spreedsheet of effective exchange rates (EER)of BIS, it has two options: "Real" and "Nominal", the default is "Real" for REER.
type
The type of EER, it has two types: "broad" and "narrow". The default is "broad".
Author
Ho Tsung-wu <tsungwu@ntnu.edu.tw>, College of Management, National Taiwan Normal University.
Details
This function connects with <"https://www.bis.org/statistics/eer/"> and downloads the specified data. The rownames of downloaded data embeds the timestamp already, which can be directly transformed into time series via, as.timeSeries.
#To save time, the example below is commented.#output=getBIS(sheet=c("Nominal","Real")[1], type=c("broad","narrow")[1])#output$data#output$data.info#output$country.info