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.
- Host: GitHub
- URL: https://github.com/robjhyndman/fpp3
- Owner: robjhyndman
- Created: 2019-07-05T18:21:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-18T02:20:52.000Z (over 1 year ago)
- Last Synced: 2025-07-04T18:09:24.052Z (7 months ago)
- Topics: cran, data, forecasting, r
- Language: R
- Homepage: http://pkg.robjhyndman.com/fpp3/
- Size: 16.3 MB
- Stars: 143
- Watchers: 9
- Forks: 38
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
Awesome Lists containing this project
README
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
# fpp3 
[](https://cran.r-project.org/package=fpp3)
[](https://github.com/robjhyndman/fpp3/actions)
[](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)
```