Learn R Programming

survivoR (version 2.3.5)

jury_votes: Jury votes

Description

A dataset containing details on the final jury votes to determine the winner for each season

Usage

jury_votes

Arguments

Format

This data frame contains the following columns:

version

Country code for the version of the show

version_season

Version season key

season_name

The season name

season

The season number

castaway

Name of the castaway

finalist

The finalists for which a vote can be placed

vote

Vote. 0-1 variable for easy summation

castaway_id

ID of the castaway (primary key). Consistent across seasons and name changes e.g. Amber Brkich / Amber Mariano. The first two letters reference the country of the version played e.g. US, AU.

finalist_id

The ID of the finalist for which a vote can be placed. Consistent with castaway ID

Examples

Run this code
library(dplyr)
jury_votes %>%
  filter(season == 40) %>%
  group_by(finalist) %>%
  summarise(votes = sum(vote))

Run the code above in your browser using DataLab