Skip to contents

Historical currency prices from Central Bank of Russia.

Usage

cbr_currency(currency = "R01239", from = Sys.Date(), to = Sys.Date())

Arguments

currency

internal Central Bank currency code starting with the letter 'R' – full list at https://cbr.ru/scripts/XML_val.asp?d=0

from

the first day of the time interval, character or Date

to

the last day of the time interval, character or Date

Value

data.frame with historical currency prices from cbr.ru

Examples

df <- cbr_currency(currency = "R01239", from = "2024-09-01", to = "2024-09-10") # Euro