-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathjury_votes.Rd
More file actions
37 lines (37 loc) · 1.27 KB
/
jury_votes.Rd
File metadata and controls
37 lines (37 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/datasets.R
\docType{data}
\name{jury_votes}
\alias{jury_votes}
\title{Jury votes}
\format{
This data frame contains the following columns:
\describe{
\item{\code{version}}{Country code for the version of the show}
\item{\code{version_season}}{Version season key}
\item{\code{season_name}}{The season name}
\item{\code{season}}{The season number}
\item{\code{castaway}}{Name of the castaway}
\item{\code{finalist}}{The finalists for which a vote can be placed}
\item{\code{vote}}{Vote. 0-1 variable for easy summation}
\item{\code{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.}
\item{\code{finalist_id}}{The ID of the finalist for which a vote can be placed. Consistent with castaway ID}
}
}
\source{
\url{https://en.wikipedia.org/wiki/Survivor_(American_TV_series)}
}
\usage{
jury_votes
}
\description{
A dataset containing details on the final jury votes to determine the winner for each season
}
\examples{
library(dplyr)
jury_votes \%>\%
filter(season == 40) \%>\%
group_by(finalist) \%>\%
summarise(votes = sum(vote))
}
\keyword{datasets}