Taylor & Francis Group
Browse
1/1
2 files

A New Tidy Data Structure to Support Exploration and Modeling of Temporal Data

Version 3 2021-09-29, 16:19
Version 2 2020-01-01, 22:36
Version 1 2019-11-22, 15:31
dataset
posted on 2021-09-29, 16:19 authored by Earo Wang, Dianne Cook, Rob J. Hyndman

Mining temporal data for information is often inhibited by a multitude of formats: regular or irregular time intervals, point events that need aggregating, multiple observational units or repeated measurements on multiple individuals, and heterogeneous data types. This work presents a cohesive and conceptual framework for organizing and manipulating temporal data, which in turn flows into visualization, modeling, and forecasting routines. Tidy data principles are extended to temporal data by: (1) mapping the semantics of a dataset into its physical layout; (2) including an explicitly declared “index” variable representing time; (3) incorporating a “key” comprising single or multiple variables to uniquely identify units over time. This tidy data representation most naturally supports thinking of operations on the data as building blocks, forming part of a “data pipeline” in time-based contexts. A sound data pipeline facilitates a fluent workflow for analyzing temporal data. The infrastructure of tidy temporal data has been implemented in the R package, called tsibble. Supplementary materials for this article are available online.

History