{
  "_id": "6a1cafe31d7bb097a0a3374c",
  "Package": "DTSg",
  "Type": "Package",
  "Title": "A Class for Working with Time Series Data Based on 'data.table'\nand 'R6' with Largely Optional Reference Semantics",
  "Version": "2.1.0.9000",
  "Authors@R": "person(\"Gerold\", \"Hepp\", email = \"gisler@hepp.cc\", role = c(\"aut\", \"cre\"))",
  "Description": "Basic time series data functionalities such as listing of\nmissing values, application of arbitrary aggregation as well as\nrolling (asymmetric) window functions and automatic detection\nof periodicity. As it is mainly based on 'data.table', it is\nfast and (in combination with the 'R6' package) offers\nreference semantics. In addition to its native R6 interface, it\nprovides an S3 interface for those who prefer the latter.\nFinally yet importantly, its functional approach allows for\nincorporating functionalities from many other packages.",
  "License": "MIT + file LICENSE",
  "URL": "https://gisler.github.io/DTSg/",
  "BugReports": "https://github.com/gisler/DTSg/issues",
  "Language": "en-GB",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "ByteCompile": "true",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "Config/roxygen2/markdown": "TRUE",
  "Config/roxygen2/r6": "FALSE",
  "Repository": "https://gisler.r-universe.dev",
  "Date/Publication": "2026-05-31 20:56:44 UTC",
  "RemoteUrl": "https://github.com/gisler/dtsg",
  "RemoteRef": "HEAD",
  "RemoteSha": "d66fd0545cea412548682f69d3994d32e0a7a250",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-31 21:58:50 UTC",
    "User": "root"
  },
  "Author": "Gerold Hepp [aut, cre]",
  "Maintainer": "Gerold Hepp <gisler@hepp.cc>",
  "MD5sum": "5ed032f949bf2b093ac4c1681407765e",
  "_user": "gisler",
  "_type": "src",
  "_file": "DTSg_2.1.0.9000.tar.gz",
  "_fileid": "f5086653be6a36e9971eb6bcb5e627f76c57ce412b9aa88c698e58f831db3503",
  "_filesize": 415606,
  "_sha256": "f5086653be6a36e9971eb6bcb5e627f76c57ce412b9aa88c698e58f831db3503",
  "_created": "2026-05-31T21:58:50.000Z",
  "_published": "2026-05-31T22:02:11.616Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78760368257,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7320437017"
    },
    {
      "job": 78760368266,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7320436123"
    },
    {
      "job": 78760368263,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7320433790"
    },
    {
      "job": 78760368256,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7320434535"
    },
    {
      "job": 78760201376,
      "time": 180,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7320422300"
    },
    {
      "job": 78760368244,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7320432682"
    },
    {
      "job": 78760368260,
      "time": 121,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7320435239"
    },
    {
      "job": 78760368271,
      "time": 105,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7320433329"
    },
    {
      "job": 78760368268,
      "time": 163,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7320439635"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gisler/actions/runs/26725597191",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/gisler/dtsg",
  "_commit": {
    "id": "d66fd0545cea412548682f69d3994d32e0a7a250",
    "author": "gisler <gisler@users.noreply.github.com>",
    "committer": "gisler <gisler@users.noreply.github.com>",
    "message": "misc: update to `roxygen2` v8.0.0\n",
    "time": 1780261004
  },
  "_maintainer": {
    "name": "Gerold Hepp",
    "email": "gisler@hepp.cc",
    "login": "gisler",
    "description": "",
    "uuid": 19665733
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "timechange",
      "role": "Imports"
    },
    {
      "package": "dygraphs",
      "role": "Suggests"
    },
    {
      "package": "fasttime",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "RColorBrewer",
      "role": "Suggests"
    },
    {
      "package": "RcppCCTZ",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "runner",
      "version": ">= 0.3.5",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "units",
      "role": "Suggests"
    }
  ],
  "_owner": "gisler",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-52",
      "n": 2
    },
    {
      "week": "2026-01",
      "n": 9
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 3
    },
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 8
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "2.1.0",
      "date": "2026-03-28"
    }
  ],
  "_topics": [
    "class",
    "reference-semantics",
    "time-series-data"
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "gisler",
      "count": 394,
      "uuid": 19665733
    }
  ],
  "_userbio": {
    "uuid": 19665733,
    "type": "user",
    "name": "Gerold Hepp"
  },
  "_downloads": {
    "count": 647,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DTSg"
  },
  "_devurl": "https://github.com/gisler/dtsg",
  "_pkgdown": "https://gisler.github.io/DTSg/",
  "_searchresults": 24,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DTSg.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/gisler/dtsg",
  "_realowner": "gisler",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2019-03-13"
    },
    {
      "version": "0.1.3",
      "date": "2019-08-29"
    },
    {
      "version": "0.2.0",
      "date": "2019-10-14"
    },
    {
      "version": "0.2.1",
      "date": "2019-10-20"
    },
    {
      "version": "0.3.0",
      "date": "2020-01-08"
    },
    {
      "version": "0.4.0",
      "date": "2020-03-28"
    },
    {
      "version": "0.4.1",
      "date": "2020-05-08"
    },
    {
      "version": "0.5.0",
      "date": "2020-06-09"
    },
    {
      "version": "0.6.0",
      "date": "2020-07-12"
    },
    {
      "version": "0.7.0",
      "date": "2020-09-05"
    },
    {
      "version": "0.7.1",
      "date": "2021-05-30"
    },
    {
      "version": "0.8.1",
      "date": "2021-10-27"
    },
    {
      "version": "1.0.0",
      "date": "2022-05-02"
    },
    {
      "version": "1.1.1",
      "date": "2022-06-08"
    },
    {
      "version": "1.1.3",
      "date": "2023-09-28"
    },
    {
      "version": "2.0.0",
      "date": "2025-01-20"
    },
    {
      "version": "2.1.0",
      "date": "2026-03-28"
    }
  ],
  "_exports": [
    "alter",
    "by______",
    "by_____S",
    "by____M_",
    "by___H__",
    "by_m____",
    "by_Q____",
    "byY_____",
    "byYm____",
    "byYmd___",
    "byYmdH__",
    "byYmdHM_",
    "byYmdHMS",
    "byYQ____",
    "clone",
    "colapply",
    "cols",
    "DTSg",
    "getCol",
    "interpolateLinear",
    "nas",
    "refresh",
    "rollapply",
    "rollback",
    "rowaggregate",
    "rowbind",
    "S3WrapperGenerator",
    "setColNames",
    "setCols",
    "values"
  ],
  "_datasets": [
    {
      "name": "flow",
      "title": "Daily river flows",
      "object": "flow",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "date",
        "flow"
      ],
      "rows": 2169,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "aggregate.DTSg",
      "title": "Aggregate time series data",
      "topics": [
        "aggregate",
        "aggregate.DTSg"
      ]
    },
    {
      "page": "alter.DTSg",
      "title": "Alter time series",
      "topics": [
        "alter",
        "alter.DTSg"
      ]
    },
    {
      "page": "clone.DTSg",
      "title": "Clone time series",
      "topics": [
        "clone",
        "clone.DTSg"
      ]
    },
    {
      "page": "colapply.DTSg",
      "title": "Apply a function column-wise",
      "topics": [
        "capply",
        "colapply",
        "colapply.DTSg"
      ]
    },
    {
      "page": "cols.DTSg",
      "title": "Get column names",
      "topics": [
        "cols",
        "cols.DTSg",
        "names"
      ]
    },
    {
      "page": "DTSg",
      "title": "DTSg class",
      "topics": [
        "DTSg",
        "new"
      ]
    },
    {
      "page": "flow",
      "title": "Daily river flows",
      "topics": [
        "flow"
      ]
    },
    {
      "page": "getCol.DTSg",
      "title": "Get column vector",
      "topics": [
        "getCol",
        "getCol.DTSg",
        "[.DTSg"
      ]
    },
    {
      "page": "interpolateLinear.numeric",
      "title": "Linear interpolation",
      "topics": [
        "interpolateLinear",
        "interpolateLinear.numeric"
      ]
    },
    {
      "page": "merge.DTSg",
      "title": "Merge two time series",
      "topics": [
        "merge",
        "merge.DTSg"
      ]
    },
    {
      "page": "nas.DTSg",
      "title": "List missing values",
      "topics": [
        "nas",
        "nas.DTSg"
      ]
    },
    {
      "page": "plot.DTSg",
      "title": "Plot time series data",
      "topics": [
        "plot",
        "plot.DTSg"
      ]
    },
    {
      "page": "print.DTSg",
      "title": "Print time series",
      "topics": [
        "print",
        "print.DTSg"
      ]
    },
    {
      "page": "refresh.DTSg",
      "title": "Time series integrity",
      "topics": [
        "refresh",
        "refresh.DTSg"
      ]
    },
    {
      "page": "rollapply.DTSg",
      "title": "Rolling window function",
      "topics": [
        "rollapply",
        "rollapply.DTSg"
      ]
    },
    {
      "page": "rollback.POSIXct",
      "title": "Rollback of months",
      "topics": [
        "rollback",
        "rollback.POSIXct"
      ]
    },
    {
      "page": "rowaggregate.DTSg",
      "title": "Aggregate values row-wise",
      "topics": [
        "raggregate",
        "rowaggregate",
        "rowaggregate.DTSg"
      ]
    },
    {
      "page": "rowbind.DTSg",
      "title": "Combine rows",
      "topics": [
        "rbind",
        "rowbind",
        "rowbind.DTSg"
      ]
    },
    {
      "page": "S3WrapperGenerator",
      "title": "S3 wrapper method generator",
      "topics": [
        "S3WrapperGenerator"
      ]
    },
    {
      "page": "setColNames.DTSg",
      "title": "Set column names",
      "topics": [
        "setColNames",
        "setColNames.DTSg",
        "setnames"
      ]
    },
    {
      "page": "setCols.DTSg",
      "title": "Set column values",
      "topics": [
        "set",
        "setCols",
        "setCols.DTSg"
      ]
    },
    {
      "page": "subset.DTSg",
      "title": "Subset time series data",
      "topics": [
        "subset",
        "subset.DTSg"
      ]
    },
    {
      "page": "summary.DTSg",
      "title": "Summarise time series data",
      "topics": [
        "summary",
        "summary.DTSg"
      ]
    },
    {
      "page": "TALFs",
      "title": "Temporal Aggregation Level Functions (TALFs)",
      "topics": [
        "byYmdHMS",
        "byYmdHMS.POSIXct",
        "byYmdHM_",
        "byYmdHM_.POSIXct",
        "byYmdH__",
        "byYmdH__.POSIXct",
        "byYmd___",
        "byYmd___.POSIXct",
        "byYm____",
        "byYm____.POSIXct",
        "byYQ____",
        "byYQ____.POSIXct",
        "byY_____",
        "byY_____.POSIXct",
        "by_m____",
        "by_m____.POSIXct",
        "by_Q____",
        "by_Q____.POSIXct",
        "by___H__",
        "by___H__.POSIXct",
        "by____M_",
        "by____M_.POSIXct",
        "by_____S",
        "by_____S.POSIXct",
        "by______",
        "by______.POSIXct",
        "TALFs"
      ]
    },
    {
      "page": "values.DTSg",
      "title": "Get time series data",
      "topics": [
        "values",
        "values.DTSg"
      ]
    }
  ],
  "_readme": "https://github.com/gisler/dtsg/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "cpp11",
    "data.table",
    "R6",
    "timechange"
  ],
  "_vignettes": [
    {
      "source": "a_basicUsage.Rmd",
      "filename": "a_basicUsage.html",
      "title": "A. Basic usage",
      "author": "Gerold Hepp",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Object creation",
        "Object inspection",
        "Object manipulation",
        "Object fields"
      ],
      "created": "2019-09-03 21:51:15",
      "modified": "2026-01-02 12:41:39",
      "commits": 33
    },
    {
      "source": "b_advancedUsage.Rmd",
      "filename": "b_advancedUsage.html",
      "title": "B. Advanced usage",
      "author": "Gerold Hepp",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Reference semantics",
        "Note",
        "Chaining and piping",
        "Swallowing and dropping",
        "Column access"
      ],
      "created": "2019-09-03 21:51:15",
      "modified": "2024-12-10 20:01:44",
      "commits": 18
    }
  ],
  "_score": 6.1126050015345745,
  "_indexed": true,
  "_nocasepkg": "dtsg",
  "_universes": [
    "gisler"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0.9000",
      "date": "2026-05-31T22:01:07.000Z",
      "distro": "noble",
      "commit": "d66fd0545cea412548682f69d3994d32e0a7a250",
      "fileid": "9d3909dfaec8a5851434ebf2a41d9bb7ad258901988a7890e39a37b6bdc7f763",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gisler/actions/runs/26725597191"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.0.9000",
      "date": "2026-05-31T22:00:52.000Z",
      "distro": "noble",
      "commit": "d66fd0545cea412548682f69d3994d32e0a7a250",
      "fileid": "56fbc68a98754fa6989c439cfd2df4daba6086456579e0045a2ceadb3ac97eed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gisler/actions/runs/26725597191"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0.9000",
      "date": "2026-05-31T22:00:29.000Z",
      "commit": "d66fd0545cea412548682f69d3994d32e0a7a250",
      "fileid": "4804a2a1ca4a84c7cee91a6a4ad085d24efd9fb6221870280d8991b76a5b1ade",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gisler/actions/runs/26725597191"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.0.9000",
      "date": "2026-05-31T22:00:37.000Z",
      "commit": "d66fd0545cea412548682f69d3994d32e0a7a250",
      "fileid": "a7321f5aa48f2ade7088395dad0a2376f180f8a60f36c606d4a12386e6b24a5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gisler/actions/runs/26725597191"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0.9000",
      "date": "2026-05-31T22:00:54.000Z",
      "commit": "d66fd0545cea412548682f69d3994d32e0a7a250",
      "fileid": "9fd30d6a80e2bc6fae5095f12ddbaa78fee8e860c8b3aa266f269a6f81781547",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gisler/actions/runs/26725597191"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0.9000",
      "date": "2026-05-31T22:00:18.000Z",
      "commit": "d66fd0545cea412548682f69d3994d32e0a7a250",
      "fileid": "a5edb217f12d11745a9b59e68279e7b25d561c2a2157ba75cbd3d8c75164c6c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gisler/actions/runs/26725597191"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0.9000",
      "date": "2026-05-31T22:00:00.000Z",
      "commit": "d66fd0545cea412548682f69d3994d32e0a7a250",
      "fileid": "966d90ade352389b9b23dac6784c93f423d30d955c750d9925f94b2a82286438",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gisler/actions/runs/26725597191"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.0.9000",
      "date": "2026-05-31T22:00:54.000Z",
      "commit": "d66fd0545cea412548682f69d3994d32e0a7a250",
      "fileid": "ffb29bb18bdcdd91b799ca784d645b646252636468b38cab0b2ac9aaac5c1d60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gisler/actions/runs/26725597191"
    }
  ]
}