library(knitr)
knitr::opts_chunk$set(
  warning = FALSE,
  message = FALSE,
  error = FALSE,
  collapse = TRUE,
  comment = "#>",
  out.width = "100%",
  fig.path = "man/figures/README-",
  fig.width = 10,
  dpi = 300
)
if (!interactive()) {
  options(width = 99)
}

whatr

Lifecycle: experimental CRAN status Downloads [Codecov test coverage]cov_link [R build status]ga_link

This R package was made to facilitate the analysis of game show data by scraping the J! Archive.

What is... whatr?

Installation

The release version of 'whatr' can be installed from CRAN:

install.packages("whatr")

You can install the development version of 'whatr' from GitHub with:

# install.packages("remotes")
remotes::install_github("kiernann/whatr")

Usage

The whatr_*() functions take one of four inputs to find the appropriate game on the J! Archive:

  1. An HTML document object from whatr_html() or similar.
  2. The numeric, non-sequential game ID.
  3. The sequential show number, as character starting with #.
  4. The date an episode originally aired, as yyyy-mm-dd.
library(whatr)
page <- whatr_html("2019-06-03")
whatr_board(page)[, 5:7]
whatr_scores(6304)
whatr_plot("#8006")

Data

Included in this package is data on the 217 episodes of the show's 35th season.

whatr::episodes
whatr::synopses

The 'whatr' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to its terms.

The J! Archive is created by fans, for fans. The Jeopardy! game show and all elements thereof, including but not limited to copyright and trademark thereto, are the property of Jeopardy Productions, Inc. and are protected under law. This package is not affiliated with, sponsored by, or operated by Jeopardy Productions, Inc or the J! Archive itself.



kiernann/whatr documentation built on April 16, 2022, 9:55 p.m.