{
  "_id": "6a1dbfb81d7bb097a0a57a86",
  "Package": "TractorTsbox",
  "Title": "Wrangle and Modify Ts Object with Classic Frequencies and Exact\nDates",
  "Version": "0.1.1",
  "Authors@R": "person(\"Tanguy\", \"Barthelemy\", email = \"tangbarth@hotmail.fr\", role = c(\"aut\", \"cre\"))",
  "Description": "The ts objects in R are managed using a very specific date\nformat (in the form c(2022, 9) for September 2022 or c(2021, 2)\nfor the second quarter of 2021, depending on the frequency, for\nexample). We focus solely on monthly and quarterly series to\nmanage the dates of ts objects. The general idea is to offer a\nset of functions to manage this date format without it being\ntoo restrictive or too imprecise depending on the rounding.\nThis is a compromise between simplicity, precision and use of\nthe basic 'stats' functions for creating and managing time\nseries (ts(), window()). Les objets ts en R sont gérés par un\nformat de date très particulier (sous la forme c(2022, 9) pour\nseptembre 2022 ou c(2021, 2) pour le deuxième trimestre 2021\nselon la fréquence par exemple). On se concentre uniquement sur\nles séries mensuelles et trimestrielles pour gérer les dates\ndes objets ts. Lidée générale est de proposer un ensemble de\nfonctions pour gérer ce format de date sans que ce soit trop\ncontraignant ou trop imprécis selon les arrondis. Cest un\ncompromis entre simplicité, précision et utilisation des\nfonctions du package 'stats' de création et de gestion des\nséries temporelles (ts(), window()).",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/TractorTom/TractorTsbox,\nhttps://tractortom.github.io/TractorTsbox/",
  "BugReports": "https://github.com/TractorTom/TractorTsbox/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 16:43:24 UTC",
    "User": "root"
  },
  "Author": "Tanguy Barthelemy [aut, cre]",
  "Maintainer": "Tanguy Barthelemy <tangbarth@hotmail.fr>",
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-06-01 03:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/TractorTsbox",
  "RemoteSha": "78442176db38c9da0d5d7bf66061d4f5c2ff6ee7",
  "RemoteSubdir": "TractorTsbox",
  "MD5sum": "eb74e53e31940c37c71331631a5e332d",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "TractorTsbox_0.1.1.tar.gz",
  "_fileid": "e0a8b5fc473321073ebc2c70d6f2b097af11dd122cff4374fcf9c85e867a86ae",
  "_filesize": 216874,
  "_sha256": "e0a8b5fc473321073ebc2c70d6f2b097af11dd122cff4374fcf9c85e867a86ae",
  "_created": "2026-06-01T16:43:24.000Z",
  "_published": "2026-06-01T17:22:00.291Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78901664694,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7337459318"
    },
    {
      "job": 78901664688,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7337462035"
    },
    {
      "job": 78901664724,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7338208140"
    },
    {
      "job": 78901664689,
      "time": 94,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7338207387"
    },
    {
      "job": 78901142069,
      "time": 178,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7337397018"
    },
    {
      "job": 78901664801,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7337457687"
    },
    {
      "job": 78901664717,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7337446646"
    },
    {
      "job": 78901664709,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7337445016"
    },
    {
      "job": 78901664780,
      "time": 85,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7337443895"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26768436001",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_commit": {
    "id": "78442176db38c9da0d5d7bf66061d4f5c2ff6ee7",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add TractorTsbox to CRANhaven, because archived on 2026-06-01 03:02:00 +0000\n",
    "time": 1780282920
  },
  "_maintainer": {
    "name": "Tanguy Barthelemy",
    "email": "tangbarth@hotmail.fr",
    "login": "tractortom",
    "description": "Hi, I like programming, data structures, refactoring and especially algorithms. I hate people who use LLMs to get on the Avent of code leaderboard.",
    "uuid": 42657524
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "renv",
      "role": "Suggests"
    },
    {
      "package": "fuzzr",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "usethis",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "altdoc",
      "role": "Suggests"
    }
  ],
  "_owner": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 147,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/TractorTsbox"
  },
  "_devurl": "https://github.com/tractortom/tractortsbox",
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/TractorTsbox.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/tractortom/tractortsbox",
  "_realowner": "tractortom",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2025-04-03"
    }
  ],
  "_exports": [
    "as_yyyymm",
    "as_yyyytt",
    "assert_date_ts",
    "assert_expression",
    "assert_frequency",
    "assert_scalar_date",
    "assert_scalar_integer",
    "assert_scalar_natural",
    "assert_timeunits",
    "assert_ts",
    "check_date_ts",
    "check_expression",
    "check_frequency",
    "check_scalar_date",
    "check_scalar_integer",
    "check_scalar_natural",
    "check_timeunits",
    "check_ts",
    "combine2ts",
    "date_ts2date",
    "date_ts2timeunits",
    "date2date_ts",
    "diff_periode",
    "extend_ts",
    "first_date",
    "get_value_ts",
    "is_before",
    "last_date",
    "libelles",
    "mens2trim",
    "na_trim",
    "next_date_ts",
    "normalize_date_ts",
    "previous_date_ts",
    "set_value_ts",
    "substr_year",
    "trim2mens"
  ],
  "_datasets": [
    {
      "name": "ev_pib",
      "title": "Évolution du PIB français jusqu'au T1 2022",
      "object": "ev_pib",
      "class": [
        "ts"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_yyyytt",
      "title": "Conversion au format date_ts",
      "topics": [
        "as_yyyymm",
        "as_yyyytt"
      ]
    },
    {
      "page": "check_date_ts",
      "title": "Vérifie le format de date",
      "topics": [
        "assert_date_ts",
        "check_date_ts"
      ]
    },
    {
      "page": "check_expression",
      "title": "Vérifie la conformité d'une expression",
      "topics": [
        "assert_expression",
        "check_expression"
      ]
    },
    {
      "page": "check_frequency",
      "title": "Vérifie la conformité d'une fréquence",
      "topics": [
        "assert_frequency",
        "check_frequency"
      ]
    },
    {
      "page": "check_scalar_date",
      "title": "Vérifie la conformité d'une date scalaire",
      "topics": [
        "assert_scalar_date",
        "check_scalar_date"
      ]
    },
    {
      "page": "check_scalar_integer",
      "title": "Vérifie la conformité d'un entier scalaire",
      "topics": [
        "assert_scalar_integer",
        "check_scalar_integer"
      ]
    },
    {
      "page": "check_scalar_natural",
      "title": "Vérifie la conformité d'un entier naturel",
      "topics": [
        "assert_scalar_natural",
        "check_scalar_natural"
      ]
    },
    {
      "page": "check_timeunits",
      "title": "Vérifie la conformité d'un objet TimeUnits",
      "topics": [
        "assert_timeunits",
        "check_timeunits"
      ]
    },
    {
      "page": "check_ts",
      "title": "Vérifie la conformité d'un objet ts",
      "topics": [
        "assert_ts",
        "check_ts"
      ]
    },
    {
      "page": "combine2ts",
      "title": "Combiner 2 ts",
      "topics": [
        "combine2ts"
      ]
    },
    {
      "page": "date_ts2date",
      "title": "Conversion d'une date du format TS au format date",
      "topics": [
        "date_ts2date"
      ]
    },
    {
      "page": "date_ts2timeunits",
      "title": "Conversion d'une date du format date_ts au format TimeUnits",
      "topics": [
        "date_ts2timeunits"
      ]
    },
    {
      "page": "date2date_ts",
      "title": "Conversion d'une date au format TS",
      "topics": [
        "date2date_ts"
      ]
    },
    {
      "page": "diff_periode",
      "title": "Intervalle entre 2 dates",
      "topics": [
        "diff_periode"
      ]
    },
    {
      "page": "ev_pib",
      "title": "Évolution du PIB français jusqu'au T1 2022",
      "topics": [
        "ev_pib"
      ]
    },
    {
      "page": "extend_ts",
      "title": "Ajoute de nouvelles valeurs à un ts",
      "topics": [
        "extend_ts"
      ]
    },
    {
      "page": "first_date",
      "title": "Première date non NA",
      "topics": [
        "first_date"
      ]
    },
    {
      "page": "get_value_ts",
      "title": "Récupère des valeurs d'un ts",
      "topics": [
        "get_value_ts"
      ]
    },
    {
      "page": "is_before",
      "title": "Comparaison de 2 date_ts",
      "topics": [
        "is_before"
      ]
    },
    {
      "page": "last_date",
      "title": "Dernière date non NA",
      "topics": [
        "last_date"
      ]
    },
    {
      "page": "libelles",
      "title": "Libelés pour une période",
      "topics": [
        "libelles"
      ]
    },
    {
      "page": "na_trim",
      "title": "Supprime les NA aux bords",
      "topics": [
        "na_trim"
      ]
    },
    {
      "page": "next_date_ts",
      "title": "Obtenir la date suivante",
      "topics": [
        "next_date_ts"
      ]
    },
    {
      "page": "normalize_date_ts",
      "title": "Ajuste un objet date_ts dans un format conforme.",
      "topics": [
        "normalize_date_ts"
      ]
    },
    {
      "page": "previous_date_ts",
      "title": "Obtenir la date précédente",
      "topics": [
        "previous_date_ts"
      ]
    },
    {
      "page": "set_value_ts",
      "title": "Change certaines valeurs d'un ts",
      "topics": [
        "set_value_ts"
      ]
    },
    {
      "page": "substr_year",
      "title": "Retire une année à une date",
      "topics": [
        "substr_year"
      ]
    },
    {
      "page": "trim2mens",
      "title": "Conversion entre date mensuelle et trimestrielle",
      "topics": [
        "mens2trim",
        "trim2mens"
      ]
    }
  ],
  "_readme": "https://github.com/cranhaven/cranhaven.r-universe.dev/raw/package/TractorTsbox/TractorTsbox/README.md",
  "_rundeps": [
    "backports",
    "checkmate"
  ],
  "_score": 2.3979400086720375,
  "_indexed": false,
  "_nocasepkg": "tractortsbox",
  "_universes": [
    "cranhaven"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-01T16:46:25.000Z",
      "distro": "noble",
      "commit": "78442176db38c9da0d5d7bf66061d4f5c2ff6ee7",
      "fileid": "fcf2eae0f46ad7c0381bb9f5332396b55a66e3dfaecb27f8828ab2759f2ab548",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26768436001"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-06-01T16:46:35.000Z",
      "distro": "noble",
      "commit": "78442176db38c9da0d5d7bf66061d4f5c2ff6ee7",
      "fileid": "87f41bfd572b56263b33c62570c0a5c5b830b4411453cefbfb567a07c1da1f96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26768436001"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-01T17:21:19.000Z",
      "commit": "78442176db38c9da0d5d7bf66061d4f5c2ff6ee7",
      "fileid": "9ff7dfce2c33bee8b29c37b6c70e5e33f4947c0f4bb6904367ae9168689cf513",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26768436001"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-06-01T17:21:23.000Z",
      "commit": "78442176db38c9da0d5d7bf66061d4f5c2ff6ee7",
      "fileid": "5660bacfe8701c7ed34cd05c63b1fb58a6a07779c97d126ce2a8bff4362906fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26768436001"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-06-01T16:46:32.000Z",
      "commit": "78442176db38c9da0d5d7bf66061d4f5c2ff6ee7",
      "fileid": "a4d1b723e38f00decfb7342bccc585f5372a1f98908171c6919ad20bee57f17b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26768436001"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-01T16:45:41.000Z",
      "commit": "78442176db38c9da0d5d7bf66061d4f5c2ff6ee7",
      "fileid": "c4e81add7a7156f5c7cc5eb6977abddc088c9a579c3cc549f85c90983b930a04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26768436001"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-01T16:45:33.000Z",
      "commit": "78442176db38c9da0d5d7bf66061d4f5c2ff6ee7",
      "fileid": "861b4288d88909677de540881b0a9cdd1c6661be73266383f12a052b4c83d9ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26768436001"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-06-01T16:45:36.000Z",
      "commit": "78442176db38c9da0d5d7bf66061d4f5c2ff6ee7",
      "fileid": "e3412f0bbd6def8604c653514db2667f96fc8c91f3a2f4222658ede6b747a93a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/26768436001"
    }
  ]
}