Package: DTSg 1.1.3.9000

Gerold Hepp

DTSg: A Class for Working with Time Series Data Based on 'data.table' and 'R6' with Largely Optional Reference Semantics

Basic time series functionalities such as listing of missing values, application of arbitrary aggregation as well as rolling (asymmetric) window functions and automatic detection of periodicity. As it is mainly based on 'data.table', it is fast and (in combination with the 'R6' package) offers reference semantics. In addition to its native R6 interface, it provides an S3 interface for those who prefer the latter. Finally yet importantly, its functional approach allows for incorporating functionalities from many other packages.

Authors:Gerold Hepp [aut, cre]

DTSg_1.1.3.9000.tar.gz
DTSg_1.1.3.9000.zip(r-4.5)DTSg_1.1.3.9000.zip(r-4.4)DTSg_1.1.3.9000.zip(r-4.3)
DTSg_1.1.3.9000.tgz(r-4.4-any)DTSg_1.1.3.9000.tgz(r-4.3-any)
DTSg_1.1.3.9000.tar.gz(r-4.5-noble)DTSg_1.1.3.9000.tar.gz(r-4.4-noble)
DTSg_1.1.3.9000.tgz(r-4.4-emscripten)DTSg_1.1.3.9000.tgz(r-4.3-emscripten)
DTSg.pdf |DTSg.html
DTSg/json (API)
NEWS

# Install 'DTSg' in R:
install.packages('DTSg', repos = c('https://gisler.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/gisler/dtsg/issues

Datasets:
  • flow - Daily river flows

On CRAN:

classreference-semanticstime-series-data

5.57 score 5 stars 25 scripts 446 downloads 43 exports 4 dependencies

Last updated 11 months agofrom:da1f831730. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 03 2024
R-4.5-winOKNov 03 2024
R-4.5-linuxOKNov 03 2024
R-4.4-winOKNov 03 2024
R-4.4-macOKNov 03 2024
R-4.3-winOKNov 03 2024
R-4.3-macOKNov 03 2024

Exports:alterby______by_____Sby____M_by___H__by_m____by_Q____byFasttime______byFasttime_____SbyFasttime____M_byFasttime___H__byFasttime_m____byFasttime_Q____byFasttimeY_____byFasttimeYm____byFasttimeYmd___byFasttimeYmdH__byFasttimeYmdHM_byFasttimeYmdHMSbyFasttimeYQ____byY_____byYm____byYmd___byYmdH__byYmdHM_byYmdHMSbyYQ____clonecolapplycolsDTSggetColinterpolateLinearnasrefreshrollapplyrollbackrowaggregaterowbindS3WrapperGeneratorsetColNamessetColsvalues

Dependencies:backportscheckmatedata.tableR6

A. Basic usage

Rendered froma_basicUsage.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2022-06-19
Started: 2019-09-03

B. Advanced usage

Rendered fromb_advancedUsage.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2023-12-26
Started: 2019-09-03

Readme and manuals

Help Manual

Help pageTopics
Aggregate valuesaggregate aggregate.DTSg
Alter time seriesalter alter.DTSg
Clone objectclone clone.DTSg
Apply function column-wisecolapply colapply.DTSg
Get column namescols cols.DTSg
DTSg classDTSg new
Daily river flowsflow
Get column vectorgetCol getCol.DTSg [.DTSg
Linear interpolationinterpolateLinear
Merge two objectsmerge merge.DTSg
List missing valuesnas nas.DTSg
Plot time series dataplot plot.DTSg
Print objectprint print.DTSg
Object integrityrefresh refresh.DTSg
Rolling window functionrollapply rollapply.DTSg
Rollback of monthsrollback
Aggregate values row-wiseraggregate rowaggregate rowaggregate.DTSg
Combine rowsrbind rowbind rowbind.DTSg
S3 wrapper method generatorS3WrapperGenerator
Set column namessetColNames setColNames.DTSg setnames
Set column valuesset setCols setCols.DTSg
Subset time series datasubset subset.DTSg
Summarise time series datasummary summary.DTSg
Temporal Aggregation Level Functions (TALFs)byFasttimeYmdHMS byFasttimeYmdHM_ byFasttimeYmdH__ byFasttimeYmd___ byFasttimeYm____ byFasttimeYQ____ byFasttimeY_____ byFasttime_m____ byFasttime_Q____ byFasttime___H__ byFasttime____M_ byFasttime_____S byFasttime______ byYmdHMS byYmdHM_ byYmdH__ byYmd___ byYm____ byYQ____ byY_____ by_m____ by_Q____ by___H__ by____M_ by_____S by______ TALFs
Get valuesvalues values.DTSg