| challengedescriptions {topChef} | R Documentation |
challengedescriptions
Description
A dataset containing information about each challenge that the Chefs compete in
Usage
data(challengedescriptions)
Format
This data frame contains the following columns:
seasonName of season
seasonNumberSeason number
seriesTop Chef US (listed as US); Top Chef US Masters (listed as US Masters); Top Chef Canada (listed as Canada)
episodeEpisode number
challengeTypeChallenge type: qualifying challenge, elimination, quickfire, sudden death quickfire, quickfire elimination, battle of the sous chefs
outcomeTypeIs the challenge run as a team or as an individual?
challengeDescriptionDescription of the challenge
shopTimeIf they go shopping, how long do they have? Unit is minutes
shopBudgetIf they go shopping, what is their budget? Unit is dollars unless otherwise specified.
prepTimeIf they have prep time, how long do they have? Unit is minutes
cookTimeHow long they have to cook (in minutes)
productPlacementList of products promoted in the challenge, other than the usual series-wide product placement. Will be blank if none were mentioned
advantageIf an advantage is offered to the winner of the challenge, it will be listed here: e.g., Immunity, choosing a protein in the elimination challenge, choosing your team in the elimination challenge. Will be blank if none were mentioned.
lastChanceKitchenWinnerEntersIf someone comes in from Last Chance Kitchen at this challenge, their name will be listed here. Will be blank for all other challenges.
restaurantWarWinnerRole played by the winner of restaurant wars: Executive Chef, Front of House, the full team, Line Cook, Roles Rotated, or No one won. Will only have values for Restaurant War episodes.
restaurantWarEliminatedRole played by the Chef eliminated after restaurant wars: Executive Chef, Front of House, the full team, Line Cook, Roles Rotated. Will only have values for Restaurant War episodes.
didJudgesVisitWinningTeamFirstCategorical variable of which team was shown serving the judges first. Will only have values for Restaurant Wars episodes.
Source
https://en.wikipedia.org/wiki/Top_Chef
Examples
library(dplyr)
library(tidyr)
challengedescriptions %>%
group_by(series,season,outcomeType) %>%
summarise(n=n()) %>%
pivot_wider(names_from=outcomeType,values_from=n)