Learn R Programming

intensegRid (version 0.1.2)

get_postcode_ci: Get Carbon Intensity for specified postcode.

Description

Get Carbon Intensity for specified postcode.

Usage

get_postcode_ci(postcode, start = NULL, end = NULL)

Value

tibble

Arguments

postcode

character Outward postcode i.e. RG41 or SW1 or TF8. Do not include full postcode, outward postcode only

start

character A start date of the intesity data

end

character An end date of the intesity data

Examples

Run this code
if (FALSE) {
get_postcode_ci(postcode = 'EN2')
get_postcode_ci(postcode = 'EN2', start = '2019-01-01', end = '2019-01-02')
}

Run the code above in your browser using DataLab