Description Usage Arguments Examples
View source: R/elexonPhysical.R
This function pulls physical data from Elexon/BMRS, given a user's key, start and end dates. All half-hourly periods are used, accounting for daylight savings as well. The test parameter is set to TRUE by default, as datasets ranging more than a mere week will result in pullinh very large datasets.
1 2 | elexonPhysical(key, from = Sys.Date() - 20, to = Sys.Date() - 19,
test = TRUE)
|
key |
Your personal scripting key from elexon. Find out more at https://www.elexonportal.co.uk |
from |
This is the start date/datetime of the dataset |
to |
This is the end date/datetime of the dataset |
test |
This is set to TRUE by default. Set this argument to FALSE if you want to use the live version of the API. |
1 2 3 4 5 6 7 8 | ## Not run:
elexonPhysical(
key = "948ghmgpe",
from = "2018-01-01",
to = "2019-01-01",
test = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.