cnb_fx_other_rates: Fetch Czech National Bank (CNB) exchange rates of other...

View source: R/cnb.R

cnb_fx_other_ratesR Documentation

Fetch Czech National Bank (CNB) exchange rates of other currencies

Description

Retrieve the monthly exchange rate fixing for less commonly traded ("other") currencies from the CNB API. These currencies are not part of the daily fixing returned by cnb_fx_rates().

Usage

cnb_fx_other_rates(year_month = NULL, year = NULL, lang = "EN")

Arguments

year_month

(NULL | character(1))
The month to query in "YYYY-MM" format, returning rates for all currencies in that month. The fixing for a month is published at its end. Mutually exclusive with year. Default NULL.

year

(NULL | integer(1))
A calendar year, returning rates for all currencies in every month of that year. Mutually exclusive with year_month. Default NULL.

lang

(character(1))
Language for the country and currency names, either "EN" or "CZ". Default "EN".

Value

A data.table::data.table() with the requested exchange rates. The rate is the amount of Czech koruna per amount units of the foreign currency.

Source

https://api.cnb.cz/cnbapi/swagger-ui.html

See Also

Other data: banxico_data(), bbk_data(), bbk_series(), bcb_data(), bcb_expectations(), bcb_fx_rates(), bcb_inflation(), bcb_selic(), bcb_top5(), bde_data(), bde_latest(), bdf_codelist(), bdf_data(), bdf_dataset(), bdp_data(), bis_data(), boc_data(), boe_data(), boi_data(), boj_data(), cnb_czeonia(), cnb_data(), cnb_fx_rates(), cnb_pribor(), ecb_data(), nbp_fx_rates(), nbp_gold(), nob_data(), onb_data(), snb_data(), srb_cross_rates(), srb_data()

Examples



# a specific month
cnb_fx_other_rates(year_month = "2024-01")

# all months of a given year
cnb_fx_other_rates(year = 2024L)



bbk documentation built on Aug. 28, 2026, 5:07 p.m.