alignDates | R Documentation |
alignDates
returns a dt with 'fixedDate' set to the date needed in 2017-2019 to match the nearest weekday
in 2020. Use this for plots which try to compare daily values over time.
alignDates(dt, dateTime, toDate)
dt |
the data.table to align |
dateTime |
the dateTime variable to use |
toDate |
return data up to but not including this date |
The data.table to align *must* have a dateTime variable (bu tyou can tell it which one).
Ben Anderson, b.anderson@soton.ac.uk
Other data:
cleanNZEmbEA()
,
cleanNZGridEA()
,
cleanNZGxpEA()
,
cleanUkEmbeddedESO()
,
cleanUkGridESO()
,
getNZEmbData()
,
getNZEmbMeta()
,
getNZGridEA()
,
getNZGridMeta()
,
getNZGxpEA()
,
getNZGxpMeta()
,
getUkEmbeddedESO()
,
getUkGridESO()
,
loadNZEAYearlyEmbeddedGenData()
,
loadNZEAYearlyGridGenData()
,
loadUKESOYearlyGenData()
,
loadUKEmbeddedGenData()
,
makeNZYearlyData()
,
nzCalculateCO2e()
,
reshapeEmbeddedGenDT()
,
reshapeGenDT()
,
saveUkEmbeddedESO()
,
saveUkGridESO()
,
setEmbeddedGenTimePeriod()
,
setGridGenTimePeriod()
Other utils:
addLockdownRect()
,
addSeason()
,
getDuration()
,
gzipFile()
,
loadLibraries()
,
nzCalculateCO2e()
,
setPeakPeriod()
,
setup()
,
tidyNum()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.