check_fuel_region_time: Get the electricity sources used between specified datetimes...

Description Usage Arguments Value Examples

View source: R/DataAPI.R

Description

Get the electricity sources used between specified datetimes for a specified region.

Usage

1
2
check_fuel_region_time(region = "Scotland", from = "now",
  to = "tomorrow")

Arguments

region

A number (regionid) or a string (region short name). If nothing specified, the default is "Scotland". See regions() to know the admitted values.

from

A string with shape yyyy-mm-ddTHH:mmZ, representing the start datetime.

to

A string with shape yyyy-mm-ddTHH:mmZ, representing the end datetime. The end date time can be max. 1 month after from date.

Value

A data frame with two columns, fuel and percentage. Which represents the percentage of the fuels used to generate electricity in the specified datetime.

Examples

1
2
check_fuel_region_time()
check_fuel_region_time("london", from = "2018-11-16T06:00Z", to = "2018-12-15T06:00Z")

atikh281/Lab05 documentation built on Nov. 3, 2019, 1:59 p.m.