knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
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
drwho_episodes
drwho_directors
drwho_writers
🎞️ Torchwood
torchwood_episodes
torchwood_directors
torchwood_writers
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")
## 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)
added last Dr Who episodes (2022 specials)
replaced %>%
pipe with |>
pipe in examples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.