Description Usage Arguments Value See Also Examples
View source: R/carbon-intensity.r
Calculates the carbon intensity of electricity generation in the UK between specified dates.
1 |
start |
the start date for retrieving data. |
end |
the end date for retrieving data |
a data frame with a datetime stamp and average carbon intensity of electricity measured in kg CO2/kWh
get_grid_mix
and
carbon_intensities
for data sources
1 2 3 4 5 | # These require a working internet connection
start <- "2010-01-01"
end <- "2010-01-03"
# Gets grid carbon for 1-3 January 2010
carbon <- get_grid_carbon(start, end)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.