⚠️There's a newer version (0.4.1) of this package. Take me there.

tsibbledata

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

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::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)")

Copy Link

Version

Down Chevron

Install

install.packages('tsibbledata')

Monthly Downloads

11,215

Version

0.1.0

License

GPL-3

Last Published

June 15th, 2019

Functions in tsibbledata (0.1.0)