ecb_data | R Documentation |
Returns ECB data for a given flow and key
ecb_data(
flow,
key = NULL,
start_period = NULL,
end_period = NULL,
first_n = NULL,
last_n = NULL
)
flow |
( |
key |
( |
start_period |
(
|
end_period |
( |
first_n |
( |
last_n |
( |
https://data.ecb.europa.eu/help/api/data
Other data:
bbk_data()
,
bbk_series()
,
snb_data()
# fetch US dollar/Euro exchange rate
ecb_data("EXR", "D.USD.EUR.SP00.A")
# fetch data for multiple keys
ecb_data("EXR", c("D.USD", "JPY.EUR.SP00.A"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.