setEmbeddedGenTimePeriod: Converts the given time periods (TP1 -> TP48, 49. 50) in a dt...

View source: R/setEmbeddedGenTimePeriod.R

setEmbeddedGenTimePeriodR Documentation

Converts the given time periods (TP1 -> TP48, 49. 50) in a dt to hh:mm

Description

setEmbeddedGenTimePeriod converts the given time periods (TP1 -> TP48, 49. 50) to hh:mm. It ignores TP49 & TP50 as evil incarnations of DST related clock changes (see https://www.emi.ea.govt.nz/Wholesale/Datasets/Generation/Generation_MD/). We advise NEVER using the months in which this happens as it will hurt your brain.

Usage

setEmbeddedGenTimePeriod(dt)

Arguments

dt

the data table containing the Time_Period variable

Author(s)

Ben Anderson, b.anderson@soton.ac.uk (original)

See Also

Other data: alignDates(), cleanNZEmbEA(), cleanNZGridEA(), cleanNZGxpEA(), cleanUkEmbeddedESO(), cleanUkGridESO(), getNZEmbData(), getNZEmbMeta(), getNZGridEA(), getNZGridMeta(), getNZGxpEA(), getNZGxpMeta(), getUkEmbeddedESO(), getUkGridESO(), loadNZEAYearlyEmbeddedGenData(), loadNZEAYearlyGridGenData(), loadUKESOYearlyGenData(), loadUKEmbeddedGenData(), makeNZYearlyData(), nzCalculateCO2e(), reshapeEmbeddedGenDT(), reshapeGenDT(), saveUkEmbeddedESO(), saveUkGridESO(), setGridGenTimePeriod()


CfSOtago/gridCarbon documentation built on April 5, 2022, 6:46 a.m.