Data for "Forecasting: Principles and Practice" (2nd Edition)

All data sets required for the examples and exercises in the book "Forecasting: principles and practice" by Rob J Hyndman and George Athanasopoulos < https://OTexts.org/fpp2/>. All packages required to run the examples are also loaded.


Travis-CI Build Status CRAN_Status_Badge Downloads Rdoc

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 (https://OTexts.org/fpp2/). All packages required to run the examples are also loaded.

Installation

You can install the stable version on R CRAN.

install.packages('fpp2', dependencies = TRUE)

You can install the development version from Github

# install.packages("devtools")
devtools::install_github("robjhyndman/fpp2-package")

License

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

News

Version 2.3 (13 April 2018)

  • Changed scale of visnights and gasoline
  • Added packages to Suggests for all examples
  • Now depends on forecast v8.3+

Version 2.2 (24 January 2018)

  • Added raw data to package
  • Added elecdaily
  • Added visnights
  • Added goog200
  • Added prison and prisonLF
  • Updated all available data
  • Corrected some documentation

Version 2.1 (25 May 2017)

  • Switched to roxygen
  • Fixed documentation
  • Fixed some data dimension errors
  • Restricted uschange data to 1970+

Version 2.0 (23 February 2017)

  • Updated for 2nd edition of book
  • Updated data where available
  • Corrected some help files
  • Added new data

Version 0.5 (14 March 2013)

  • added vn, debitcards, departures and cafe data sets.
  • missing value removed from end of usmelec.

Version 0.4 (30 April 2012)

  • euretail data added.

Version 0.3 (26 March 2012)

  • More data added

Version 0.2 (22 February 2012)

  • More data added
  • Changed description so it now mentions the book rather than the workshop.

Version 0.1 (4 June 2011)

  • Started adding data files for FPP workshop.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("fpp2")

2.3 by Rob Hyndman, a year ago


https://pkg.robjhyndman.com/fpp2-package, https://github.com/robjhyndman/fpp2-package, https://OTexts.org/fpp2/


Browse source code at https://github.com/cran/fpp2


Authors: Rob Hyndman [aut, cre, cph]


Documentation:   PDF Manual  


Task views: Time Series Analysis


GPL (>= 3) license


Depends on ggplot2, forecast, fma, expsmooth

Suggests GGally, gridExtra, Mcomp, purrr, seasonal, tidyverse, vars


See at CRAN