An open API service indexing awesome lists of open source software.

https://github.com/robjhyndman/fpp3

All data sets required for the examples and exercises in the book "Forecasting: principles and practice" (3rd ed, 2020) by Rob J Hyndman and George Athanasopoulos <http://OTexts.org/fpp3/>. All packages required to run the examples are also loaded.
https://github.com/robjhyndman/fpp3

cran data forecasting r

Last synced: 7 months ago
JSON representation

All data sets required for the examples and exercises in the book "Forecasting: principles and practice" (3rd ed, 2020) by Rob J Hyndman and George Athanasopoulos <http://OTexts.org/fpp3/>. All packages required to run the examples are also loaded.

Awesome Lists containing this project

README

          

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```

# fpp3

[![CRAN status](https://www.r-pkg.org/badges/version/fpp3)](https://cran.r-project.org/package=fpp3)
[![R build status](https://github.com/robjhyndman/fpp3/workflows/R-CMD-check/badge.svg)](https://github.com/robjhyndman/fpp3/actions)
[![Downloads](https://cranlogs.r-pkg.org/badges/fpp3)](https://cran.r-project.org/package=fpp3)

## Overview

The fpp3 package contains data used in the book [*Forecasting: Principles and Practice* (3rd edition)](https://OTexts.com/fpp3/) 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](https://www.tidyverse.org/) set of packages, sharing common data representations and API design. Additional data sets not used in the book are also included.

## Installation

You can install the **stable** version from
[CRAN](https://cran.r-project.org/package=fpp3).

```{r eval = FALSE}
install.packages('fpp3', dependencies = TRUE)
```

You can install the **development** version from
[Github](https://github.com/robjhyndman/fpp3)

```{r eval = FALSE}
# install.packages("remotes")
remotes::install_github("robjhyndman/fpp3")
```

## Usage

`library(fpp3)` will load the following packages:

* [tibble](https://tibble.tidyverse.org), for tibbles, a modern re-imagining of data frames.
* [dplyr](https://dplyr.tidyverse.org), for data manipulation.
* [tidyr](https://tidyr.tidyverse.org), to tidy data.
* [lubridate](https://lubridate.tidyverse.org), for dates/times.
* [ggplot2](https://ggplot2.tidyverse.org), for data visualisation.
* [tsibble](https://tsibble.tidyverts.org), for tsibbles, a time series version of a tibble.
* [tsibbledata](https://tsibbledata.tidyverts.org), various time series data sets in the form of tsibbles.
* [feasts](https://feasts.tidyverts.org), for features and statistics of time series.
* [fable](https://fable.tidyverts.org), for fitting models and producing forecasts.

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

```{r example}
library(fpp3)
```