% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{roll_calls}
\alias{roll_calls}
\title{Member-Level Roll Call Votes (22nd Assembly)}
\format{
A data frame with 383,739 rows and 8 variables:
\describe{
\item{bill_id}{Bill identifier (links to \code{votes$bill_id} and
\code{bills$bill_id})}
\item{assembly}{Assembly number (22)}
\item{member_name}{Legislator name in Korean}
\item{member_id}{Legislator identifier (MONA_CD, links to
\code{legislators$member_id})}
\item{party}{Party affiliation at time of vote}
\item{district}{Electoral district or proportional list position}
\item{vote}{Vote cast in Korean: one of four values meaning
yes, no, abstain, or absent}
\item{vote_date}{Date of the vote}
}
}
\source{
Open National Assembly Information API (Republic of Korea),
endpoint \code{nojepdqqaweusdfbi}.
}
\usage{
roll_calls
}
\description{
Individual legislator voting records for all 1,286 bills that went
to a recorded plenary vote in the 22nd Korean National Assembly
(2024-2026). Each row represents one legislator's vote on one bill.
}
\details{
The member-level roll call API is only available for the 22nd
assembly. For the 20th and 21st assemblies, use the bill-level
\code{\link{votes}} dataset.

This dataset enables ideal point estimation (e.g., W-NOMINATE),
party unity scores, and analysis of legislative coalitions. Use
\code{member_id} to link with \code{legislators} for biographical
metadata.
}
\examples{
data(roll_calls)

# Vote distribution
table(roll_calls$vote)

# Votes per party
head(sort(table(roll_calls$party), decreasing = TRUE))

# Number of unique legislators
length(unique(roll_calls$member_id))
}
\seealso{
\code{\link{votes}}
}
\keyword{datasets}
