Skip to content
Data and packages for "Forecasting: Principles and Practice" 3rd edition.
R
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R Updated us_change description Oct 6, 2019
data-raw Removed uschange.csv Oct 6, 2019
data Added titles from us_employment README Oct 6, 2019
docs Added George as contributor Oct 6, 2019
man Added George as contributor Oct 6, 2019
.Rbuildignore Sent to CRAN Sep 29, 2019
.covrignore First working version Jul 5, 2019
.gitignore Switching to docs pkgdown Jul 6, 2019
.travis.yml Removed v3.3 and 3.4 from travis Oct 6, 2019
CRAN-RELEASE Updated cran comments and resubmitted Oct 8, 2019
DESCRIPTION Added George as contributor Oct 6, 2019
NAMESPACE Removed ggplot2 import Jul 6, 2019
NEWS.md
README.Rmd Getting ready for CRAN Sep 29, 2019
README.md Updated pkgdown site Sep 29, 2019
_pkgdown.yml Updated pkgdown site Sep 29, 2019
cran-comments.md Updated cran comments and resubmitted Oct 8, 2019
fpp3-package.Rproj Cleaning up Jul 6, 2019

README.md

fpp3

CRAN status Travis build status

Overview

The fpp3 package contains data used in the book Forecasting: Principles and Practice (3rd edition) by Rob J Hyndman and George Athanasopoulos. It also loads several packages needed to do the analysis described in the book. These packages work with the tidyverse set of packages, sharing common data representations and API design.

Installation

You can install the stable version from CRAN.

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

You can install the development version from Github

# install.packages("remotes")
remotes::install_github("robjhyndman/fpp3-package")

Usage

library(fpp3) will load the following packages:

  • tibble, for tibbles, a modern re-imagining of data frames.
  • dplyr, for data manipulation.
  • tidyr, to easily tidy data using spread() and gather().
  • lubridate, for date/times.
  • ggplot2, for data visualisation.
  • tsibble, for tsibbles, a time series version of a tibble.
  • tsibbledata, various time series data sets in the form of tsibbles.
  • feasts, for features and statistics of time series.
  • fable, for fitting models and producing forecasts.

You also get a condensed summary of conflicts with other packages you have loaded:

library(fpp3)
#> ── Attaching packages ─────────────────────────────────────────────────────────────── fpp3 0.1 ──
#> ✔ tibble      2.1.3          ✔ tsibble     0.8.4     
#> ✔ dplyr       0.8.3          ✔ tsibbledata 0.1.0.9000
#> ✔ tidyr       1.0.0          ✔ feasts      0.1.1.9000
#> ✔ lubridate   1.7.4          ✔ fable       0.1.0.9000
#> ✔ ggplot2     3.2.1
#> ── Conflicts ────────────────────────────────────────────────────────────────── fpp3_conflicts ──
#> ✖ lubridate::date()       masks base::date()
#> ✖ dplyr::filter()         masks stats::filter()
#> ✖ tsibble::id()           masks dplyr::id()
#> ✖ tsibble::interval()     masks lubridate::interval()
#> ✖ dplyr::lag()            masks stats::lag()
#> ✖ tsibble::new_interval() masks lubridate::new_interval()
You can’t perform that action at this time.