add_demogs: Add demographics

View source: R/add.R

add_demogsR Documentation

Add demographics

Description

Add demographics that includes age, gender, race/ethnicity, and lgbtqia+ status to a data frame with castaway_id.

Usage

add_demogs(df)

Arguments

df

Data frame. Requires castaway_id.

Value

Data frame with castaway added to it.

Examples


library(survivoR)
library(dplyr)

get_cast("US47") |>
  add_demogs()


survivoR documentation built on April 3, 2025, 5:34 p.m.