get_grid_carbon: Calculates the carbon intensity of electricity generation

Description Usage Arguments Value See Also Examples

View source: R/carbon-intensity.r

Description

Calculates the carbon intensity of electricity generation in the UK between specified dates.

Usage

1

Arguments

start

the start date for retrieving data.

end

the end date for retrieving data

Value

a data frame with a datetime stamp and average carbon intensity of electricity measured in kg CO2/kWh

See Also

get_grid_mix and carbon_intensities for data sources

Examples

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)

jkeirstead/decctools documentation built on May 19, 2019, 11:41 a.m.