Diverse Datasets for 'tsibble'

Provides diverse datasets in the 'tsibble' data structure. These datasets are useful for learning and demonstrating how tidy temporal data can tidied, visualised, and forecasted.


tsibbledata

R-CMD-check CRAN_Status_Badge Lifecycle:stable R-CMD-check

This package provides examples of tsibble datasets which can be used within the tidyverts family of packages.

Installation

You could install the stable version on CRAN:

install.packages("tsibbledata")

You could install the development version from GitHub using

# install.packages("remotes")
remotes::install_github("tidyverts/tsibbledata")

Example

library(tsibbledata)
library(ggplot2)
ggplot(olympic_running, aes(x=Year, y = Time, colour = Sex)) +
  geom_line() +
  geom_point(size = 1) +
  facet_wrap(~ Length, scales = "free_y", nrow = 2) + 
  theme_minimal() + 
  scale_color_brewer(palette = "Dark2") + 
  theme(legend.position = "bottom", legend.title = element_blank()) +
  ylab("Running time (seconds)")

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("tsibbledata")

0.4.1 by Mitchell O'Hara-Wild, 4 years ago


https://tsibbledata.tidyverts.org/, https://github.com/tidyverts/tsibbledata/


Report a bug at https://github.com/tidyverts/tsibbledata/issues


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


Authors: Mitchell O'Hara-Wild [aut, cre] , Rob Hyndman [aut] , Earo Wang [aut] , Rakshitha Godahewa [aut] , Christoph Bergmeir [ctb]


Documentation:   PDF Manual  


GPL-3 license


Imports tsibble, vctrs, rappdirs, utils

Suggests ggplot2


Imported by fableCount, fpp3.

Suggested by brolgar, ezplot, fable, fable.bayesRecon, fable.prophet, fabletools, fasster, feasts, ggtime, gravitas, mlr3forecast, tsbox.


See at CRAN