Learn R Programming

survivoR (version 2.3.5)

get_castaway_image: Castaway images

Description

Returns the URL for the image of the specified castaways by their castaway_id and season / version they were in

Usage

get_castaway_image(castaway_ids, version_season)

Value

Character vector of URLs

Arguments

castaway_ids

Castaway ID

version_season

Version season key for the season they played

Examples

Run this code
library(dplyr)

survivoR::castaways %>%
  filter(version_season == "US42") %>%
  mutate(castaway_image = get_castaway_image(castaway_id, version_season))

Run the code above in your browser using DataLab