This function creates a web query url for SKM umms.
1 2 3 | skm_ummquery(user_id, user_password, interval, start_time, end_time, type,
areas, internalorfuels, headers = "yes", accrow = "no",
data_format = "se")
|
user_id |
character value. Login name to SKM syspower. |
user_password |
Password to SKM syspower. |
interval |
Character value. "hour", "day" or "week". Weekly interval will be parsed as ISO week (see package ISOweek for parsing this data_format). |
start_time |
Character value with format YYYY-mm-dd, dd-mm-YYYY, dd.mm.YYYY or mm/dd/YYYY. |
end_time |
Character value with format YYYY-mm-dd, dd-mm-YYYY, dd.mm.YYYY or mm/dd/YYYY (YYYY-mm-dd hh:mm). "0" (wich is the default) will return today's date or the latest non-empty date. |
type |
Character value. production, transmission or station. |
areas |
Character string or vector. If type == production then Nordpool, DK1, DK2, SE1, SE2, SE3, SE4, NO1, NO2, NO3, NO4, NO5, EE, LV, LT, FI are valid. If type == transmission then Belarus, Estonia, Denmark, Finland, Germany, Latvia, Lithuania, Netherlands, Norway, Poland, Russia, Sweden are valid. |
internalorfuels |
Character vector. If type == production then Nuclear, Wind, Coal, Gas, Hydro, Oil, Other, ReducedLoad. If type == transmission then "yes" or "no" for include internal lines. |
headers |
"yes" (default) |
accrow |
character value. "yes" or "no" for include accumulated row. |
data_format |
"no2" (default). (Later:"no", "dk", "se", "us" might be added). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.