elexonDynamic: elexonDynamic

Description Usage Arguments Examples

View source: R/elexonDynamic.R

Description

This function pulls dynamic data from Elexon/BMRS, given a user's key, start and end dates. The data returned are given in a list due to their varying column lengths, separated by each item.

Usage

1
2
elexonDynamic(key, from = Sys.Date() - 60, to = Sys.Date() - 59,
  test = TRUE)

Arguments

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.

Examples

1
2
3
4
5
6
7
8
## Not run: 
elexonDynamic(
key = "948ghmgpe",
from = "2018-01-01",
to = "2019-01-01",
test = TRUE)

## End(Not run)

Relexon documentation built on Nov. 20, 2019, 1:08 a.m.