challengewins {topChef} | R Documentation |
challengewins
Description
A dataset containing win and loss data for each chef in each episode
Usage
data(challengewins)
Format
This data frame contains the following columns:
season
Name of season
seasonNumber
Season number
series
Top Chef US (listed as US); Top Chef US Masters (listed as US Masters); Top Chef Canada (listed as Canada)
episode
Episode number
inCompetition
True / false for whether the Chef was still in the competition at the time of the challenge
immune
True / false for whether that Chef was immune from being eliminated for challenge
chef
Name of chef
challengeType
Challenge type: qualifying challenge, elimination, quickfire, sudden death quickfire, quickfire elimination, battle of the sous chefs
outcome
Result for each Chef in the competition for that challenge
rating
Numeric rating provided to chefs in Top Chef US Masters Seasons 1 and 2. Will be blank for all other seasons.
Source
https://en.wikipedia.org/wiki/Top_Chef
Examples
library(dplyr)
library(tidyr)
challengewins %>%
group_by(outcome) %>%
summarise(n=n())