Description Usage Arguments Value Examples
Pie plot, the electricity sources used between specified datetimes for a specified region.
1 | pie_API_2(region, from, to)
|
region |
A number (regionid) or a string (region short name). If nothing specified, the default is "Scotland". See |
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 |
A pie chart showing different fuel sources and percentages. Represents the percentage of the fuels used to generate electricity in the specified datetime.
1 | pie_API_2("London", from = "2018-11-16T06:00Z", to = "2018-12-15T06:00Z")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.