pie_API_2: Pie plot, the electricity sources used between specified...

Description Usage Arguments Value Examples

View source: R/DataAPI.R

Description

Pie plot, the electricity sources used between specified datetimes for a specified region.

Usage

1
pie_API_2(region, from, to)

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 pie chart showing different fuel sources and percentages. Represents the percentage of the fuels used to generate electricity in the specified datetime.

Examples

1
pie_API_2("London", from = "2018-11-16T06:00Z", to = "2018-12-15T06:00Z")

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