Commodities

Teste commodities

Plot data

Warning: Removed 8604 row(s) containing missing values (geom_path).
Removed 8604 row(s) containing missing values (geom_path).
Removed 8604 row(s) containing missing values (geom_path).
Removed 8604 row(s) containing missing values (geom_path).
Warning: Use of `Metal$`Iron Ore`` is discouraged. Use `Iron Ore` instead.
Warning: Removed 14244 row(s) containing missing values (geom_path).
Warning: Removed 9407 row(s) containing missing values (geom_path).

Creating dynamic chart

#|label: Gold prices
#|fig-cap: "Gold - month (US$/oz)"
#library(dygraphs)

dygraph(Gold_dt,
        main = "Gold prices (US$ / oz)",
        ylab = "US$ / oz") %>%
   dyRangeSelector(dateWindow = c("2000-01-01", "2022-07-01"))
dygraph(Oil_dt,
        main = "Oil (Brent) prices (US$ / barrel)",
        ylab = "US$/barrel") %>%
   dyRangeSelector(dateWindow = c("2000-01-01", "2022-07-01"))
dygraph(Wheat_dt,
        main = "Wheat prices (US$ / bushel)",
        ylab = "US$/bushel") %>%
   dyRangeSelector(dateWindow = c("2000-01-01", "2022-07-01"))
dygraph(Corn_dt,
        main = "Corn prices (US$ / bushel)",
        ylab = "US$/bushel") %>%
   dyRangeSelector(dateWindow = c("2000-01-01", "2022-07-01"))
dygraph(Soy_dt,
        main = "Soy prices (US$ / bushel)",
        ylab = "US$/bushel") %>%
   dyRangeSelector(dateWindow = c("2000-01-01", "2022-07-01"))
dygraph(Iron_ore_dt,
        main = "Iron ore prices (US$ / ton)",
        ylab = "US$ / Ton") %>%
   dyRangeSelector(dateWindow = c("2015-01-01", "2022-07-01"))