add_demogs {survivoR} | R 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 |
Value
Data frame with castaway added to it.
Examples
library(survivoR)
library(dplyr)
get_cast("US47") |>
add_demogs()
[Package survivoR version 2.3.5 Index]