| plot_exchange_rate | R Documentation |
Generates a time series plot of the USD/BRL exchange rate using data from get_exchange_rate().
plot_exchange_rate(data, language = "eng")
data |
Tibble returned by |
language |
Language for titles and labels: "pt" (Portuguese) or "eng" (English). |
A ggplot2 object showing the exchange rate over time,
or NULL (with a message) if data has no rows.
exchange_data <- get_exchange_rate("2023-01-01", "2023-12-31")
print(plot_exchange_rate(exchange_data))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.