Skip to content

tidyverts/tsibbledata

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
R
 
 
 
 
 
 
hex
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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