ABSTRACT

Most data collected in operational processes are time series. These are data sets where each measurement is associated with the time of the measurement or observation. This chapter introduces a study which looks at synthetic data collected from water meters from individual houses. Meter reads collected at a high frequency provide valuable insights into water consumption, such as leak detection. This chapter explains how the R language manages dates and times and uses this knowledge to explore time series data. The learning objectives for this chapter are:

Understand the principles of how the R language processes date and time variables.

Apply the functionality of the Lubridate package to manipulate dates and times.

Use date and time variables in calculations and visualisations.