The R package fpp2 contains all data sets required for the examples and exercises in the book “Forecasting: principles and practice” by Rob J Hyndman and George Athanasopoulos ( All packages required to run the examples are also loaded.


You can install the stable version on R CRAN.

You can install the development version from Github


This package is free and open source software, licensed under GPL (>= 3).