cbr_currency_ts: Dynamics of currency over the period with 1-to-1 rate to RUB

Description Usage Arguments Value Source

View source: R/cbr_daily.R

Description

Dynamics of currency over the period with 1-to-1 rate to RUB

Usage

1
2
3
4
5
cbr_currency_ts(
  currency = "USD",
  from = as.character(Sys.Date() - 30),
  to = as.character(Sys.Date())
)

Arguments

currency

Currency in ISO 3-char code ('USD', 'GBP', 'EUR', etc.)

from

Date in format "yyyy-mm-dd". You also can get tomorrow exchange rates.

to

Date in format "yyyy-mm-dd". You also can get tomorrow exchange rates.

Value

numeric vector of exchange rates with length 1 or more

Source

http://www.cbr.ru/scripts/XML_dynamic.asp?date_req1=02/03/2001&date_req2=14/03/2001&VAL_NM_RQ=R01235; http://www.cbr.ru/scripts/xml_metall.asp?date_req1=01/07/2001&date_req2=13/07/2001


krasovskyd/cbrCurrency documentation built on Dec. 21, 2021, 7:45 a.m.