Setting Up

Before diving into analysis, let’s make sure we have all the tools we need to get ready. We need to set up our R environment with the right tools. The tidyverts ecosystem — built around the tidyverse — makes time series analysis intuitive, consistent and visually appealing.

Tidyverts Package Collection

Tidyverse Package Collection

This section will cover installing and loading the packages we will use and checking that your R environment is prepared for a smooth time series work.

We will address the following:

After going through this section your R environment will be a fully-equipped time series analysis workshop. You will understand the role of each major package (tsibble, fable, feasts) and how they interoperate.

More importantly you will get the practical knowledge to install and load them correctly, setting a stable foundation for every analysis you perform in the following chapters.