% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{legislators}
\alias{legislators}
\title{Members of the Korean National Assembly (20th-22nd)}
\format{
A data frame with 947 rows and 15 variables:
\describe{
\item{member_id}{Unique legislator identifier (MONA_CD from the National Assembly API)}
\item{assembly}{Assembly number (20, 21, or 22)}
\item{name}{Name in Korean (hangul)}
\item{name_hanja}{Name in Chinese characters (hanja)}
\item{name_eng}{Name in English (romanized)}
\item{party}{Party affiliation during the assembly term}
\item{party_elected}{Party at the time of election}
\item{district}{Electoral district name, or party list position for proportional members}
\item{district_type}{Election type: "constituency" or "proportional"}
\item{committees}{Standing committee assignments (comma-separated)}
\item{gender}{"M" (male) or "F" (female)}
\item{birth_date}{Date of birth}
\item{seniority}{Number of terms served, including current (1 = first-term)}
\item{n_bills}{Total bills participated in (as lead proposer or co-sponsor)}
\item{n_bills_lead}{Bills proposed as lead (primary) proposer}
}
}
\source{
Open National Assembly Information API (Republic of Korea).
License: public domain (Korean government open data).
}
\usage{
legislators
}
\description{
Biographical and political metadata for 947 records of legislators who
served in the 20th (2016-2020), 21st (2020-2024), or 22nd (2024-2028)
Korean National Assembly. Some legislators appear in multiple assemblies.
}
\details{
661 unique legislators served across the three assemblies. \code{member_id}
is consistent across assemblies, so legislators can be tracked over time.
Party names may differ between \code{party} (mid-term) and \code{party_elected}
(election day) due to party mergers and name changes, which are common
in Korean politics.
}
\examples{
data(legislators)

# Party composition by assembly
table(legislators$assembly, legislators$party)

# Gender gap in bill production
tapply(legislators$n_bills_lead, legislators$gender, median)

# First-term vs senior legislators
boxplot(n_bills_lead ~ seniority, data = legislators,
        xlab = "Terms served", ylab = "Bills proposed (lead)")
}
\keyword{datasets}
