ggtime: Grammar of Graphics and Plot Helpers for Time Series Visualization

Extends the capabilities of 'ggplot2' by providing grammatical elements and plot helpers designed for visualizing temporal patterns. The package implements a grammar of temporal graphics, which leverages calendar structures to highlight changes over time. The package also provides plot helper functions to quickly produce commonly used time series graphics, including time plots, season plots, and seasonal sub-series plots.

Version: 0.2.0
Imports: ggplot2, grid, gtable, lifecycle, rlang, scales, tsibble, fabletools, dplyr, lubridate (≥ 1.7.1), tidyr, vctrs, cli
Suggests: testthat (≥ 3.0.0), tsibbledata, feasts, fable, ggrepel, roxygen2, ggdist, distributional, vdiffr, svglite, fontquiver, sysfonts, showtext
Published: 2026-02-09
DOI: 10.32614/CRAN.package.ggtime
Author: Mitchell O'Hara-Wild ORCID iD [aut, cre], Cynthia A. Huang ORCID iD [aut], Matthew Kay ORCID iD [aut], Rob Hyndman ORCID iD [aut], Earo Wang ORCID iD [ctb]
Maintainer: Mitchell O'Hara-Wild <mail at mitchelloharawild.com>
BugReports: https://github.com/mitchelloharawild/ggtime/issues
License: GPL (≥ 3)
URL: https://pkg.mitchelloharawild.com/ggtime/, https://github.com/mitchelloharawild/ggtime
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: ggtime results

Documentation:

Reference manual: ggtime.html , ggtime.pdf

Downloads:

Package source: ggtime_0.2.0.tar.gz
Windows binaries: r-devel: ggtime_0.1.0.zip, r-release: ggtime_0.1.0.zip, r-oldrel: ggtime_0.1.0.zip
macOS binaries: r-release (arm64): ggtime_0.2.0.tgz, r-oldrel (arm64): ggtime_0.2.0.tgz, r-release (x86_64): ggtime_0.2.0.tgz, r-oldrel (x86_64): ggtime_0.2.0.tgz
Old sources: ggtime archive

Reverse dependencies:

Reverse imports: feasts
Reverse suggests: fabletools

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ggtime to link to this page.