Learn R Programming

survivoR

70 seasons. 1319 people. 1 package!

survivoR is a collection of data sets detailing events across 70 seasons of Survivor US, Australia, South Africa, New Zealand and UK. It includes castaway information, vote history, immunity and reward challenge winners, jury votes, advantage details and a lot more.

For analysis and updates you can follow me on Bluesky @danoehm.bsky.social or Threads @_survivordb

Installation

Install from CRAN (v2.3.4) or Git (v2.3.5).

If Git > CRAN I’d suggest install from Git. We are constantly improving the data sets so the github version is likely to be slightly improved.

install.packages("survivoR")
devtools::install_github("doehm/survivoR")

News: survivoR 2.3.5

  • Adding complete US47 data
  • Adding new castaway_scores dataset
  • Adding new add_* functions:
    • add_alive(): Adds a logical flag if the castaway is alive at the start or end of an episode
    • add_bipoc(): Adds a BIPOC to the data frame. If any African American (or Canadian), Asian American, Latin American, or Native American is TRUE then BIPOC is TRUE.
    • add_castaway(): Adds castaway to a data frame. Input data frame must have castaway_id.
    • add_demogs(): Add demographics that includes age, gender, race/ethnicity, and LGBTQIA+ status to a data frame with castaway_id.
    • add_finalist(): Adds a winner flag to the data set.
    • add_full_name(): Adds full name to the data frame. Useful for plotting and making tables.
    • add_gender(): Adds gender to a data frame
    • add_jury(): Adds a jury member flag to the data set.
    • add_lgbt(): Adds the LGBTQIA+ flag to the data frame.
    • add_result(): Adds the result and place to the data frame.
    • add_tribe(): Adds tribe to a data frame for a specified stage of the game e.g. original, swapped, swapped_2, etc.
    • add_tribe_colour(): Add tribe colour to the data frame. Useful for preparing the data for plotting with ggplot2.
    • add_winner(): Adds a winner flag to the data set.
  • Adding new filter_* functions:
    • filter_alive(): Filters a given dataset to those that are still alive in the game at the start or end of a user specified episode.
    • filter_final_n(): Filters to the final n players e.g. the final 5.
    • filter_finalist(): Filters a data set to the finalists of a given season.
    • filter_jury(): Filters a data set to the jury members of a given season.
    • filter_new_era(): Filters a data set to all New Era seasons.
    • filter_us(): Filter a data set to a specified set of US season or list of seasons. A shorthand version of filter_vs() for the US seasons.
    • filter_vs(): Filters a data set to a specified version season or list of version seasons.
    • filter_winner(): Filters a data set to the winners of a given season.

The Sanctuary

The Sanctuary is the survivoR package’s companion. It holds interactive tables and charts detailing the castaways, challenges, vote history, confessionals, ratings, and more. Confessional counts from myself, Carly Levitz, Sam, Grace.

Confessional timing

Included in the package is a confessional timing app to record the length of confessionals while watching the episode.

To launch the app, first install the package and run,

library(survivoR)
launch_confessional_app()

To try it out online

Copy Link

Version

Install

install.packages('survivoR')

Monthly Downloads

414

Version

2.3.5

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Daniel Oehm

Last Published

January 9th, 2025

Functions in survivoR (2.3.5)

castaway_scores

Castaway scores
add_tribe_colour

Add tribe colour
challenge_summary

Challenge Summary
filter_jury

Filter to jury
jury_votes

Jury votes
launch_confessional_app

Launch Confessional App
filter_new_era

Filter to the new era seasons
confessionals

Confessionals
advantage_details

Advantage Details
castaway_details

Castaway details
load_episode_transcripts

Read episode transcripts
filter_final_n

Filter final n
auction_details

Survivor Auction Details
challenge_results

Challenge Results
challenge_description

Challenge Description
%>%

Pipe operator
tribe_mapping

Tribe mapping
survivor_auction

Survivor Auction
screen_time

Screen Time
filter_us

Filter to US seasons
season_palettes

Season palettes
filter_finalist

Filter to finalists
get_confessional_timing

Confessional time
get_castaway_image

Castaway images
season_summary

Season summary
filter_vs

Filter version season
vote_history

Vote history
still_alive

Still alive
tribe_colours

Tribe colours
viewers

Viewers
filter_alive

Filter Alive
tribes_pal

Tribes colour palette
survivor_pal

Survivor season colour palette
castaways

Castaways
episodes

Episodes
filter_winner

Filter to winners
get_cast

Get cast for a season
add_castaway

Add castaway
add_finalist

Add winner
add_alive

Adds alive flag
add_gender

Add gender
add_jury

Add jury member
add_lgbt

Add LGBTQIA+ status
add_bipoc

Adds BIPOC
add_demogs

Add demographics
add_tribe

Add tribe
add_result

Add result
add_winner

Add winner
add_full_name

Add full name
boot_mapping

Boot mapping
advantage_movement

Advantage Movement