Open yunzhaol opened 8 months ago
race = prop.wide(analysis_df, var1 = "birthplace_recode_foreign") %>% mutate_at(vars(n_total:russian), funs(ifelse(is.na(.), 0, .)))