knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

datardis

The goal of datardis is to provide datasets from the Doctor Who and Torchwood TV shows.

Six datasets are available, three for each show:

🎞️ Dr Who

🎞️ Torchwood

Installation

You can download and install the package from CRAN:

install.packages("datardis")

You can install the development version from GitHub with:

devtools::install_github("KittJonathan/datardis")

Examples

## Load packages
library(datardis)
library(tidyverse)

## Find maximum number of UK viewers for Doctor Who (in millions)
max(drwho_episodes$uk_viewers, na.rm = TRUE)

## Find who wrote the most episodes for Doctor Who
drwho_writers |>
     count(writer, sort = TRUE) |>
     head(5)

## Find who directed the most episodes for Doctor Who
drwho_directors |>
     count(director, sort = TRUE) |>
     head(5)

News: datardis v.0.0.4



KittJonathan/datardis documentation built on Aug. 23, 2024, 5:22 p.m.