Man pages for CfSOtago/gridCarbon
Code to analyse the carbon footprint of NZ electricity generation over time

addDSTBreakDate'addDSTBreakDate' adds label for DST break 31/3/2020 where x...
addDSTBreakDateTime'addDSTBreakDateTime' adds label for DST break 31/3/2020...
addLockdownRect'addLockdownRect' adds rectangles around the periods...
addSeasonAdd season to a data.table depending on hemisphere
addVeDayDate'addVeDayDate' adds extended weekend shading and label for VE...
addVeDayDateTime'addVeDayDateTime' adds extended weekend shading and label...
addWeekendRectsDate'addWeekendRectsDate' adds rectangles around the weekends...
addWeekendRectsDateTime'addWeekendRectsDateTime' adds rectangles around the weekends...
addWhitsunDate'addWhitsunDate' adds extended weekend shading and label for...
addWhitsunDateTime'addWhitsunDate' adds extended weekend shading and label for...
alignDatesRe-align 2017-2019 dates so their weekdays match to 2020
cleanNZEmbEA'cleanNZEmbEA' cleans up the raw embedded gen file from the...
cleanNZGridEA'cleanNZGridEA' cleans up the raw grid gen file from the NZ...
cleanNZGxpEA'cleanNZGxpEA' cleans up the raw GXP grid export file from...
cleanUkEmbeddedESO'cleanUkEmbeddedESO' cleans up UK embedded ESO data adding...
cleanUkGridESO'cleanUkGridESO' cleans up UK Grid ESO data:
create7DayMovingAverageCalculates a 7 day rolling mean for specified variable for...
createDailyMeanComparePlotCreates a daily half-hourly mean plot from the data.table...
createDailyPcComparePlotCreates a daily mean half-hourly createDailyPcComparePlot(dt,...
createRecentDateTimePlotCreates a half-hourly plot from the data.table given
createRecentHalfHourlyProfilePlotCreates a half-hourly profile plot by dayfrom the data.table...
getDurationGet duration
getNZEmbData'getNZEmbData' gets the embedded generation data files from...
getNZEmbMeta'makeNZYearlyData' reports meta data for a given dt
getNZGridEA'getNZGridEA' gets the grid generation data files from the NZ...
getNZGridMeta'getNZGridMeta' generates metadata for a given grid dt
getNZGxpEA'getNZGxpEA' gets the grid exit flow data files from the NZ...
getNZGxpMeta'getNZGxpMeta' generates metadata for a given dt
getUkEmbeddedESO'getUkEmbeddedESO' gets the latest embedded generation update...
getUkGridESO'getUkGridESO' gets the file from the UK Grid ESO data...
gzipFilegzip a file
loadLibrariesInstalls and loads packages
loadNZEAYearlyEmbeddedGenDataLoad the pre-downloaded yearly NZ EA embedded generation...
loadNZEAYearlyGridGenDataLoad the pre-downloaded yearly NZ EA grid generation files in...
loadUKEmbeddedGenDataLoad the pre-downloaded UK ESO embedded generation files in...
loadUKESOYearlyGenDataLoad the pre-downloaded yearly UK ESO generation files in to...
makeNZYearlyData'makeNZYearlyData' converts monthly to yearly data
makeWeekdayPlotCreates a plot by weekday from the data.table given
makeWeekdayTimePlotCreates a plot by weekday from the data.table given
nzCalculateCO2e'nzCalculateCO2e' calculates the CO2e emissions (in kg) per...
reshapeEmbeddedGenDTReshapes an EA embedded generation data table from wide (yuk)...
reshapeGenDTReshapes an EA wholesale generation data table from wide...
saveUkEmbeddedESO'saveUkEmbeddedESO' saves the latest cleaned UK embedded ESO...
saveUkGridESO'saveUkGridESO' saves the UK Grid ESO data to the location...
setEmbeddedGenTimePeriodConverts the given time periods (TP1 -> TP48, 49. 50) in a dt...
setGridGenTimePeriodConverts the given time periods (TP1 -> TP48, 49. 50) in a dt...
setPeakPeriodCodes morning/evening peak periods using rDateTimeUTC in the...
setupSet up the project
tidyNumTidy long numbers
CfSOtago/gridCarbon documentation built on April 5, 2022, 6:46 a.m.