Skip to content

Instantly share code, notes, and snippets.

View jehoonchae's full-sized avatar
🎯
Focusing

Je Hoon Chae jehoonchae

🎯
Focusing
View GitHub Profile
library(tidyverse)
library(survey)
library(kableExtra)
anes2024 <- read_csv("./data/anes2024/anes_timeseries_2024_csv_20250808.csv")
anes2024 <- anes2024 |>
mutate(
party_group = case_when(
V241221 == 1 ~ "Democrat",
V241221 == 2 ~ "Republican",