Package: TractorTsbox 0.1.1

TractorTsbox: Wrangle and Modify Ts Object with Classic Frequencies and Exact Dates

The ts objects in R are managed using a very specific date format (in the form c(2022, 9) for September 2022 or c(2021, 2) for the second quarter of 2021, depending on the frequency, for example). We focus solely on monthly and quarterly series to manage the dates of ts objects. The general idea is to offer a set of functions to manage this date format without it being too restrictive or too imprecise depending on the rounding. This is a compromise between simplicity, precision and use of the basic \{stats\} functions for creating and managing time series (ts(), window()). Les objets ts en R sont gérés par un format de date très particulier (sous la forme c(2022, 9) pour septembre 2022 ou c(2021, 2) pour le deuxième trimestre 2021 selon la fréquence par exemple). On se concentre uniquement sur les séries mensuelles et trimestrielles pour gérer les dates des objets ts. Lidée générale est de proposer un ensemble de fonctions pour gérer ce format de date sans que ce soit trop contraignant ou trop imprécis selon les arrondis. Cest un compromis entre simplicité, précision et utilisation des fonctions du package \{stats\} de création et de gestion des séries temporelles (ts(), window()).

Authors:Tanguy Barthelemy [aut, cre]

TractorTsbox_0.1.1.tar.gz
TractorTsbox_0.1.1.zip(r-4.5)TractorTsbox_0.1.1.zip(r-4.4)TractorTsbox_0.1.1.zip(r-4.3)
TractorTsbox_0.1.1.tgz(r-4.5-any)TractorTsbox_0.1.1.tgz(r-4.4-any)TractorTsbox_0.1.1.tgz(r-4.3-any)
TractorTsbox_0.1.1.tar.gz(r-4.5-noble)TractorTsbox_0.1.1.tar.gz(r-4.4-noble)
TractorTsbox_0.1.1.tgz(r-4.4-emscripten)TractorTsbox_0.1.1.tgz(r-4.3-emscripten)
TractorTsbox.pdf |TractorTsbox.html
TractorTsbox/json (API)
NEWS

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

Bug tracker:https://github.com/tractortom/tractortsbox/issues

Pkgdown site:https://tractortom.github.io

Datasets:
  • ev_pib - Évolution du PIB français jusqu'au T1 2022

On CRAN:

Conda:

datedatetimetimeseriests

2.60 score 37 exports 2 dependencies

Last updated 17 hours agofrom:08a51392e9. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 31 2025
R-4.5-winOKMar 31 2025
R-4.5-macOKMar 31 2025
R-4.5-linuxOKMar 31 2025
R-4.4-winOKMar 31 2025
R-4.4-macOKMar 31 2025
R-4.4-linuxOKMar 31 2025
R-4.3-winOKMar 31 2025
R-4.3-macOKMar 31 2025

Exports:as_yyyymmas_yyyyttassert_date_tsassert_expressionassert_frequencyassert_scalar_dateassert_scalar_integerassert_scalar_naturalassert_timeunitsassert_tscheck_date_tscheck_expressioncheck_frequencycheck_scalar_datecheck_scalar_integercheck_scalar_naturalcheck_timeunitscheck_tscombine2tsdate_ts2datedate_ts2timeunitsdate2date_tsdiff_periodeextend_tsfirst_dateget_value_tsis_beforelast_datelibellesmens2trimna_trimnext_date_tsnormalize_date_tsprevious_date_tsset_value_tssubstr_yeartrim2mens

Dependencies:backportscheckmate

Readme and manuals