powered by
Add demographics that includes age, gender, race/ethnicity, and lgbtqia+ status to a data frame with castaway_id.
castaway_id
add_demogs(df)
Data frame with castaway added to it.
Data frame. Requires castaway_id.
library(survivoR) library(dplyr) get_cast("US47") |> add_demogs()
Run the code above in your browser using DataLab