Energy
Data - yahoo
Info
Data on energy
source | dataset | .html | .RData |
---|---|---|---|
ec | WOB | 2024-09-15 | 2024-08-25 |
eurostat | ei_isen_m | 2024-11-01 | 2024-10-09 |
eurostat | nrg_bal_c | 2023-12-31 | 2024-10-08 |
eurostat | nrg_pc_202 | 2024-11-01 | 2024-10-08 |
eurostat | nrg_pc_203 | 2023-06-11 | 2024-10-08 |
eurostat | nrg_pc_203_c | 2024-11-01 | 2024-10-08 |
eurostat | nrg_pc_203_h | 2024-11-01 | 2024-11-01 |
eurostat | nrg_pc_203_v | 2024-11-01 | 2024-10-08 |
eurostat | nrg_pc_204 | 2024-11-01 | 2024-11-01 |
eurostat | nrg_pc_205 | 2023-06-11 | 2024-10-08 |
fred | energy | 2024-11-01 | 2024-11-01 |
iea | world_energy_balances_highlights_2022 | 2024-06-20 | 2023-04-24 |
wb | CMO | 2024-06-20 | 2024-05-23 |
wdi | EG.GDP.PUSE.KO.PP.KD | 2024-09-18 | 2024-09-18 |
wdi | EG.USE.PCAP.KG.OE | 2024-09-18 | 2024-09-18 |
yahoo | energy | 2024-10-29 | 2024-11-05 |
LAST_COMPILE
LAST_COMPILE |
---|
2024-11-05 |
Last
date | Nobs |
---|---|
2024-11-04 | 1 |
symbol
symbol | Symbol | Nobs |
---|---|---|
TTF | Old Dutch TTF | 2431 |
TTF=F | Dutch TTF Natural Gas Calendar | 1771 |
Natural Gas prices
Linear
All
Code
%>%
energy filter(symbol %in% c("TTF=F")) %>%
left_join(symbol, by = "symbol") %>%
ggplot() + geom_line(aes(x = date, y = close, color = Symbol)) + theme_minimal() +
theme(legend.title = element_blank(),
legend.position = c(0.5, 0.9)) +
scale_y_continuous(breaks = seq(0, 1000, 20),
labels = dollar_format(pre = "", su = "€")) +
scale_x_date(breaks = as.Date(paste0(seq(1945, 2025, 1), "-01-01")),
labels = date_format("%Y")) +
xlab("") + ylab("Price per Megawatt-Hour")
2021-
Code
%>%
energy filter(symbol %in% c("TTF=F"),
>= as.Date("2021-01-01")) %>%
date left_join(symbol, by = "symbol") %>%
ggplot() + geom_line(aes(x = date, y = close, color = Symbol)) + theme_minimal() +
theme(legend.title = element_blank(),
legend.position = c(0.5, 0.9)) +
scale_y_continuous(breaks = seq(0, 1000, 20),
labels = dollar_format(pre = "", su = "€")) +
scale_x_date(breaks = as.Date(paste0(seq(1945, 2025, 1), "-01-01")),
labels = date_format("%Y")) +
xlab("") + ylab("Price per Megawatt-Hour")
Log
All
Code
%>%
energy filter(symbol %in% c("TTF=F")) %>%
left_join(symbol, by = "symbol") %>%
ggplot() + geom_line(aes(x = date, y = close, color = Symbol)) + theme_minimal() +
theme(legend.title = element_blank(),
legend.position = c(0.5, 0.9)) +
scale_y_log10(breaks = c(1, 2, 3, 5, 8, 10, 20, 50, 100, 200, 500),
labels = dollar_format(pre = "", su = "€", acc = 1)) +
scale_x_date(breaks = as.Date(paste0(seq(1945, 2025, 1), "-01-01")),
labels = date_format("%Y")) +
xlab("") + ylab("Price per Megawatt-Hour")
2021-
Code
%>%
energy filter(symbol %in% c("TTF=F"),
>= as.Date("2021-01-01")) %>%
date left_join(symbol, by = "symbol") %>%
ggplot() + geom_line(aes(x = date, y = close, color = Symbol)) + theme_minimal() +
theme(legend.title = element_blank(),
legend.position = c(0.5, 0.9)) +
scale_y_log10(breaks = c(1, 2, 3, 5, 8, 10, 20, 50, 100, 200, 500),
labels = dollar_format(pre = "", su = "€", acc = 1)) +
scale_x_date(breaks = as.Date(paste0(seq(1945, 2025, 1), "-01-01")),
labels = date_format("%Y")) +
xlab("") + ylab("Price per Megawatt-Hour")