powered by
Get Carbon Intensity statistics between from and to dates
get_stats(start, end, block = NULL)
tibble
character A start date of the stats data. The maximum date range is limited to 30 days.
character An end date of the stats data. The maximum date range is limited to 30 days.
numeric Block length in hours i.e. a block length of 2 hrs over a 24 hr period returns 12 items with the average, max, min for each 2 hr block
if (FALSE) { start <- "2019-04-01" end <- "2019-05-01" get_stats(start, end) get_stats(start, end, block = 2) }
Run the code above in your browser using DataLab