Energy

Data - yahoo

Info

source dataset .html .RData

yahoo

energy

2024-09-15 2024-09-18

Data on energy

source dataset .html .RData

ec

WOB

2024-09-15 2024-08-25

eurostat

ei_isen_m

2024-09-15 2024-09-14

eurostat

nrg_bal_c

2023-12-31 2024-09-15

eurostat

nrg_pc_202

2024-09-15 2024-09-15

eurostat

nrg_pc_203

2023-06-11 2024-09-15

eurostat

nrg_pc_203_c

2024-09-15 2024-09-15

eurostat

nrg_pc_203_h

2024-09-15 2024-09-15

eurostat

nrg_pc_203_v

2024-09-15 2024-09-15

eurostat

nrg_pc_204

2024-09-15 2024-09-15

eurostat

nrg_pc_205

2023-06-11 2024-09-18

fred

energy

2024-09-14 2024-09-14

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-15 2024-09-18

wdi

EG.USE.PCAP.KG.OE

2024-09-15 2024-09-18

yahoo

energy

2024-09-15 2024-09-18

LAST_COMPILE

LAST_COMPILE
2024-09-18

Last

date Nobs
2024-09-17 1

symbol

symbol Symbol Nobs
TTF Old Dutch TTF 2431
TTF=F Dutch TTF Natural Gas Calendar 1737

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"),
         date >= as.Date("2021-01-01")) %>%
  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"),
         date >= as.Date("2021-01-01")) %>%
  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")