WOMBAT
  • Schedule
  • Contact
  • About
    • Code of Conduct
    • Organising Committee
  • Register
  • Live Program

mixtime: Temporal data for better analytics

Mitchell O’Hara-Wild introduces mixtime, an R package for representing and analysing data across multiple time granularities, at WOMBAT 2026.
Published

December 1, 2026

December 01, 10:30 AM

mixtime: Temporal data for better analytics

Time is inherently complex, spanning time zones, calendar systems, and many different temporal resolutions, from event data recorded with millisecond precision to annual reports that aggregate an entire year into a single point. Existing data structures for time typically support only a single granularity, forcing analysts to misrepresent temporal semantics in order to use standard analysis and visualisation tools. For example, it is common to encode monthly data as dates using the first day of the month, or to aggregate everything up to the coarsest common granularity, both of which silently discard information and increase the risk of downstream errors. Analysis across multiple granularities adds to this complexity (e.g. ABS increasing CPI reporting frequency from quarterly to monthly), which existing data types simply aren't designed to handle.

The mixtime R package overcomes these limitations with granules: first-class extensible objects that characterise temporal semantics, connected via calendar algebra into a traversable graph that supports arithmetic and comparisons across granularities. Time points can further take different modes (linear or cyclical, durations or intervals) and be discrete time spans or continuous time instants. Each combination of properties determines which operations are valid. This talk shows how mixtime's semantic-preserving design enables better tools for exploratory time series analysis. I'll showcase new additions to the ggtime package built directly on this foundation: scale_x_mixtime() for correctly positioning mixed-granularity observations, geom_time_line() for connecting them, and coord_calendar() for arranging timelines in calendar layouts. I will close with a broader look at other analysis tasks that mixtime facilitates with safer semantic-preserving operations.

Register for the workshop day
Mitchell O'Hara-Wild

Mitchell O'Hara-Wild

Mitchell O’Hara-Wild (he/him) is a PhD candidate at Monash University with over 10 years of experience in time series forecasting, open source software development, and teaching statistics. His recent research focuses on semantic vector types that preserve the structure of probabilistic, temporal, and graph data for safer statistical analysis, including the distributional, mixtime, and graphvec R packages. These semantics are demonstrated in practice by the fable forecasting package, which combines these vectors to facilitate probabilistic forecasting workflows at scale.

Workshop Organised by the Monash Business Analytics Team