Learn R Programming

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

Copy Link

Version

Install

install.packages('tsibbledata')

Monthly Downloads

7,408

Version

0.4.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Mitchell O'Hara-Wild

Last Published

January 7th, 2022

Functions in tsibbledata (0.4.0)

aus_production

Quarterly production of selected commodities in Australia.
tsibbledata-package

tsibbledata: Diverse Datasets for 'tsibble'
nyc_bikes

NYC Citi Bike trips
vic_elec

Half-hourly electricity demand for Victoria, Australia
olympic_running

Fastest running times for Olympic races
pelt

Pelt trading records
hh_budget

Household budget characteristics
monash_forecasting_repository

Get data from the Monash Forecasting Repository
aus_livestock

Australian livestock slaughter
gafa_stock

GAFA stock prices
aus_retail

Australian retail trade turnover
global_economy

Global economic indicators
PBS

Monthly Medicare Australia prescription data
ansett

Passenger numbers on Ansett airline flights