fable

Tidy time series forecasting

https://github.com/tidyverts/fable

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 16 committers (12.5%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (20.1%) to scientific vocabulary

Keywords

forecasting

Keywords from Contributors

tidy-data data-manipulation literate-programming pandoc rmarkdown missing-data actuarial demography
Last synced: 6 months ago · JSON representation

Repository

Tidy time series forecasting

Basic Info
Statistics
  • Stars: 577
  • Watchers: 25
  • Forks: 68
  • Open Issues: 71
  • Releases: 10
Topics
forecasting
Created almost 8 years ago · Last pushed 9 months ago
Metadata Files
Readme License

README.Rmd

---
output: github_document
---



```{r setup, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# fable 

[![R-CMD-check](https://github.com/tidyverts/fable/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/tidyverts/fable/actions/workflows/R-CMD-check.yaml)
[![Coverage status](https://codecov.io/gh/tidyverts/fable/branch/master/graph/badge.svg)](https://app.codecov.io/github/tidyverts/fable?branch=master)
[![CRAN status](https://www.r-pkg.org/badges/version/fable)](https://CRAN.R-project.org/package=fable)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)


The R package *fable* provides a collection of commonly used univariate and multivariate time series forecasting models including exponential smoothing via state space models and automatic ARIMA modelling. These models work within the fable framework, which provides the tools to evaluate, visualise, and combine models in a workflow consistent with the tidyverse.

## Installation

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

```{r cran-installation, eval = FALSE}
install.packages("fable")
```

You can install the **development** version from
[GitHub](https://github.com/tidyverts/fable)

```{r gh-installation, eval = FALSE}
# install.packages("remotes")
remotes::install_github("tidyverts/fable")
```

Installing this software requires a compiler

## Example

```{r example, message=FALSE}
library(fable)
library(tsibble)
library(tsibbledata)
library(lubridate)
library(dplyr)
aus_retail %>%
  filter(
    State %in% c("New South Wales", "Victoria"),
    Industry == "Department stores"
  ) %>% 
  model(
    ets = ETS(box_cox(Turnover, 0.3)),
    arima = ARIMA(log(Turnover)),
    snaive = SNAIVE(Turnover)
  ) %>%
  forecast(h = "2 years") %>% 
  autoplot(filter(aus_retail, year(Month) > 2010), level = NULL)
```

## Learning to forecast with fable

- The pkgdown site describes all models provided by fable, and how they are used: https://fable.tidyverts.org/
- The forecasting principles and practices online textbook provides an introduction to time series forecasting using fable: https://otexts.com/fpp3/ (WIP)


## Getting help

- Questions about forecasting can be asked on [Cross Validated](https://stats.stackexchange.com/tags/forecasting).

- Common questions about the fable package are often found on [Stack Overflow](https://stackoverflow.com/tags/fable+r). You can use this to ask for help if the question isn't already answered. A [minimally reproducible example](https://www.tidyverse.org/help/) that describes your issue is the best way to ask for help!

Owner

  • Name: tidyverts
  • Login: tidyverts
  • Kind: organization
  • Email: Rob.Hyndman@monash.edu
  • Location: Monash University, Clayton, Australia

Tidy tools for time series analysis in R

GitHub Events

Total
  • Create event: 3
  • Release event: 2
  • Issues event: 9
  • Watch event: 19
  • Issue comment event: 11
  • Push event: 16
  • Fork event: 1
Last Year
  • Create event: 3
  • Release event: 2
  • Issues event: 9
  • Watch event: 19
  • Issue comment event: 11
  • Push event: 16
  • Fork event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 1,244
  • Total Committers: 16
  • Avg Commits per committer: 77.75
  • Development Distribution Score (DDS): 0.147
Past Year
  • Commits: 12
  • Committers: 3
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.417
Top Committers
Name Email Commits
Mitchell m****d@m****u 1,061
Mitchell m****l@m****m 115
Rob J Hyndman r****n@g****m 21
Hong Ooi h****i@m****m 14
Tim-Gunnar Hensel t****l@t****e 10
earowang e****g@g****m 5
Timothy Hyndman t****n@g****m 5
Mitchell O'Hara-Wild m****d 4
David d@t****g 2
runner r****r@M****l 1
Bruno Testaguzza Carlin b****a@g****m 1
Andrew Collier a****r@d****a 1
runner r****r@M****l 1
Tony Kenny t****0@g****m 1
Michael Chirico c****m@g****m 1
runner r****r@M****l 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 121
  • Total pull requests: 14
  • Average time to close issues: 3 months
  • Average time to close pull requests: 3 months
  • Total issue authors: 80
  • Total pull request authors: 8
  • Average comments per issue: 2.29
  • Average comments per pull request: 1.36
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 8
  • Pull requests: 0
  • Average time to close issues: about 1 hour
  • Average time to close pull requests: N/A
  • Issue authors: 6
  • Pull request authors: 0
  • Average comments per issue: 0.5
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • mitchelloharawild (16)
  • robjhyndman (15)
  • nipnipj (4)
  • hongooi73 (2)
  • mbg-unsw (2)
  • FedericoGarza (2)
  • jfeltonnee (2)
  • pollytatouin (2)
  • slava-keshkov (2)
  • FinYang (2)
  • Stochastic-Man (1)
  • lbui30 (1)
  • AshwinPuri13 (1)
  • englianhu (1)
  • xmusphlkg (1)
Pull Request Authors
  • boxydog (6)
  • MichaelChirico (5)
  • robjhyndman (2)
  • Tim-TU (2)
  • TimothyHyndman (2)
  • jcken95 (2)
  • santhisenan (1)
  • davidtedfordholt (1)
Top Labels
Issue Labels
enhancement (7) bug (4) improvement (1) help wanted (1)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • cran 8,894 last-month
  • Total docker downloads: 42,406
  • Total dependent packages: 7
    (may contain duplicates)
  • Total dependent repositories: 13
    (may contain duplicates)
  • Total versions: 24
  • Total maintainers: 1
cran.r-project.org: fable

Forecasting Models for Tidy Time Series

  • Versions: 12
  • Dependent Packages: 7
  • Dependent Repositories: 13
  • Downloads: 8,894 Last month
  • Docker Downloads: 42,406
Rankings
Stargazers count: 0.7%
Forks count: 1.1%
Downloads: 3.0%
Average: 7.0%
Dependent repos count: 8.0%
Dependent packages count: 9.1%
Docker downloads count: 19.9%
Maintainers (1)
Last synced: 6 months ago
proxy.golang.org: github.com/tidyverts/fable
  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 9.0%
Average: 9.6%
Dependent repos count: 10.2%
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.4.0 depends
  • fabletools >= 0.3.0 depends
  • Rcpp >= 0.11.0 imports
  • distributional * imports
  • dplyr >= 1.0.0 imports
  • rlang >= 0.4.6 imports
  • stats * imports
  • tibble * imports
  • tidyr * imports
  • tsibble >= 0.9.0 imports
  • utils * imports
  • covr * suggests
  • feasts * suggests
  • forecast * suggests
  • knitr * suggests
  • nnet * suggests
  • rmarkdown * suggests
  • spelling * suggests
  • testthat * suggests
  • tsibbledata >= 0.2.0 suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v1 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-r-dependencies v1 composite
.github/workflows/pkgdown.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-r-dependencies v1 composite
.github/workflows/pr-commands.yaml actions
  • actions/checkout v1 composite
  • actions/checkout master composite
  • r-lib/actions/pr-fetch master composite
  • r-lib/actions/pr-push master composite
  • r-lib/actions/setup-r master composite