Electricity prices in Nordic countries: Difference between revisions
Jump to navigation
Jump to search
(Data uploaded using Opasnet Base Import) |
(→Formula: data and graph works) |
||
Line 15: | Line 15: | ||
=== Formula === | === Formula === | ||
<rcode graphics = "1"> | |||
library(OpasnetUtils) | |||
library(ggplot2) | |||
library(xtable) | |||
data <- tidy(op_baseGetData("opasnet_base", "Op_en5804"), objname = "price") | |||
months <- c(4, 8, 12, 2, 1, 7, 6, 3, 5, 11, 10, 9) / 12 - 1/24 | |||
data$Time <- months[as.numeric(data$Month)] + as.numeric(as.character(data$Year)) | |||
head(data) | |||
S <- 20 | |||
ggplot(data, aes(x = Time, y = priceResult, fill = Area)) + | |||
geom_line() + | |||
opts( | |||
axis.text.x = theme_text(size = S), | |||
axis.text.y = theme_text(size = S), | |||
axis.title.x = theme_text(size = S), | |||
axis.title.y = theme_text(size = S, angle = 90), | |||
title = "Monthly electricity prices in Nordic countries 2000-2012", | |||
plot.title = theme_text(size = S * 1.5) | |||
) + | |||
scale_x_continuous("Time") + | |||
scale_y_continuous("Price (EUR /MWh)") | |||
</rcode> | |||
==See also== | ==See also== |
Revision as of 16:22, 9 September 2012
Moderator:Jouni (see all) |
This page is a stub. You may improve it into a full page. |
Upload data
|
Question
What are prices of electricity in the Nordic countries?
Answer
{{#opasnet_base_link:Op_en5804}}
Rationale
Data comes from Nord Pool [1].
Dependencies
Formula
See also
Keywords
References
Related files
<mfanonymousfilelist></mfanonymousfilelist>