DTSg v0.7.0
gisler
released this
05 Sep 08:06
·
183 commits
to 083101f65f4193e834a37f67a6318621f18afe84
since this release
- Added
rowaggregate()
method: allows for applying summary functions row-wise to aDTSg
object. - Added
rowbind()
method: allows for combining the rows of aDTSg
object. - Added
setColNames()
method: allows for renaming columns of aDTSg
object. - Added
multiplier
andfunbyHelpers
arguments toaggregate()
,colapply()
andsubset()
methods: allows for adjusting the temporal aggregation level of TALFs and for passing on user defined helper data to TALFs. - Added
multiplier
also to thelist
of helper data passed on to TALFs. - Added
helpers
argument tocolapply()
androllapply()
methods: controls if helper data is passed on to an applied function (makes occasionally needed anonymous function wrappers obsolete, e.g.x$colapply(fun = function(x, ...) {cumsum(x)}, funby = byYm____)
can now be written asx$colapply(fun = cumsum, helpers = FALSE, funby = byYm____)
). - TALFs based on the
fasttime
package now also support time zones equivalent to UTC (executegrep("^(Etc/)?(UCT|UTC)$|^(Etc/)?GMT(\\+|-)?0?$", OlsonNames(), ignore.case = TRUE, value = TRUE)
for a full list of supported time zones). - Fixed that a
DTSg
object with only one timestamp did not set the name of its .dateTime column as expected. - Improved vignettes and documentation.
- Minor internal code improvements.