===============================
Dates, Times, and Time Series
===============================
Temporal data, consisting of dates and times, pose their own challenges.
Time is measured in non-metric units, in hours, minutes and seconds.
Dates can be recorded according to various calendaric systems, and are
complicated by leap days and leap seconds. *R* provides facilities to
convert times and dates into different calendaric systems, to format
temporal data and to import temporal data recorded in different
formats. This is one topic of this chapter. The other topic are time
series and similar data structures (such as panels). Basic time series
consist of measurements conducted in regular temporal intervals, but
beside these basic variants, *R* also supports irregular time
series. The chapter therefore also the discusses the construction and
manipulation of regular and irregular time series.
Below is the supporting material for the
various sections of the chapter.
Dates and Times
===============
.. nbgallery::
07-dates-times-timeseries/date-objects-date-formatting.ipynb
07-dates-times-timeseries/date-arithmetic.ipynb
07-dates-times-timeseries/POSIXct-time-objects.ipynb
07-dates-times-timeseries/time-arithmetic.ipynb
07-dates-times-timeseries/POSIXlt-time-objects.ipynb
07-dates-times-timeseries/ISOdate.ipynb
07-dates-times-timeseries/time-differences.ipynb
Time Series
===========
Regular time series
-------------------
.. nbgallery::
07-dates-times-timeseries/presidents-timeseries.ipynb
07-dates-times-timeseries/OECD-unemployment.ipynb
07-dates-times-timeseries/artificial-timeseries.ipynb
07-dates-times-timeseries/time-arithmetic.ipynb
Irregular time series and the *zoo* package
-------------------------------------------
.. nbgallery::
07-dates-times-timeseries/creating-zoo-objects-presidents.ipynb
07-dates-times-timeseries/creating-zoo-objects-unemployment.ipynb
07-dates-times-timeseries/subsetting-zoo-objects.ipynb
07-dates-times-timeseries/handling-missing-values.ipynb
07-dates-times-timeseries/rolling-statistics.ipynb
07-dates-times-timeseries/time-arithmetic-zoo.ipynb
07-dates-times-timeseries/merging-timeseries.ipynb
07-dates-times-timeseries/importing-zoo-objects.ipynb