| rewards {topChef} | R Documentation |
rewards
Description
A dataset containing information about rewards and prizes won by challenge
Usage
data(rewards)
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?
rewardTypeVariable describing whether the reward is money or a prize
rewardDescription of the full reward
chefName of chef
Source
https://en.wikipedia.org/wiki/Top_Chef
Examples
library(dplyr)
library(tidyr)
rewards %>%
filter(rewardType == "Money") %>%
mutate(reward=as.numeric(reward)) %>%
group_by(season) %>%
summarise(total=sum(reward))
[Package topChef version 0.2.0 Index]