cbr_metal_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_metal_ts(
  currency = "ALL",
  from = as.character(Sys.Date() - 30),
  to = as.character(Sys.Date())
)

Arguments

currency

Precious metals (case insensitive) chemical code c('Au', 'Ag', 'Pt', 'Pd', 'all')

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

data frame of date, buy and sell rates of precious metals in long format

Source

https://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.