From a206bfb5db91753f510fbcb6b739e686450cc232 Mon Sep 17 00:00:00 2001 From: ebagot Date: Fri, 13 Nov 2026 17:35:10 +0100 Subject: [PATCH] Initial commit --- .dockerignore | 3 + Dockerfile | 20 + README.md | 64 + app/common.py | 243 ++ app/parsers.py | 624 +++++ app/seed/governors.json | 738 ++++++ app/seed/house.json | 3594 +++++++++++++++++++++++++++++ app/seed/legislatures.json | 1866 +++++++++++++++ app/seed/meta.json | 4 + app/seed/senate.json | 914 ++++++++ app/server.py | 220 ++ app/static/index.html | 534 +++++ app/static/states-albers-10m.json | 1 + app/update.py | 379 +++ app/wiki.py | 406 ++++ data/governors.json | 736 ++++++ data/house.json | 3592 ++++++++++++++++++++++++++++ data/legislatures.json | 1864 +++++++++++++++ data/meta.json | 21 + data/senate.json | 913 ++++++++ docker-compose.yml | 11 + 21 files changed, 16747 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile create mode 100644 README.md create mode 100644 app/common.py create mode 100644 app/parsers.py create mode 100644 app/seed/governors.json create mode 100644 app/seed/house.json create mode 100644 app/seed/legislatures.json create mode 100644 app/seed/meta.json create mode 100644 app/seed/senate.json create mode 100644 app/server.py create mode 100644 app/static/index.html create mode 100644 app/static/states-albers-10m.json create mode 100644 app/update.py create mode 100644 app/wiki.py create mode 100644 data/governors.json create mode 100644 data/house.json create mode 100644 data/legislatures.json create mode 100644 data/meta.json create mode 100644 data/senate.json create mode 100644 docker-compose.yml diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..b64c319 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +data/ +**/__pycache__/ +*.pyc diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..40a0930 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM python:3.12-slim + +WORKDIR /app + +# d3 and topojson are copied into the image so the page does not need a CDN at runtime +# (checksums pinned to the files downloaded when this project was set up). +ADD --checksum=sha256:f2094bbf6141b359722c4fe454eb6c4b0f0e42cc10cc7af921fc158fceb86539 https://cdnjs.cloudflare.com/ajax/libs/d3/7.9.0/d3.min.js static/vendor/d3.min.js +ADD --checksum=sha256:b47a003c6a0d761211dbc60797d0d62f37917ddc228241fb38205732b1d78683 https://cdnjs.cloudflare.com/ajax/libs/topojson/3.0.2/topojson.min.js static/vendor/topojson.min.js +RUN chmod 644 static/vendor/*.js + +COPY app/ /app/ + +ENV DATA_DIR=/data \ + PORT=8080 \ + UPDATE_MODE=auto \ + PYTHONUNBUFFERED=1 \ + PYTHONDONTWRITEBYTECODE=1 + +EXPOSE 8080 +CMD ["python", "server.py"] diff --git a/README.md b/README.md new file mode 100644 index 0000000..2f7c4eb --- /dev/null +++ b/README.md @@ -0,0 +1,64 @@ +# Carte des élus américains + +Carte interactive des États-Unis : sénateurs et représentants fédéraux, gouverneur et chambres législatives de chaque État, avec un bouton qui relit Wikipédia (en anglais) pour rafraîchir les données. Python 3.12 seul, sans dépendance. + +## Lancer + +```sh +docker compose up -d --build +``` + +Puis ouvrir . Au premier démarrage, le dossier `./data` est rempli avec les données de départ (lues sur Wikipédia le 13 novembre 2026). + +Le port n'est ouvert que sur la machine locale (`127.0.0.1:8080`). Pour l'ouvrir au réseau, remplacer la ligne `ports` de `docker-compose.yml` par `"8080:8080"`. + +Arrêter : `docker compose down` (les données restent dans `./data`). + +## Mettre à jour les données + +- **Depuis la page** : bouton « Update from Wikipedia ». La progression s'affiche, puis la carte se recharge. Les avertissements sont listés sous le bouton. +- **En ligne de commande** : + + ```sh + docker compose run --rm app python update.py + ``` + +Une seule mise à jour à la fois (le bouton refuse une seconde demande, la ligne de commande aussi). Une mise à jour fait une dizaine de requêtes à Wikipédia et dure moins d'une minute. + +## Choisir le mode + +`UPDATE_MODE` vaut `auto` (par défaut), `election` ou `current` : + +- `election` : résultats de la dernière élection (pages « 2026 United States … elections »), soit les élus qui siégeront à partir de janvier. +- `current` : élus en fonction aujourd'hui (listes « List of current … » et article de chaque chambre). +- `auto` : `election` entre le jour de l'élection (novembre des années paires) et le 3 janvier suivant, `current` le reste du temps. + +Forcer le mode : + +```sh +# ligne de commande +docker compose run --rm -e UPDATE_MODE=current app python update.py + +# bouton de la page : mettre UPDATE_MODE=current dans un fichier .env à côté de docker-compose.yml, puis +docker compose up -d +``` + +## Où sont les données + +Dans `./data` (monté dans le conteneur sur `/data`) : + +- `senate.json`, `house.json`, `governors.json`, `legislatures.json` : une catégorie par fichier, avec la date de lecture, le mode et les pages Wikipédia utilisées ; +- `meta.json` : le dernier passage (date, mode, avertissements). + +Chaque catégorie est vérifiée avant de remplacer l'ancien fichier (50 États, 100 sénateurs, 435 représentants selon la répartition par État, 50 gouverneurs, 99 chambres dont les sièges font le bon total). Si la lecture ou la vérification échoue, l'ancienne version est gardée et un avertissement l'explique. Les fichiers sont écrits d'un coup (fichier temporaire puis renommage). + +Les pouvoirs des gouverneurs ne sont pas lus sur Wikipédia : ils viennent des données de départ (`app/seed/governors.json`). + +Pour revenir aux données de départ : `docker compose down`, vider `./data`, puis `docker compose up -d`. + +## Limites connues + +- La lecture dépend de la mise en page des articles Wikipédia : si un tableau change de forme, la catégorie concernée garde ses anciennes données et un avertissement le signale. +- En mode `election`, une chambre dont Wikipédia n'a pas encore publié les résultats garde les chiffres déjà connus pour la même élection ; sinon tous ses sièges sont comptés « Not yet called ». +- Une course non tranchée n'affiche pas de gagnant, seulement les deux principaux candidats. +- Les présidents de chambre affichés sont ceux en fonction ; la fin de leur mandat est déduite de la prochaine élection de la chambre (indiqué dans la note). diff --git a/app/common.py b/app/common.py new file mode 100644 index 0000000..3cb5b54 --- /dev/null +++ b/app/common.py @@ -0,0 +1,243 @@ +"""Shared constants, date rules and file storage for the officeholders map.""" +import datetime as dt +import json +import os +import shutil +import tempfile + +APP_DIR = os.path.dirname(os.path.abspath(__file__)) +SEED_DIR = os.path.join(APP_DIR, "seed") +DATA_DIR = os.environ.get("DATA_DIR", os.path.join(APP_DIR, "..", "data")) + +CATEGORIES = ["senate", "house", "governors", "legislatures"] + +STATES = { + "Alabama": "AL", "Alaska": "AK", "Arizona": "AZ", "Arkansas": "AR", "California": "CA", + "Colorado": "CO", "Connecticut": "CT", "Delaware": "DE", "Florida": "FL", "Georgia": "GA", + "Hawaii": "HI", "Idaho": "ID", "Illinois": "IL", "Indiana": "IN", "Iowa": "IA", + "Kansas": "KS", "Kentucky": "KY", "Louisiana": "LA", "Maine": "ME", "Maryland": "MD", + "Massachusetts": "MA", "Michigan": "MI", "Minnesota": "MN", "Mississippi": "MS", "Missouri": "MO", + "Montana": "MT", "Nebraska": "NE", "Nevada": "NV", "New Hampshire": "NH", "New Jersey": "NJ", + "New Mexico": "NM", "New York": "NY", "North Carolina": "NC", "North Dakota": "ND", "Ohio": "OH", + "Oklahoma": "OK", "Oregon": "OR", "Pennsylvania": "PA", "Rhode Island": "RI", "South Carolina": "SC", + "South Dakota": "SD", "Tennessee": "TN", "Texas": "TX", "Utah": "UT", "Vermont": "VT", + "Virginia": "VA", "Washington": "WA", "West Virginia": "WV", "Wisconsin": "WI", "Wyoming": "WY", +} +NAMES = {code: name for name, code in STATES.items()} + +# U.S. House seats per state (apportionment after the 2020 census, in force until the 2032 election). +APPORTIONMENT = { + "AL": 7, "AK": 1, "AZ": 9, "AR": 4, "CA": 52, "CO": 8, "CT": 5, "DE": 1, "FL": 28, "GA": 14, + "HI": 2, "ID": 2, "IL": 17, "IN": 9, "IA": 4, "KS": 4, "KY": 6, "LA": 6, "ME": 2, "MD": 8, + "MA": 9, "MI": 13, "MN": 8, "MS": 4, "MO": 8, "MT": 2, "NE": 3, "NV": 4, "NH": 2, "NJ": 12, + "NM": 3, "NY": 26, "NC": 14, "ND": 1, "OH": 15, "OK": 5, "OR": 6, "PA": 17, "RI": 2, "SC": 7, + "SD": 1, "TN": 9, "TX": 38, "UT": 4, "VT": 1, "VA": 11, "WA": 10, "WV": 2, "WI": 8, "WY": 1, +} + +# State chambers: Wikipedia article title and size. Nebraska is unicameral (stored as "upper"). +CHAMBERS = { + "AL": (("Alabama Senate", 35), ("Alabama House of Representatives", 105)), + "AK": (("Alaska Senate", 20), ("Alaska House of Representatives", 40)), + "AZ": (("Arizona Senate", 30), ("Arizona House of Representatives", 60)), + "AR": (("Arkansas Senate", 35), ("Arkansas House of Representatives", 100)), + "CA": (("California State Senate", 40), ("California State Assembly", 80)), + "CO": (("Colorado Senate", 35), ("Colorado House of Representatives", 65)), + "CT": (("Connecticut State Senate", 36), ("Connecticut House of Representatives", 151)), + "DE": (("Delaware Senate", 21), ("Delaware House of Representatives", 41)), + "FL": (("Florida Senate", 40), ("Florida House of Representatives", 120)), + "GA": (("Georgia State Senate", 56), ("Georgia House of Representatives", 180)), + "HI": (("Hawaii Senate", 25), ("Hawaii House of Representatives", 51)), + "ID": (("Idaho Senate", 35), ("Idaho House of Representatives", 70)), + "IL": (("Illinois Senate", 59), ("Illinois House of Representatives", 118)), + "IN": (("Indiana Senate", 50), ("Indiana House of Representatives", 100)), + "IA": (("Iowa Senate", 50), ("Iowa House of Representatives", 100)), + "KS": (("Kansas Senate", 40), ("Kansas House of Representatives", 125)), + "KY": (("Kentucky Senate", 38), ("Kentucky House of Representatives", 100)), + "LA": (("Louisiana State Senate", 39), ("Louisiana House of Representatives", 105)), + "ME": (("Maine Senate", 35), ("Maine House of Representatives", 151)), + "MD": (("Maryland Senate", 47), ("Maryland House of Delegates", 141)), + "MA": (("Massachusetts Senate", 40), ("Massachusetts House of Representatives", 160)), + "MI": (("Michigan Senate", 38), ("Michigan House of Representatives", 110)), + "MN": (("Minnesota Senate", 67), ("Minnesota House of Representatives", 134)), + "MS": (("Mississippi State Senate", 52), ("Mississippi House of Representatives", 122)), + "MO": (("Missouri Senate", 34), ("Missouri House of Representatives", 163)), + "MT": (("Montana Senate", 50), ("Montana House of Representatives", 100)), + "NE": (("Nebraska Legislature", 49), None), + "NV": (("Nevada Senate", 21), ("Nevada State Assembly", 42)), + "NH": (("New Hampshire Senate", 24), ("New Hampshire House of Representatives", 400)), + "NJ": (("New Jersey Senate", 40), ("New Jersey General Assembly", 80)), + "NM": (("New Mexico Senate", 42), ("New Mexico House of Representatives", 70)), + "NY": (("New York State Senate", 63), ("New York State Assembly", 150)), + "NC": (("North Carolina Senate", 50), ("North Carolina House of Representatives", 120)), + "ND": (("North Dakota Senate", 47), ("North Dakota House of Representatives", 94)), + "OH": (("Ohio Senate", 33), ("Ohio House of Representatives", 99)), + "OK": (("Oklahoma Senate", 48), ("Oklahoma House of Representatives", 101)), + "OR": (("Oregon State Senate", 30), ("Oregon House of Representatives", 60)), + "PA": (("Pennsylvania State Senate", 50), ("Pennsylvania House of Representatives", 203)), + "RI": (("Rhode Island Senate", 38), ("Rhode Island House of Representatives", 75)), + "SC": (("South Carolina Senate", 46), ("South Carolina House of Representatives", 124)), + "SD": (("South Dakota Senate", 35), ("South Dakota House of Representatives", 70)), + "TN": (("Tennessee Senate", 33), ("Tennessee House of Representatives", 99)), + "TX": (("Texas Senate", 31), ("Texas House of Representatives", 150)), + "UT": (("Utah State Senate", 29), ("Utah House of Representatives", 75)), + "VT": (("Vermont Senate", 30), ("Vermont House of Representatives", 150)), + "VA": (("Senate of Virginia", 40), ("Virginia House of Delegates", 100)), + "WA": (("Washington State Senate", 49), ("Washington House of Representatives", 98)), + "WV": (("West Virginia Senate", 34), ("West Virginia House of Delegates", 100)), + "WI": (("Wisconsin State Senate", 33), ("Wisconsin State Assembly", 99)), + "WY": (("Wyoming Senate", 31), ("Wyoming House of Representatives", 62)), +} + +# States whose legislatures are elected in odd years. +ODD_YEAR_LEGISLATURES = {"LA", "MS", "NJ", "VA"} + +# Governors: two-year terms in NH and VT, four elsewhere. +GOVERNOR_TERM_YEARS = {"NH": 2, "VT": 2} +# Month (and day when fixed) a new governor takes office, when it is not January. +# Used only to write the end of a term as "YYYY-MM"; the year always comes from Wikipedia or the term length. +GOVERNOR_INAUGURATION = {"AK": "12", "HI": "12", "KY": "12", "ND": "12-15", "MI": "01-01", "NY": "01-01", "NC": "01-01"} +# Governor election years that are not the even-year November cycle. +GOVERNOR_ODD_YEAR = {"KY", "LA", "MS", "NJ", "VA"} + +SENATE_CLASS_BASE_YEAR = {1: 2025, 2: 2027, 3: 2029} # a class-N term ends on Jan 3 of these years, every 6 years + + +def today(): + override = os.environ.get("TODAY") # for tests only, ISO date + return dt.date.fromisoformat(override) if override else dt.date.today() + + +def election_day(year): + """Tuesday after the first Monday of November.""" + d = dt.date(year, 11, 1) + while d.weekday() != 0: + d += dt.timedelta(days=1) + return d + dt.timedelta(days=1) + + +def election_window(day): + """Return the even election year if `day` falls between Election Day and Jan 3 of the next year, else None.""" + if day.year % 2 == 0 and day >= election_day(day.year): + return day.year + if day.year % 2 == 1 and day < dt.date(day.year, 1, 3): + return day.year - 1 + return None + + +def last_election_year(day): + """Most recent even year whose November election has taken place.""" + y = day.year if day.year % 2 == 0 else day.year - 1 + if day < election_day(y): + y -= 2 + return y + + +def choose_mode(day=None, requested=None): + day = day or today() + requested = (requested or os.environ.get("UPDATE_MODE") or "auto").strip().lower() + if requested not in ("auto", "election", "current"): + raise ValueError(f"UPDATE_MODE must be auto, election or current (got {requested!r})") + if requested == "auto": + return ("election" if election_window(day) else "current"), requested + return requested, requested + + +def senate_term_end(cls, after): + """Jan 3 of the first year (class cycle) strictly after the date `after`.""" + y = SENATE_CLASS_BASE_YEAR[cls] + while dt.date(y, 1, 3) <= after: + y += 6 + while dt.date(y - 6, 1, 3) > after: + y -= 6 + return f"{y}-01-03" + + +def house_term_end(after): + """Jan 3 of the first odd year strictly after `after`.""" + y = after.year if after.year % 2 == 1 else after.year + 1 + if dt.date(y, 1, 3) <= after: + y += 2 + return f"{y}-01-03" + + +def senate_class_up(election_year): + """Regular class elected in a given even year (2024 -> 1, 2026 -> 2, 2028 -> 3).""" + return {2: 1, 4: 2, 0: 3}[election_year % 6] + + +def governor_term_end(code, year): + md = GOVERNOR_INAUGURATION.get(code, "01") + return f"{year}-{md}" + + +def next_legislative_election(code, day): + """Year of the next regular legislative election in a state (odd years in LA, MS, NJ, VA).""" + odd = code in ODD_YEAR_LEGISLATURES + y = day.year + while True: + if (y % 2 == 1) == odd and dt.date(y, 11, 1) > day: + return y + y += 1 + + +# ---------------------------------------------------------------- storage + +def ensure_dir(): + os.makedirs(DATA_DIR, exist_ok=True) + + +def path(name): + return os.path.join(DATA_DIR, name) + + +def write_json_atomic(file_path, obj): + d = os.path.dirname(file_path) + fd, tmp = tempfile.mkstemp(prefix=".tmp-", suffix=".json", dir=d) + try: + with os.fdopen(fd, "w", encoding="utf-8") as f: + json.dump(obj, f, ensure_ascii=False, indent=1) + f.flush() + os.fsync(f.fileno()) + os.replace(tmp, file_path) + except BaseException: + try: + os.unlink(tmp) + except OSError: + pass + raise + + +def read_json(file_path, default=None): + try: + with open(file_path, encoding="utf-8") as f: + return json.load(f) + except FileNotFoundError: + return default + + +def load_category(cat): + return read_json(path(cat + ".json")) + + +def save_category(cat, data, meta): + write_json_atomic(path(cat + ".json"), {"meta": meta, "data": data}) + + +def seed_governor_powers(): + seed = read_json(os.path.join(SEED_DIR, "governors.json"), {}) or {} + return {code: (g or {}).get("powers", []) for code, g in seed.get("data", {}).items()} + + +def ensure_seed(): + """Copy the seed data into DATA_DIR for every category file that is missing.""" + ensure_dir() + copied = [] + for cat in CATEGORIES + ["meta"]: + target = path(cat + ".json") + if not os.path.exists(target): + src = os.path.join(SEED_DIR, cat + ".json") + tmp = target + ".seed-tmp" + shutil.copyfile(src, tmp) + os.replace(tmp, target) + copied.append(cat) + return copied diff --git a/app/parsers.py b/app/parsers.py new file mode 100644 index 0000000..ce26f46 --- /dev/null +++ b/app/parsers.py @@ -0,0 +1,624 @@ +"""Turn Wikipedia pages into the data the map uses. One function per category and mode. + +Every parser returns (data, sources, notes) and raises ParseError when the page does not look as expected. +Validation of totals happens in update.py, not here. +""" +import datetime as dt +import re + +import common as C +from wiki import plain, section, sections, split_rows, strip_noise, tables, infobox + +STATE_BY_NAME = {n.lower(): c for n, c in C.STATES.items()} + + +class ParseError(Exception): + pass + + +def party_code(text): + t = plain(text or "").strip().lower() + if not t: + return None + t = re.sub(r"\s*party.*$", "", t) if "party" in t and not t.startswith("independent") else t + if t in ("d", "dfl") or re.match(r"^(d|dfl)\b", t): + return "D" + if t == "r" or re.match(r"^r\b", t): + return "R" + if t == "i" or re.match(r"^i\b", t): + return "I" + if "independent" in t: + return "I" + if "democrat" in t or "farmer" in t or "dfl" in t: + return "D" + if "republican" in t: + return "R" + return "I" + + +def state_code(name): + return STATE_BY_NAME.get(plain(name).strip().lower()) + + +# ---------------------------------------------------------------- race rows (Senate, House, governors) + +AYE = re.compile(r"\{\{\s*aye\s*\}\}", re.I) +MBY = re.compile(r"\{\{\s*mby\s*\}\}", re.I) # "advanced to runoff" mark +STRIPE = re.compile(r"\{\{\s*party stripe\s*\|([^}|]*)", re.I) + + +def candidates(row): + """[(name, party code, won, has a Wikipedia article, advanced to a runoff)] from a results row.""" + out = [] + for line in row.split("\n"): + st = STRIPE.search(line) + if not st: + continue + won = bool(AYE.search(line)) + rest = AYE.sub("", line[st.end():].split("}}", 1)[-1]) + bold = re.search(r"'''(.+?)'''", rest) + if bold: + name_src = bold.group(1) + name = plain(name_src) + else: + name_src = rest + name = re.sub(r"\s*\([^()]*\)[\s\d.,%]*$", "", plain(rest)).strip() + pm = re.search(r"(?:'''|\]\])\s*\(([^()]*)\)", rest) or re.search(r"\(([^()]*)\)[\s\d.,%]*$", plain(rest)) + party = party_code(pm.group(1)) if pm else party_code(st.group(1)) + name = re.sub(r"\s*\((incumbent|write-in)\)", "", name, flags=re.I).strip() + if name: + out.append((name, party, won, "[[" in name_src, bool(MBY.search(line)))) + return out + + +def race_result(row, term_end, elected_status, extra_note=""): + """Officeholder entry for one race row: winner, or not-yet-called / runoff.""" + cands = candidates(row) + winners = [c for c in cands if c[2]] + if len(winners) > 1: + raise ParseError("several winners marked in one race") + if winners: + name, party = winners[0][0], winners[0][1] + return {"name": name, "party": party, "termEnd": term_end, "status": elected_status, "note": extra_note} + text_no_cands = "\n".join(l for l in row.split("\n") if not STRIPE.search(l)) + advanced = [c for c in cands if c[4]] + runoff = advanced or re.search(r"run-?off", plain(text_no_cands), re.I) + # the two main candidates: those in the runoff, else notable (linked) Democrats and Republicans first + shown = advanced[:2] or sorted(cands, key=lambda c: (c[1] not in ("D", "R"), not c[3]))[:2] + who = ", ".join(f"{c[0]} ({c[1]})" for c in shown) + parties = {c[1] for c in shown} + if runoff: + m = re.search(r"run-?off[^.]*?((?:January|February|March|April|May|June|July|August|September|October|November|December) \d{1,2}(?:, \d{4})?)", + plain(text_no_cands), re.I) + note = "Runoff" + (f" on {m.group(1)}" if m else "") + (f": {who.replace(', ', ' vs ')}" if who else "") + status = "runoff" + else: + note = "Not yet called" + (f"; {who.replace(', ', ' vs ')}" if who else "") + status = "uncalled" + return {"name": None, "party": parties.pop() if len(parties) == 1 and len(shown) > 1 else None, + "termEnd": term_end, "status": status, "note": (note + ". " + extra_note).strip()} + + +def header_lines(row): + return [l for l in row.split("\n") if l.lstrip().startswith("!")] + + +# ---------------------------------------------------------------- Senate + +def current_senators(client): + title = "List of current United States senators" + text = strip_noise(client.page(title)) + start = text.find('id="senators"') + if start < 0: + raise ParseError(f"senator table not found in “{title}”") + start = text.rfind("{|", 0, start) + end = text.find("\n|}", start) + table = text[start:end] + # footnotes saying an independent sits with the Democrats + dem_caucus_efn = set() + for m in re.finditer(r"\{\{efn\|name=([^|}]+)\|(.*?)\}\}\s*$", text, re.M | re.S): + if re.search(r"Democratic Caucus|caucus(es)? with (the )?Democrat", m.group(2), re.I): + dem_caucus_efn.add(m.group(1).strip()) + out, state = [], None + for row in split_rows(table)[1:]: + sm = re.search(r"\[\[List of United States senators from ([^|\]]+)\|", row) + if sm: + state = state_code(sm.group(1)) + name_line = next((l for l in row.split("\n") if l.startswith("!")), None) + if not name_line or state is None: + continue + name_cell = name_line[1:].split("|", 1)[-1] if re.match(r"!\s*scope", name_line) else name_line[1:] + name = plain(name_cell) + pc = re.search(r"\{\{\s*party color\s*\|([^}]*)\}\}", row, re.I) + cm = re.search(r"Class (\d)", row) + if not cm: + continue + caucus = any(f"name={n}" in row for n in dem_caucus_efn) or re.search(r"Democratic Caucus", row) + out.append({"state": state, "name": name or None, "party": party_code(pc.group(1)) if pc else None, + "class": int(cm.group(1)), "vacant": not name or name.lower().startswith("vacant"), + "demCaucus": bool(caucus)}) + if len(out) < 90: + raise ParseError(f"only {len(out)} senators found in “{title}”") + return out, title + + +def senate_current(client, day): + sens, title = current_senators(client) + data = {} + for s in sens: + entry = {"name": None if s["vacant"] else s["name"], "party": None if s["vacant"] else s["party"], + "termEnd": C.senate_term_end(s["class"], day), "class": s["class"], + "status": "vacant" if s["vacant"] else "continuing", + "note": "Independent, caucuses with Democrats." if s["party"] == "I" and s["demCaucus"] else ""} + data.setdefault(s["state"], []).append(entry) + for v in data.values(): + v.sort(key=lambda e: e["class"]) + return data, [title] + + +def senate_election(client, year): + title = f"{year} United States Senate elections" + text = strip_noise(client.page(title)) + body = section(text, "Race summary") + if body is None: + raise ParseError(f"“Race summary” section not found in “{title}”") + new_congress = dt.date(year + 1, 1, 3) + regular = C.senate_class_up(year) + races = {} + for row in split_rows(body): + head = "\n".join(header_lines(row)) + m = re.search(r"\[\[\s*%d United States Senate (special )?elections? in ([^|\]]+)\|" % year, head) + if not m: + continue + code = state_code(m.group(2)) + if not code: + continue + special = bool(m.group(1)) + cm = re.search(r"Class (\d)", head) + cls = int(cm.group(1)) if cm else (None if special else regular) + if cls is None: + raise ParseError(f"class of the special election in {C.NAMES[code]} not found") + note = f"Won {year} special election for the remainder of the Class {cls} term." if special else "" + e = race_result(row, C.senate_term_end(cls, new_congress), f"elected-{year}", note) + e["class"] = cls + races[(code, cls)] = e + if len(races) < 30: + raise ParseError(f"only {len(races)} Senate races found in “{title}”") + sens, list_title = current_senators(client) + data = {} + for s in sens: + key = (s["state"], s["class"]) + if key in races: + e = dict(races.pop(key)) + else: + e = {"name": None if s["vacant"] else s["name"], "party": None if s["vacant"] else s["party"], + "termEnd": C.senate_term_end(s["class"], new_congress), "class": s["class"], + "status": "vacant" if s["vacant"] else "continuing", + "note": "Independent, caucuses with Democrats." if s["party"] == "I" and s["demCaucus"] else ""} + data.setdefault(s["state"], []).append({k: e[k] for k in ("name", "party", "termEnd", "class", "status", "note")}) + if races: + raise ParseError("races without a matching seat in the senator list: " + ", ".join(f"{c} class {k}" for c, k in races)) + for v in data.values(): + v.sort(key=lambda e: e["class"]) + return data, [title, list_title] + + +# ---------------------------------------------------------------- House + +def ushr(row): + for l in header_lines(row): + m = re.search(r"\{\{\s*ushr\s*\|\s*(\w\w)\s*\|\s*([\w-]+)", l, re.I) + if m: + d = m.group(2) + return m.group(1).upper(), 0 if not d.isdigit() else int(d) + return None + + +def house_election(client, year): + title = f"{year} United States House of Representatives elections" + text = strip_noise(client.page(title)) + term_end = C.house_term_end(dt.date(year + 1, 1, 3)) + data = {} + for head, body in sections(text, 2): + code = state_code(head) + if not code: + continue + reps = [] + for row in split_rows(body): + u = ushr(row) + if not u: + continue + e = race_result(row, term_end, f"elected-{year}") + reps.append({"district": u[1], **{k: e[k] for k in ("name", "party", "termEnd", "status", "note")}}) + data[code] = reps + if len(data) < 45: + raise ParseError(f"only {len(data)} state sections found in “{title}”") + return data, [title] + + +def house_current(client, day): + title = "List of current members of the United States House of Representatives" + text = strip_noise(client.page(title)) + term_end = C.house_term_end(day) + best = None + for t in tables(text): + if not t.rows: + continue + head = " ".join(c.text.lower() for c in t.rows[0]) + if "district" in head and "member" in head and "party" in head and len(t.rows) > 400: + best = t + break + if best is None: + raise ParseError(f"member table not found in “{title}”") + head = [c.text.lower() for c in best.rows[0]] + i_dist = next(i for i, h in enumerate(head) if h.startswith("district")) + i_mem = next(i for i, h in enumerate(head) if h.startswith("member")) + i_party = max(i for i, h in enumerate(head) if h.startswith("party")) + data = {} + for row, raw in zip(best.rows[1:], best.row_raw[1:]): + if len(row) <= max(i_dist, i_mem, i_party) or row[i_dist].header and row[i_dist] is best.rows[0][i_dist]: + continue + dist_raw = row[i_dist].raw + m = re.search(r"\{\{\s*ushr\s*\|\s*(\w\w)\s*\|\s*([\w-]+)", dist_raw, re.I) + if m: + code, d = m.group(1).upper(), m.group(2) + else: + dt_txt = row[i_dist].text + m2 = re.match(r"(.+?)\s+(at-large|\d+)", dt_txt, re.I) + if not m2 or not state_code(m2.group(1)): + continue + code, d = state_code(m2.group(1)), m2.group(2) + if code not in C.APPORTIONMENT: + continue + district = int(d) if d.isdigit() else 0 + member = row[i_mem].text + vacant = not member or member.lower().startswith("vacant") + pc = re.search(r"\{\{\s*party color\s*\|([^}]*)\}\}", " ".join(c.raw + " " + c.attrs for c in row), re.I) + party = None if vacant else (party_code(row[i_party].text) or (party_code(pc.group(1)) if pc else None)) + note = "" + if vacant: + note = plain(re.sub(r"(?i)^vacant", "", member)).strip(" .–-") or "" + entry = {"district": district, "name": None if vacant else member, "party": party, + "termEnd": term_end, "status": "vacant" if vacant else "continuing", "note": note} + lst = data.setdefault(code, []) + if not any(r["district"] == district for r in lst): + lst.append(entry) + return data, [title] + + +# ---------------------------------------------------------------- Governors + +def current_governors(client): + title = "List of current United States governors" + text = strip_noise(client.page(title)) + out = {} + for t in tables(text): + if not t.rows: + continue + head = [c.text.lower() for c in t.rows[0]] + if not any(h.startswith("governor") for h in head) or not any("term end" in h for h in head): + continue + i_gov = next(i for i, h in enumerate(head) if h.startswith("governor")) + i_end = next(i for i, h in enumerate(head) if "term end" in h) + i_party = max((i for i, h in enumerate(head) if h.startswith("party")), default=None) + for row in t.rows[1:]: + st = re.search(r"\[\[\s*Governor of ([^|\]]+)\|", row[0].raw) if row else None + code = state_code(st.group(1)) if st else state_code(row[0].text.split("(")[0]) if row else None + if not code or len(row) <= max(i_gov, i_end): + continue + name = row[i_gov].text + party = None + if i_party is not None and len(row) > i_party: + party = party_code(row[i_party].text) + if not party: + pc = re.search(r"\{\{\s*party color\s*\|([^}]*)\}\}", " ".join(c.attrs for c in row), re.I) + party = party_code(pc.group(1)) if pc else None + end_txt = row[i_end].text + ym = re.search(r"(\d{4})", end_txt) + out[code] = {"name": name or None, "party": party, "endYear": int(ym.group(1)) if ym else None, + "termLimited": "term limit" in end_txt.lower(), "endText": end_txt} + if len(out) >= 50: + break + if len(out) < 45: + raise ParseError(f"only {len(out)} governors found in “{title}”") + return out, title + + +def _gov_entry(code, g, status, powers): + note = "Term-limited." if g.get("termLimited") else "" + term_end = C.governor_term_end(code, g["endYear"]) if g.get("endYear") else None + return {"name": g["name"], "party": g["party"], "termEnd": term_end, "status": status, "note": note, + "powers": powers.get(code, [])} + + +def governors_current(client, day): + govs, title = current_governors(client) + powers = C.seed_governor_powers() + data = {code: _gov_entry(code, g, "continuing", powers) for code, g in govs.items()} + return data, [title] + + +def governors_election(client, year): + title = f"{year} United States gubernatorial elections" + text = strip_noise(client.page(title)) + body = section(text, "Race summary") + if body is None: + raise ParseError(f"“Race summary” section not found in “{title}”") + powers = C.seed_governor_powers() + races = {} + for row in split_rows(body): + head = "\n".join(header_lines(row)) + m = re.search(r"\[\[\s*%d ([A-Z][A-Za-z .]+?) gubernatorial (?:special )?election\|" % year, head) + if not m: + continue + code = state_code(m.group(1)) + if not code: + continue + term = C.GOVERNOR_TERM_YEARS.get(code, 4) + starts_december = C.GOVERNOR_INAUGURATION.get(code, "01").startswith("12") + end_year = year + term if starts_december else year + 1 + term + e = race_result(row, C.governor_term_end(code, end_year), f"elected-{year}", + "End of term deduced from the term length.") + e["powers"] = powers.get(code, []) + races[code] = e + if len(races) < 20: + raise ParseError(f"only {len(races)} governor races found in “{title}”") + govs, list_title = current_governors(client) + data = {} + for code in C.NAMES: + if code in races: + data[code] = races[code] + elif code in govs: + data[code] = _gov_entry(code, govs[code], "continuing", powers) + return data, [title, list_title] + + +# ---------------------------------------------------------------- State legislatures + +LOWER_WORDS = re.compile(r"house|assembly|delegates", re.I) + + +def chamber_titles(): + out = [] + for code, (up, low) in C.CHAMBERS.items(): + out.append((code, "upper", up[0], up[1])) + if low: + out.append((code, "lower", low[0], low[1])) + return out + + +GROUP_WORDS = re.compile(r"\b(majority|minority|caucus|coalition|total|officially|nonpartisan)\b", re.I) +PARTY_WORDS = re.compile(r"democrat|republican|independent|vacan|libertarian|green|progressive|dfl", re.I) + + +def infobox_composition(box): + """{D, R, I, vacant} from political_groups1 of an Infobox legislature. + + Lines are read as groups: a heading (bold or ';' line) with an optional count, then bullet lines. + A bullet without its own count takes the heading's count when it is the heading's only bullet. + """ + pg = box.get("political_groups1") or box.get("political_groups") or "" + groups = [] # [heading label, heading count, [[label, count]]] + for line in pg.split("\n"): + s = line.strip() + if not s: + continue + is_bullet = s.startswith("*") or (s.startswith("|") and not s.startswith("|}")) + txt = plain(s.lstrip("*|; ")) + m = re.search(r"^(.*?)\(\s*(\d+)\s*\)\s*$", txt) + label, count = (m.group(1).strip(), int(m.group(2))) if m else (txt.strip(), None) + if is_bullet and (count is not None or PARTY_WORDS.search(label)): + if not groups: + groups.append(["", None, []]) + groups[-1][2].append([label, count]) + elif s.startswith(("''", ";")) or GROUP_WORDS.search(label) or count is not None: + groups.append([label, count, []]) + counts = {"D": 0, "R": 0, "I": 0, "vacant": 0} + found = 0 + for head, head_count, bullets in groups: + if len(bullets) == 1 and bullets[0][1] is None and head_count is not None: + bullets[0][1] = head_count + if not bullets and head_count is not None and PARTY_WORDS.search(head) and not GROUP_WORDS.search(head): + bullets = [[head, head_count]] + for label, n in bullets: + if n is None: + continue + if re.search(r"vacan", label, re.I): + counts["vacant"] += n + else: + counts[party_code(label) or "I"] += n + found += 1 + return counts if found else None + + +def chamber_leader(box, which, code): + leaders = [] + for i in range(1, 12): + if f"leader{i}" in box: + leaders.append((box.get(f"leader{i}_type", ""), box.get(f"leader{i}", ""))) + pick, title, note = None, None, "" + if which == "lower" or code == "NE": + for t, n in leaders: + tp = plain(t) + if re.match(r"speaker\b", tp, re.I) and "pro tem" not in tp.lower(): + pick, title = (t, n), ("Speaker of the Legislature" if code == "NE" else "Speaker") + break + if not pick and which == "upper": + lg = False + for t, n in leaders: + tp = plain(t).lower() + is_lg = "lieutenant governor" in t.lower() + if re.match(r"speaker\b", tp) and "pro tem" not in tp: + # Tennessee: the Senate elects its Speaker, who is also lieutenant governor + pick, title = (t, n), "Speaker of the Senate" + note = "Also lieutenant governor." if is_lg else "" + break + if re.match(r"president\b", tp) and "pro tem" not in tp: + if is_lg: + lg = True + continue + pick, title = (t, n), "President of the Senate" + break + if not pick: + for t, n in leaders: + tp = plain(t) + if re.search(r"pro tem|temporary president", tp, re.I): + pick = (t, n) + title = "President pro tempore" if "pro tem" in tp.lower() else "Temporary President" + break + if pick and lg: + note = "Lieutenant governor presides." + if not pick: + others = [l for l in leaders if "lieutenant governor" not in l[0].lower()] or leaders + if not others: + return None + pick = others[0] + title = plain(pick[0]) or "Leader" + txt = plain(pick[1]) + m = re.match(r"^(.*?)\s*\(([^()]*)\)\s*$", txt) + name, party = (m.group(1), party_code(m.group(2))) if m else (txt, None) + if not name or name.lower().startswith("vacant"): + return {"title": title, "name": None, "party": None, "termEnd": None, "note": "Vacant.", "status": "vacant"} + if not party: + bg = re.search(r"party color\s*\|([^}]*)\}\}", box.get("background_color", ""), re.I) + if bg and party_code(bg.group(1)) in ("D", "R"): + party = party_code(bg.group(1)) + note = (note + " Party deduced from the chamber's majority (not given in the infobox).").strip() + return {"title": title, "name": name.strip(), "party": party, "termEnd": None, "note": note} + + +def summary_tables(client, year): + """Post-election compositions from the main state legislative elections page: {(code, which): info}.""" + title = f"{year} United States state legislative elections" + text = strip_noise(client.page(title)) + out = {} + heads = [(m.start(), plain(m.group(1))) for m in re.finditer(r"^===(?!=)\s*(.+?)\s*===\s*$", text, re.M)] + for t in tables(text): + if not t.caption or not t.rows: + continue + hi = next((i for i, r in enumerate(t.rows[:3]) if any(c.text == "Before" for c in r) and any(c.text == "After" for c in r)), None) + if hi is None: + continue + state = None + for pos, h in heads: + if pos < t.start: + state = h + code = state_code(state or "") + if not code: + continue + which = "upper" if code == "NE" or not LOWER_WORDS.search(t.caption) else "lower" + hdr = [c.text for c in t.rows[hi]] + i_b, i_a = hdr.index("Before"), hdr.index("After") + i_p = max(i for i, h in enumerate(hdr) if h == "Party") + before = {"D": 0, "R": 0, "I": 0, "vacant": 0} + after = {"D": 0, "R": 0, "I": 0, "vacant": 0} + after_known = False + after_missing = False # a party that held seats before has no "After" figure yet + seats = None + for r in t.rows[hi + 1:]: + if len(r) <= max(i_b, i_a, i_p): + continue + label = r[i_p].text + if any(c.text.lower() == "total" for c in r): + nb = re.search(r"\d+", r[i_b].text) + seats = int(nb.group(0)) if nb else None + continue + if not label: + continue + key = "vacant" if re.search(r"vacan", label, re.I) else party_code(label) + nb = re.search(r"\d+", r[i_b].text) + na = re.search(r"\d+", r[i_a].text) + if nb: + before[key] += int(nb.group(0)) + if na: + after[key] += int(na.group(0)) + after_known = True + elif nb and int(nb.group(0)) > 0 and key != "vacant": + after_missing = True + complete = seats is not None and sum(after.values()) == seats + out[(code, which)] = {"caption": t.caption, "seats": seats, "before": before, + "after": after if after_known and (complete or not after_missing) else None} + if len(out) < 60: + raise ParseError(f"only {len(out)} chamber tables found in “{title}”") + return out, title + + +def majority_party(c): + top = sorted(("D", "R", "I"), key=lambda k: -c.get(k, 0)) + if c.get(top[0], 0) == c.get(top[1], 0): + return None + return top[0] + + +def fmt_counts(c): + return ", ".join(f"{c[k]} {k}" for k in ("D", "R", "I") if c.get(k)) + + +PARTY_WORD = {"D": "Democrats", "R": "Republicans", "I": "Independents"} + + +def legislatures(client, mode, day, year=None): + """Returns ({code: {upper, lower}}, sources, per-chamber problems {(code, which): reason}).""" + titles = chamber_titles() + articles = client.pages([t for _, _, t, _ in titles], label="state chamber articles") + summary, summary_title = (summary_tables(client, year) if mode == "election" else ({}, None)) + data, problems = {}, {} + for code, which, title, size in titles: + text = articles.get(title) + box = infobox(text, "Infobox legislature") if text else {} + name = plain(box.get("name", "")) or title + leader = chamber_leader(box, which, code) if box else None + next_year = C.next_legislative_election(code, day) + if leader: + leader["termEnd"] = str(next_year) + parts = [leader["note"]] + if mode == "election": + parts.append("Current leader; the leader for the new session may not be chosen yet.") + leader.setdefault("status", "current") + parts.append(f"Leaders serve one legislative session; end deduced from the next regular election ({next_year}).") + leader["note"] = " ".join(p for p in parts if p) + ch = {"name": name, "seats": size, "D": 0, "R": 0, "I": 0, "vacant": 0, "uncalled": 0, + "compositionNote": "", "leader": leader} + s = summary.get((code, which)) + if mode == "election" and s: + if s["seats"] and s["seats"] != size: + problems[(code, which)] = f"the summary table gives {s['seats']} seats instead of {size}" + elif s["after"]: + a = s["after"] + known = a["D"] + a["R"] + a["I"] + a["vacant"] + if known > size: + problems[(code, which)] = f"post-election seats add up to {known}, more than {size}" + ch.update({k: a[k] for k in ("D", "R", "I", "vacant")}) + ch["uncalled"] = max(0, size - known) + notes = [] + if ch["uncalled"]: + notes.append(f"{ch['uncalled']} seat(s) not yet called on Wikipedia.") + mb, ma = majority_party(s["before"]), majority_party(a) if not ch["uncalled"] else None + if mb and ma and mb != ma: + notes.append(f"{PARTY_WORD[ma]} flipped the chamber.") + ch["compositionNote"] = " ".join(notes) + else: + ch["uncalled"] = size + ch["compositionNote"] = (f"Wikipedia has not published {year} results for this chamber yet" + + (f" (before the election: {fmt_counts(s['before'])})." if fmt_counts(s["before"]) else ".")) + ch["_unknown"] = True + else: + comp = infobox_composition(box) if box else None + if not text: + problems[(code, which)] = f"article “{title}” not found" + elif comp is None: + problems[(code, which)] = f"no party composition in the infobox of “{title}”" + else: + ch.update(comp) + total = sum(comp.values()) + if total != size: + problems[(code, which)] = f"infobox seats add up to {total} instead of {size}" + if mode == "election": + ch["compositionNote"] = f"No regular election for this chamber in {year}; current composition from the chamber article." + if not leader and (code, which) not in problems: + problems[(code, which)] = f"no presiding officer found in the infobox of “{title}”" + if code == "NE": + ch["compositionNote"] = (ch["compositionNote"] + " Unicameral and officially nonpartisan; counts use members' party affiliation as Wikipedia reports it.").strip() + data.setdefault(code, {"upper": None, "lower": None})[which] = ch + sources = ([summary_title] if summary_title else []) + ["each state chamber's article"] + return data, sources, problems diff --git a/app/seed/governors.json b/app/seed/governors.json new file mode 100644 index 0000000..8a00a39 --- /dev/null +++ b/app/seed/governors.json @@ -0,0 +1,738 @@ +{ + "meta": { + "mode": "election", + "electionYear": 2026, + "asOf": "2026-11-13", + "seed": true, + "sources": [ + "2026 United States gubernatorial elections", + "List of current United States governors", + "each state's Governor article" + ] + }, + "data": { + "AK": { + "name": "Jonathan Kreiss-Tomkins", + "party": "D", + "termEnd": "2030-12", + "status": "elected-2026", + "note": "Ranked-choice race; Wikipedia marked it called for the Democrat on Nov 13, 2026 (50.2%). Term starts first Monday of December.", + "powers": [ + "Veto; override by 2/3 of legislators in joint session", + "Budget bills: override needs 3/4 of elected legislators", + "Line-item and reduction veto on appropriations", + "Commander-in-chief of Alaska's state forces", + "Two consecutive four-year terms" + ] + }, + "AL": { + "name": "Tommy Tuberville", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; legislature overrides by majority of elected members", + "Amendatory veto and line-item veto", + "Can grant clemency; fills vacancies in elected offices", + "Appoints cabinet and members of 450+ boards and commissions", + "Commander-in-chief of the militia; oversees state finances", + "Two consecutive four-year terms" + ] + }, + "AR": { + "name": "Sarah Huckabee Sanders", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; General Assembly overrides by simple majority", + "Line-item veto on appropriations bills", + "Appoints the 15 cabinet secretaries", + "Can call the General Assembly into special session", + "Commander-in-chief of the state militia", + "Limited to two four-year terms" + ] + }, + "AZ": { + "name": "Katie Hobbs", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; override by 2/3 of elected members (3/4 for some bills)", + "Line-item veto on appropriations", + "Grants pardons, except in impeachment cases", + "Commander-in-chief of state military forces; convenes legislature", + "Two consecutive terms; may run again after four years" + ] + }, + "CA": { + "name": "Xavier Becerra", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto on budget bills", + "Prepares and submits the annual state budget", + "Appoints state judges to vacant seats", + "Pardons and commutations, some need state Supreme Court approval", + "Commander-in-chief of National Guard; two-term limit" + ] + }, + "CO": { + "name": "Phil Weiser", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; override by two-thirds of elected members", + "Line-item veto on appropriations", + "Grants pardons, except for treason or impeachment", + "Commander-in-chief of state military forces", + "Two consecutive terms; eligible again after four years" + ] + }, + "CT": { + "name": "Ned Lamont", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; General Assembly overrides by two-thirds", + "Line-item veto", + "No pardon power, unusual among governors", + "Commander-in-chief of state military forces; convenes legislature", + "Four-year terms, no term limit" + ] + }, + "DE": { + "name": "Matt Meyer", + "party": "D", + "termEnd": "2029-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; override by three-fifths of elected members", + "Line-item veto and pocket veto", + "Pardons only on recommendation of the Board of Pardons", + "Commander-in-chief of state military forces; convenes legislature", + "Limited to two terms" + ] + }, + "FL": { + "name": "Byron Donalds", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; Legislature overrides by two-thirds of members present", + "Line-item veto on appropriations", + "Proposes and oversees the state budget", + "Grants pardons (except impeachment); key state appointments", + "Commander-in-chief of Florida National Guard and State Guard", + "Two consecutive four-year terms" + ] + }, + "GA": { + "name": "Keisha Lance Bottoms", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; General Assembly overrides by two-thirds", + "Line-item veto", + "Calls the General Assembly into special session", + "Can suspend or remove officers after a commission finding", + "Commander-in-chief of National Guard and State Defense Force", + "Two consecutive terms, then four years out" + ] + }, + "HI": { + "name": "Josh Green", + "party": "D", + "termEnd": "2030-12", + "status": "elected-2026", + "note": "Term starts first Monday of December.", + "powers": [ + "Veto; override by two-thirds of elected members", + "Line-item and reduction veto", + "Appoints all state judges, subject to Senate approval", + "Appoints many statewide executives, e.g. attorney general", + "Commander-in-chief of Hawaii's armed forces", + "Two consecutive terms, then must sit out a term" + ] + }, + "IA": { + "name": "Rob Sand", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; override by two-thirds of elected members", + "Line-item veto and pocket veto", + "Grants pardons, except treason and impeachment", + "Commander-in-chief of state military forces", + "Four-year terms, no term limit" + ] + }, + "ID": { + "name": "Brad Little", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; override by two-thirds of members present", + "Line-item veto", + "Commander-in-chief of state military forces", + "Four-year terms, no term limit" + ] + }, + "IL": { + "name": "JB Pritzker", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; General Assembly overrides by three-fifths", + "Amendatory, line-item and reduction vetoes", + "Reduction vetoes overridden by simple majority", + "Power of pardon and commutation", + "Commander-in-chief of state forces in state service", + "Four-year terms, no term limit" + ] + }, + "IN": { + "name": "Mike Braun", + "party": "R", + "termEnd": "2029-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; General Assembly overrides by simple majority", + "No line-item veto; pocket veto ruled unconstitutional", + "Pardons and commutations, except treason or impeachment", + "Appoints judges to fill vacancies", + "Can call out the Indiana National Guard in emergencies", + "Two terms in any 12-year period" + ] + }, + "KS": { + "name": "Cindy Holscher", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "Narrow win, 50.3% to 49.7%; called per Wikipedia.", + "powers": [ + "Veto; override by two-thirds of membership", + "Line-item veto", + "Grants pardons; can convene legislature at any time", + "Commander-in-chief of state military forces", + "Two consecutive four-year terms" + ] + }, + "KY": { + "name": "Andy Beshear", + "party": "D", + "termEnd": "2027-12", + "status": "continuing", + "note": "Term-limited; successor elected Nov 2027, sworn in the fifth Tuesday after the election.", + "powers": [ + "Veto; General Assembly overrides by simple majority", + "Line-item veto; no pocket veto", + "Proposes the biennial state budget", + "Broad appointment power over cabinets and commissions", + "Grants pardons, except impeachment cases", + "Two consecutive terms, then four years out" + ] + }, + "LA": { + "name": "Jeff Landry", + "party": "R", + "termEnd": "2028-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto, required to keep the budget balanced", + "Submits operating budget and five-year capital outlay plan", + "Appoints cabinet secretaries leading state agencies", + "Pardons, reprieves, commutations; commands National Guard", + "Limited to two terms in a lifetime" + ] + }, + "MA": { + "name": "Maura Healey", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; legislature overrides by two-thirds", + "Line-item, reduction and amendatory vetoes", + "Key appointments need consent of elected Governor's Council", + "Commander-in-chief of state military forces", + "Four-year terms, no term limit" + ] + }, + "MD": { + "name": "Wes Moore", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; General Assembly overrides by three-fifths", + "Line-item veto on appropriations", + "Presents budget; legislature can cut but not increase it", + "Appoints most officers and cabinet, with Senate consent", + "Pardons and commutations; commands the National Guard", + "Two consecutive four-year terms" + ] + }, + "ME": { + "name": "Hannah Pingree", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item and reduction veto", + "Appoints judges and officers, confirmed by the Legislature", + "Pardons, reprieves and commutations, except impeachment", + "Commander-in-chief of the Maine National Guard", + "Two consecutive four-year terms" + ] + }, + "MI": { + "name": "Jocelyn Benson", + "party": "D", + "termEnd": "2031-01-01", + "status": "elected-2026", + "note": "Term begins at noon on January 1.", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto", + "Appoints judges, later subject to voter ratification", + "Appoints most department heads with Senate consent", + "Grants pardons (except impeachment); commands state militia", + "Limited to two four-year terms" + ] + }, + "MN": { + "name": "Amy Klobuchar", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "Minnesota Democratic-Farmer-Labor Party (Democratic affiliate).", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto and pocket veto", + "Appoints department heads (commissioners)", + "Four-year terms, no term limit" + ] + }, + "MO": { + "name": "Mike Kehoe", + "party": "R", + "termEnd": "2029-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; override by two-thirds of elected members", + "Line-item veto", + "Grants pardons, except impeachment cases", + "Commander-in-chief of the National Guard; convenes legislature", + "Limited to two terms" + ] + }, + "MS": { + "name": "Tate Reeves", + "party": "R", + "termEnd": "2028-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto on appropriations only", + "Pardons and reprieves, except treason or impeachment", + "Little authority over the state budget process", + "Commander-in-chief of National Guard; calls special sessions", + "Two consecutive four-year terms" + ] + }, + "MT": { + "name": "Greg Gianforte", + "party": "R", + "termEnd": "2029-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; override by two-thirds of members present", + "Line-item and amendatory vetoes", + "Grants pardons and reprieves", + "Commander-in-chief; can convene legislature at any time", + "Eight years in any sixteen-year period" + ] + }, + "NC": { + "name": "Josh Stein", + "party": "D", + "termEnd": "2029-01-01", + "status": "continuing", + "note": "Term begins January 1.", + "powers": [ + "Veto; General Assembly overrides by three-fifths", + "No line-item veto", + "Director of the state budget", + "Appoints some judges, executive officials and board members", + "Grants pardons; commands the North Carolina National Guard", + "Two consecutive four-year terms" + ] + }, + "ND": { + "name": "Kelly Armstrong", + "party": "R", + "termEnd": "2028-12-15", + "status": "continuing", + "note": "Next inauguration fixed on December 15, 2028.", + "powers": [ + "Veto; Legislative Assembly overrides by two-thirds", + "Line-item veto", + "Can call the Legislative Assembly into emergency session", + "Commander-in-chief of state military forces", + "Limited to two four-year terms" + ] + }, + "NE": { + "name": "Jim Pillen", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; unicameral Legislature overrides by three-fifths (30 votes)", + "Line-item and reduction veto", + "Calls special sessions limited to topics in proclamation", + "Two consecutive four-year terms" + ] + }, + "NH": { + "name": "Kelly Ayotte", + "party": "R", + "termEnd": "2029-01", + "status": "elected-2026", + "note": "Two-year term.", + "powers": [ + "Veto; override by two-thirds of members present", + "No line-item veto", + "Pardons need approval of the elected Executive Council", + "Nominates judges, attorney general, Guard officers (Council approval)", + "Commander-in-chief of state military forces", + "Two-year terms, no term limit" + ] + }, + "NJ": { + "name": "Mikie Sherrill", + "party": "D", + "termEnd": "2030-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item and amendatory vetoes", + "Appoints entire cabinet, confirmed by the Senate", + "Appoints all Superior Court judges and county prosecutors", + "Commander-in-chief of the New Jersey National Guard", + "Two consecutive four-year terms" + ] + }, + "NM": { + "name": "Deb Haaland", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; override by two-thirds of members present", + "Line-item veto", + "Submits the state budget", + "Commander-in-chief of the New Mexico National Guard", + "Two consecutive terms; may run again after one term out" + ] + }, + "NV": { + "name": "Aaron Ford", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; override by two-thirds of elected members", + "No line-item veto", + "Pardons and reprieves, except treason or impeachment", + "Commander-in-chief; can convene legislature at any time", + "Limited to two four-year terms" + ] + }, + "NY": { + "name": "Kathy Hochul", + "party": "D", + "termEnd": "2031-01-01", + "status": "elected-2026", + "note": "Terms begin at midnight on New Year's Day.", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto and pocket veto", + "Grants pardons, except treason and impeachment", + "Appoints Executive Chamber without Senate confirmation", + "Commander-in-chief; can convene the Legislature", + "Four-year terms, no term limit" + ] + }, + "OH": { + "name": "Amy Acton", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; General Assembly overrides by three-fifths", + "Line-item veto", + "Drafts the budget proposal for the General Assembly", + "Grants pardons, except treason and impeachment", + "Appointments with Senate consent; fills statewide vacancies", + "Two consecutive four-year terms" + ] + }, + "OK": { + "name": "Mike Mazzei", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto on appropriations", + "Pardons only after a favorable Pardon and Parole Board vote", + "Prepares the state budget; appoints cabinet secretaries", + "Appoints appellate judges from nominating commission lists", + "Two consecutive four-year terms" + ] + }, + "OR": { + "name": "Tina Kotek", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; override by two-thirds in both houses", + "Line-item veto on appropriation and emergency bills", + "Pardons and commutations; only reprieves for treason", + "Commander-in-chief of the Oregon Military Department", + "Calls special sessions; fills vacancies by appointment", + "Two terms in any 12-year period" + ] + }, + "PA": { + "name": "Josh Shapiro", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; General Assembly overrides by two-thirds", + "Line-item veto", + "Two consecutive four-year terms", + "No lifetime limit; may return after a break" + ] + }, + "RI": { + "name": "Helena Foulkes", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; override by three-fifths of members present", + "No line-item veto", + "Grants pardons", + "Submits the annual state budget", + "Commander-in-chief (Captain-General) of the National Guard", + "Two consecutive four-year terms" + ] + }, + "SC": { + "name": "Alan Wilson", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; General Assembly overrides by two-thirds", + "Line-item veto", + "Submits an executive budget each January", + "Appoints 14 cabinet agency directors; shares other appointments", + "Clemency limited to commuting death sentences to life", + "Two consecutive four-year terms" + ] + }, + "SD": { + "name": "Larry Rhoden", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto; amendatory veto on style or form only", + "Appoints cabinet and many boards and commissions", + "Grants pardons for state offenses", + "Commander-in-chief of the South Dakota National Guard", + "Two consecutive four-year terms" + ] + }, + "TN": { + "name": "Marsha Blackburn", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "Won with a 45.5% plurality.", + "powers": [ + "Veto; General Assembly overrides by simple majority", + "Line-item veto on spending items", + "Appoints judges through the Tennessee Plan nominating commission", + "Appoints most state department heads", + "Commander-in-chief of National Guard and state militia", + "Two consecutive four-year terms" + ] + }, + "TX": { + "name": "Gina Hinojosa", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; Legislature overrides by two-thirds of members present", + "Line-item veto", + "Pardons only on Board of Pardons and Paroles recommendation", + "Weak budget role; Legislative Budget Board leads", + "Commander-in-chief of Texas Military Forces; calls special sessions", + "Four-year terms, no term limit" + ] + }, + "UT": { + "name": "Spencer Cox", + "party": "R", + "termEnd": "2029-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; override by two-thirds of elected members", + "Line-item veto", + "Commander-in-chief of the Utah National Guard", + "Convenes the legislature on extraordinary occasions", + "No term limits (repealed in 2003)" + ] + }, + "VA": { + "name": "Abigail Spanberger", + "party": "D", + "termEnd": "2030-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; override by two-thirds of members present", + "Line-item and amendatory vetoes", + "Pardons and commutes sentences", + "Fills vacancies not appointed by the legislature", + "Commander-in-chief of the Virginia National Guard", + "Single four-year term; no immediate re-election" + ] + }, + "VT": { + "name": "Phil Scott", + "party": "R", + "termEnd": "2029-01", + "status": "elected-2026", + "note": "Two-year term.", + "powers": [ + "Veto; override by two-thirds of members present", + "No line-item veto", + "Pardons and remits fines; only reprieves for treason", + "Commissions or appoints state officers", + "Captain-General and Commander-in-Chief of state forces", + "Two-year terms, no term limit" + ] + }, + "WA": { + "name": "Bob Ferguson", + "party": "D", + "termEnd": "2029-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; override by two-thirds of members present", + "Section veto on any bill; line-item on spending", + "Commander-in-chief of state military forces", + "Four-year terms, no term limit" + ] + }, + "WI": { + "name": "David Crowley", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; Legislature overrides by two-thirds of members present", + "Strong partial veto: strikes words in appropriation bills", + "Pardons, commutations, reprieves, except treason or impeachment", + "Appoints heads of agencies created by the legislature", + "Commander-in-chief of the Wisconsin National Guard", + "Four-year terms, no term limits" + ] + }, + "WV": { + "name": "Patrick Morrisey", + "party": "R", + "termEnd": "2029-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; Legislature overrides by majority of elected members", + "Line-item and reduction veto", + "Pardons and reprieves, except House impeachment cases", + "Commander-in-chief; can convene the legislature at any time", + "Two consecutive four-year terms" + ] + }, + "WY": { + "name": "Eric Barlow", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "", + "powers": [ + "Veto; Legislature overrides by two-thirds of elected members", + "Line-item veto", + "Commander-in-chief of the Wyoming National Guard", + "Eight years in any sixteen-year period" + ] + } + } +} \ No newline at end of file diff --git a/app/seed/house.json b/app/seed/house.json new file mode 100644 index 0000000..f9fb03f --- /dev/null +++ b/app/seed/house.json @@ -0,0 +1,3594 @@ +{ + "meta": { + "mode": "election", + "electionYear": 2026, + "asOf": "2026-11-13", + "seed": true, + "sources": [ + "2026 United States House of Representatives elections", + "2026 House election articles for each state" + ] + }, + "data": { + "AK": [ + { + "district": 0, + "name": "Nick Begich III", + "party": "R", + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Leading, not yet called" + } + ], + "AL": [ + { + "district": 1, + "name": "Jerry Carl", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Shomari Figures", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Mike Rogers", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Robert Aderholt", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Dale Strong", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Gary Palmer", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Terri Sewell", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "AR": [ + { + "district": 1, + "name": "Rick Crawford", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "French Hill", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Steve Womack", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Bruce Westerman", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "AZ": [ + { + "district": 1, + "name": "Amish Shah", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Eli Crane", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Yassamin Ansari", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Greg Stanton", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Mark Lamb", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "JoAnna Mendoza", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Adelita Grijalva", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Abraham Hamadeh", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Paul Gosar", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "CA": [ + { + "district": 1, + "name": "Mike McGuire", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Jared Huffman", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Ami Bera", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": null, + "party": "D", + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Not yet called; Mike Thompson (D) vs Eric Jones (D), both Democrats" + }, + { + "district": 5, + "name": "Tom McClintock", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Richard Pan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Doris Matsui", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "John Garamendi", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Josh Harder", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Mark DeSaulnier", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Scott Wiener", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Lateefah Simon", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Adam Gray", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "Aisha Wahab", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 15, + "name": "Kevin Mullin", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 16, + "name": "Sam Liccardo", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 17, + "name": "Ro Khanna", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 18, + "name": "Zoe Lofgren", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 19, + "name": "Jimmy Panetta", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 20, + "name": "Vince Fong", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 21, + "name": "Jim Costa", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 22, + "name": "Randy Villegas", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 23, + "name": null, + "party": null, + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Not yet called; Jay Obernolte (R) vs Tessa Lynn Hodge (D)" + }, + { + "district": 24, + "name": "Salud Carbajal", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 25, + "name": "Raul Ruiz", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 26, + "name": "Jacqui Irwin", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 27, + "name": "George T. Whitesides", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 28, + "name": "Judy Chu", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 29, + "name": "Luz Rivas", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 30, + "name": "Laura Friedman", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 31, + "name": "Gil Cisneros", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 32, + "name": "Brad Sherman", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 33, + "name": "Pete Aguilar", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 34, + "name": "Angela Gonzales-Torres", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 35, + "name": "Norma Torres", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 36, + "name": "Ted Lieu", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 37, + "name": "Sydney Kamlager-Dove", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 38, + "name": "Hilda Solis", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 39, + "name": "Mark Takano", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 40, + "name": "Ken Calvert", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 41, + "name": "Linda Sánchez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 42, + "name": "Robert Garcia", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 43, + "name": "Maxine Waters", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 44, + "name": "Nanette Barragán", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 45, + "name": "Derek Tran", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 46, + "name": "Lou Correa", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 47, + "name": "Dave Min", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 48, + "name": "Marni von Wilpert", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 49, + "name": "Mike Levin", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 50, + "name": "Scott Peters", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 51, + "name": "Sara Jacobs", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 52, + "name": "Juan Vargas", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "CO": [ + { + "district": 1, + "name": "Melat Kiros", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Joe Neguse", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Jeff Hurd", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Eileen Laubacher", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Jessica Killin", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Jason Crow", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Brittany Pettersen", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Manny Rutinel", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "CT": [ + { + "district": 1, + "name": "Luke Bronin", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Joe Courtney", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Rosa DeLauro", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Jim Himes", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Jahana Hayes", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "DE": [ + { + "district": 0, + "name": "Sarah McBride", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "FL": [ + { + "district": 1, + "name": "Jimmy Patronis", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Austin Rogers", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Kat Cammack", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Aaron Bean", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "John Rutherford", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Randy Fine", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Ryan Elijah", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Mike Haridopolos", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Darren Soto", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Maxwell Frost", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Joe Strada", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Gus Bilirakis", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Anna Paulina Luna", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "Kathy Castor", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 15, + "name": "Laurel Lee", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 16, + "name": "Sydney Gruters", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 17, + "name": "Greg Steube", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 18, + "name": "Scott Franklin", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 19, + "name": "Jim Schwartzel", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 20, + "name": "Debbie Wasserman Schultz", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 21, + "name": "Brian Mast", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 22, + "name": "Pia Dandiya", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 23, + "name": "Lois Frankel", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 24, + "name": "Oliver Gilbert", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 25, + "name": "Jared Moskowitz", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 26, + "name": "Mario Díaz-Balart", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 27, + "name": "María Elvira Salazar", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 28, + "name": "Carlos A. Giménez", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "GA": [ + { + "district": 1, + "name": "Jim Kingston", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Sanford Bishop", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Brian Jack", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Hank Johnson", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Nikema Williams", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Lucy McBath", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Rich McCormick", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Austin Scott", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Andrew Clyde", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Houston Gaines", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "John Cowan", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Rick Allen", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Jasmine Clark", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "Clay Fuller", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "HI": [ + { + "district": 1, + "name": "Ed Case", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Jill Tokuda", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "IA": [ + { + "district": 1, + "name": "Christina Bohannan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Lindsay James", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Sarah Trone Garriott", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Chris McGowan", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "ID": [ + { + "district": 1, + "name": "Russ Fulcher", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Mike Simpson", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "IL": [ + { + "district": 1, + "name": "Jonathan Jackson", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Donna Miller", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Delia Ramirez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Patty García", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Mike Quigley", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Sean Casten", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "La Shawn Ford", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Melissa Bean", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Daniel Biss", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Brad Schneider", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Bill Foster", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Mike Bost", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Nikki Budzinski", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "Lauren Underwood", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 15, + "name": "Mary Miller", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 16, + "name": "Darin LaHood", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 17, + "name": "Eric Sorensen", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "IN": [ + { + "district": 1, + "name": "Frank J. Mrvan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Rudy Yakym", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Marlin Stutzman", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Jim Baird", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "J. D. Ford", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Jefferson Shreve", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "André Carson", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Mark Messmer", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Erin Houchin", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "KS": [ + { + "district": 1, + "name": "Tracey Mann", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Derek Schmidt", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Sharice Davids", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Ron Estes", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "KY": [ + { + "district": 1, + "name": "James Comer", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Brett Guthrie", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Morgan McGarvey", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Ed Gallrein", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Hal Rogers", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Zach Dembo", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "LA": [ + { + "district": 1, + "name": "Steve Scalise", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Troy Carter", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Clay Higgins", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Mike Johnson", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": null, + "party": null, + "termEnd": "2029-01-03", + "status": "runoff", + "note": "Runoff on December 12, 2026: Gabe Firment (R) vs Patricia Moore (D)" + }, + { + "district": 6, + "name": null, + "party": null, + "termEnd": "2029-01-03", + "status": "runoff", + "note": "Runoff on December 12, 2026: Blake Miguez (R) vs Chauna Banks (D)" + } + ], + "MA": [ + { + "district": 1, + "name": "Richard Neal", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Jim McGovern", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Lori Trahan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Jake Auchincloss", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Katherine Clark", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Dan Koh", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Ayanna Pressley", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Stephen Lynch", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Bill Keating", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "MD": [ + { + "district": 1, + "name": "Andy Harris", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Johnny Olszewski", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Sarah Elfreth", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Glenn Ivey", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Adrian Boafo", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "April McClain Delaney", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Kweisi Mfume", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Jamie Raskin", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "ME": [ + { + "district": 1, + "name": "Chellie Pingree", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Paul LePage", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "MI": [ + { + "district": 1, + "name": "Jack Bergman", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "John Moolenaar", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Hillary Scholten", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Sean McCann", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Tim Walberg", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Debbie Dingell", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "William Lawrence", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Kristen McDonald Rivet", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Lisa McClain", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Christina Hines", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Jeremy Moss", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Rashida Tlaib", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Donavan McKinney", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "MN": [ + { + "district": 1, + "name": "Jake Johnson", + "party": "D", + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Leading, not yet called (50.0% vs 49.9%, ~320 votes; state page lists Johnson as winner, national summary table does not)" + }, + { + "district": 2, + "name": "Matt Little", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Kelly Morrison", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Betty McCollum", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Ilhan Omar", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Tom Emmer", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Michelle Fischbach", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Pete Stauber", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "MO": [ + { + "district": 1, + "name": "Wesley Bell", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Fred Wellman", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Bob Onder", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Mark Alford", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Emanuel Cleaver", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Chris Stigall", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Eric Burlison", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Jason Smith", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "MS": [ + { + "district": 1, + "name": "Trent Kelly", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Bennie Thompson", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Michael Guest", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Mike Ezell", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "MT": [ + { + "district": 1, + "name": "Sam Forstag", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Troy Downing", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "NC": [ + { + "district": 1, + "name": "Don Davis", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Deborah Ross", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Raymond Smith Jr.", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Valerie Foushee", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Chuck Hubbard", + "party": "D", + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Leading, not yet called (48.74% vs 48.62% for incumbent Virginia Foxx, R)" + }, + { + "district": 6, + "name": "Cyril Jefferson", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "David Rouzer", + "party": "R", + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Leading, not yet called (49.9% vs 49.1%; state page infobox lists Rouzer as winner, national summary table does not)" + }, + { + "district": 8, + "name": "Mark Harris", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Richard Ojeda", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Pat Harrigan", + "party": "R", + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Leading, not yet called (49.6% vs 48.7%)" + }, + { + "district": 11, + "name": "Jamie Ager", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Alma Adams", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Paul Barringer", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "LaKesha Womack", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "ND": [ + { + "district": 0, + "name": "Julie Fedorchak", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "NE": [ + { + "district": 1, + "name": "Mike Flood", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Denise Powell", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Adrian Smith", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "NH": [ + { + "district": 1, + "name": "Stefany Shaheen", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Maggie Goodlander", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "NJ": [ + { + "district": 1, + "name": "Donald Norcross", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Zack Mullock", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Herb Conaway", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Chris Smith", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Josh Gottheimer", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Frank Pallone", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Rebecca Bennett", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Rob Menendez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Nellie Pou", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "LaMonica McIver", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Analilia Mejia", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Adam Hamawy", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "NM": [ + { + "district": 1, + "name": "Melanie Stansbury", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Gabe Vasquez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Teresa Leger Fernández", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "NV": [ + { + "district": 1, + "name": "Dina Titus", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Teresa Benitez-Thompson", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Susie Lee", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Steven Horsford", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "NY": [ + { + "district": 1, + "name": "Nick LaLota", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Andrew Garbarino", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Tom Suozzi", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Laura Gillen", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Gregory Meeks", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Grace Meng", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Claire Valdez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Hakeem Jeffries", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Yvette Clarke", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Brad Lander", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Nicole Malliotakis", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Micah Lasher", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Darializa Avila Chevalier", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "Alexandria Ocasio-Cortez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 15, + "name": "Ritchie Torres", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 16, + "name": "George Latimer", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 17, + "name": "Cait Conley", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 18, + "name": "Pat Ryan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 19, + "name": "Josh Riley", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 20, + "name": "Paul Tonko", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 21, + "name": "Anthony Constantino", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 22, + "name": "John Mannion", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 23, + "name": "Nick Langworthy", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 24, + "name": "Claudia Tenney", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 25, + "name": "Joseph Morelle", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 26, + "name": "Tim Kennedy", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "OH": [ + { + "district": 1, + "name": "Greg Landsman", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "David Taylor", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Joyce Beatty", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Jim Jordan", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Bob Latta", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Michael Rulli", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Brian Poindexter", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Warren Davidson", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Marcy Kaptur", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Kristina Knickerbocker", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Shontel Brown", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Troy Balderson", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Emilia Sykes", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "David Joyce", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 15, + "name": "Don Leonard", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "OK": [ + { + "district": 1, + "name": "Mark Tedford", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Josh Brecheen", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Frank Lucas", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Tom Cole", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Stephanie Bice", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "OR": [ + { + "district": 1, + "name": "Suzanne Bonamici", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Cliff Bentz", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Maxine Dexter", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Val Hoyle", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Janelle Bynum", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Andrea Salinas", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "PA": [ + { + "district": 1, + "name": "Bob Harvie", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Brendan Boyle", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Chris Rabb", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Madeleine Dean", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Mary Gay Scanlon", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Chrissy Houlahan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Bob Brooks", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Paige Cognetti", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Dan Meuser", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Janelle Stelson", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Lloyd Smucker", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Summer Lee", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "John Joyce", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "Guy Reschenthaler", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 15, + "name": "Glenn Thompson", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 16, + "name": "Mike Kelly", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 17, + "name": "Chris Deluzio", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "RI": [ + { + "district": 1, + "name": "Gabe Amo", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Seth Magaziner", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "SC": [ + { + "district": 1, + "name": "Nancy Lacore", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Joe Wilson", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Sheri Biggs", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "William Timmons", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Wes Climer", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Jim Clyburn", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Russell Fry", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "SD": [ + { + "district": 0, + "name": "Marty Jackley", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "TN": [ + { + "district": 1, + "name": "Diana Harshbarger", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Tim Burchett", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Chuck Fleischmann", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Victoria Broderick", + "party": "D", + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Leading, not yet called (48.9% vs 48.7% for incumbent Scott DesJarlais, R; state page infobox lists Broderick as winner, national summary table does not)" + }, + { + "district": 5, + "name": "Charlie Hatcher", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Johnny Garrett", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Matt Van Epps", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "David Kustoff", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Brent Taylor", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "TX": [ + { + "district": 1, + "name": "Nathaniel Moran", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Steve Toth", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Keith Self", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Pat Fallon", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Lance Gooden", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Jake Ellzey", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Lizzie Fletcher", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Jessica Steinmann", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Leticia Gutierrez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Chris Gober", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "August Pfluger", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Craig Goldman", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Ronny Jackson", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "Randy Weber", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 15, + "name": "Bobby Pulido", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 16, + "name": "Veronica Escobar", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 17, + "name": "Pete Sessions", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 18, + "name": "Christian Menefee", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 19, + "name": "Tom Sell", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 20, + "name": "Joaquin Castro", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 21, + "name": "Mark Teixeira", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 22, + "name": "Trever Nehls", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 23, + "name": "Katy Padilla Stout", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 24, + "name": "Beth Van Duyne", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 25, + "name": "Roger Williams", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 26, + "name": "Brandon Gill", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 27, + "name": "Michael Cloud", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 28, + "name": "Henry Cuellar", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 29, + "name": "Sylvia Garcia", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 30, + "name": "Frederick Haynes III", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 31, + "name": "John Carter", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 32, + "name": "Jace Yarbrough", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 33, + "name": "Colin Allred", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 34, + "name": "Vicente Gonzalez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 35, + "name": "Johnny Garcia", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 36, + "name": "Brian Babin", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 37, + "name": "Greg Casar", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 38, + "name": "Jon Bonck", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "UT": [ + { + "district": 1, + "name": "Ben McAdams", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Blake Moore", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Celeste Maloy", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Mike Kennedy", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "VA": [ + { + "district": 1, + "name": "Shannon Taylor", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Elaine Luria", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Bobby Scott", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Jennifer McClellan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "John McGuire", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Ben Cline", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Eugene Vindman", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Don Beyer", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Morgan Griffith", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Suhas Subramanyam", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "James Walkinshaw", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "VT": [ + { + "district": 0, + "name": "Becca Balint", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "WA": [ + { + "district": 1, + "name": "Suzan DelBene", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Rick Larsen", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Marie Gluesenkamp Perez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Amanda McKinney", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Michael Baumgartner", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Emily Randall", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Pramila Jayapal", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Kim Schrier", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Adam Smith", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Marilyn Strickland", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "WI": [ + { + "district": 1, + "name": "Mitchell Berman", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Mark Pocan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Rebecca Cooke", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Gwen Moore", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Scott Fitzgerald", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Glenn Grothman", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Michael Alfonso", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Tony Wied", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "WV": [ + { + "district": 1, + "name": "Carol Miller", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Riley Moore", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "WY": [ + { + "district": 0, + "name": "Chuck Gray", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ] + } +} \ No newline at end of file diff --git a/app/seed/legislatures.json b/app/seed/legislatures.json new file mode 100644 index 0000000..2d2e038 --- /dev/null +++ b/app/seed/legislatures.json @@ -0,0 +1,1866 @@ +{ + "meta": { + "mode": "election", + "electionYear": 2026, + "asOf": "2026-11-13", + "seed": true, + "sources": [ + "2026 United States state legislative elections", + "2026 election article for each chamber", + "each state chamber's article" + ] + }, + "data": { + "AL": { + "upper": { + "name": "Alabama Senate", + "seats": 35, + "D": 10, + "R": 24, + "I": 1, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Independent Jesse Battles won District 10 (per the district table and the main 2026 elections page; the election article's infobox still shows 25 R).", + "leader": { + "title": "President pro tempore", + "name": "Garlan Gudger", + "party": "R", + "termEnd": "2030-11", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. Re-elected in District 4 in 2026; Alabama legislators take office on election day, so the 4-year term runs to the November 2030 election (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Alabama House of Representatives", + "seats": 105, + "D": 31, + "R": 74, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Nathaniel Ledbetter", + "party": "R", + "termEnd": "2030-11", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 24 in 2026; 4-year term, Alabama legislators take office on election day (deduced)." + } + } + }, + "AK": { + "upper": { + "name": "Alaska State Senate", + "seats": 20, + "D": 7, + "R": 9, + "I": 0, + "vacant": 0, + "uncalled": 4, + "compositionNote": "Ranked-choice races in districts G, M, O and S not yet called. Before the election the Senate was run by a bipartisan coalition (9 D + 5 R); holdover seats: 5 D, 5 R.", + "leader": { + "title": "President of the Senate", + "name": "Gary Stevens", + "party": "R", + "termEnd": "2027-01", + "note": "Current leader; 2027 leader not yet chosen. Retiring (seat C was up in 2026). Leads the bipartisan coalition. Alaska terms begin in January after a gubernatorial election (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Alaska House of Representatives", + "seats": 40, + "D": 14, + "R": 9, + "I": 5, + "vacant": 0, + "uncalled": 12, + "compositionNote": "12 ranked-choice races not yet called. Before the election a coalition of 14 D, 5 independents and 2 R held the majority.", + "leader": { + "title": "Speaker", + "name": "Bryce Edgmon", + "party": "I", + "termEnd": "2027-01", + "note": "Current leader; 2027 leader not yet chosen. Independent leading the bipartisan coalition; retiring (District 37 race not yet called). Alaska terms begin in January after a gubernatorial election (deduced).", + "status": "current" + } + } + }, + "AZ": { + "upper": { + "name": "Arizona Senate", + "seats": 30, + "D": 20, + "R": 10, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "President of the Senate", + "name": "Warren Petersen", + "party": "R", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Retiring; Democrats won the Senate. 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Arizona House of Representatives", + "seats": 60, + "D": 37, + "R": 23, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "Speaker", + "name": "Steve Montenegro", + "party": "R", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Democrats won the House. Re-elected in District 29 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "AR": { + "upper": { + "name": "Arkansas Senate", + "seats": 35, + "D": 7, + "R": 28, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Bart Hester", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). District 33 seat not up in 2026; elected 2024 to a 4-year term (deduced)." + } + }, + "lower": { + "name": "Arkansas House of Representatives", + "seats": 100, + "D": 30, + "R": 70, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Brian S. Evans", + "party": "R", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in District 68 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "CA": { + "upper": { + "name": "California State Senate", + "seats": 40, + "D": 32, + "R": 7, + "I": 0, + "vacant": 0, + "uncalled": 1, + "compositionNote": "District 6 not yet called (Wikipedia district table). Holdover odd-numbered seats: 16 D, 4 R.", + "leader": { + "title": "President pro tempore", + "name": "Monique Limón", + "party": "D", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. District 21 not up in 2026; elected 2024 to a 4-year term (deduced).", + "status": "current" + } + }, + "lower": { + "name": "California State Assembly", + "seats": 80, + "D": 65, + "R": 12, + "I": 0, + "vacant": 0, + "uncalled": 3, + "compositionNote": "Districts 33, 72 and 74 not yet called (Wikipedia district table).", + "leader": { + "title": "Speaker", + "name": "Robert Rivas", + "party": "D", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in District 29 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "CO": { + "upper": { + "name": "Colorado Senate", + "seats": 35, + "D": 24, + "R": 11, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "James Coleman", + "party": "D", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Chamber member list: next election 2028 (term-limited)." + } + }, + "lower": { + "name": "Colorado House of Representatives", + "seats": 65, + "D": 44, + "R": 15, + "I": 0, + "vacant": 0, + "uncalled": 6, + "compositionNote": "No result yet on Wikipedia for districts 15, 21, 22, 41, 43 and 51; counts from the election article's district table (no chamber totals published).", + "leader": { + "title": "Speaker", + "name": "Julie McCluskie", + "party": "D", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Term-limited; 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + }, + "CT": { + "upper": { + "name": "Connecticut State Senate", + "seats": 36, + "D": 33, + "R": 3, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Martin Looney", + "party": "D", + "termEnd": "2026", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. Retiring; District 11 won by Alphonse Paolillo (D). 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Connecticut House of Representatives", + "seats": 151, + "D": 116, + "R": 35, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Matthew Ritter", + "party": "D", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. His District 1 result is not shown on Wikipedia (district table not updated); current 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + }, + "DE": { + "upper": { + "name": "Delaware Senate", + "seats": 21, + "D": 15, + "R": 6, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "David Sokola", + "party": "D", + "termEnd": "2026", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. Retiring; District 8 won by Mara Gorman (D). Term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Delaware House of Representatives", + "seats": 41, + "D": 30, + "R": 11, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Totals from the main 2026 elections page; the election article's district table is not yet filled in.", + "leader": { + "title": "Speaker", + "name": "Melissa Minor-Brown", + "party": "D", + "termEnd": "2026-11", + "note": "Current leader; 2027 leader not yet chosen. Her District 17 result is not shown on Wikipedia; Delaware House terms start the day after the election, so the current term ended in November 2026 (deduced).", + "status": "current" + } + } + }, + "FL": { + "upper": { + "name": "Florida Senate", + "seats": 40, + "D": 13, + "R": 26, + "I": 1, + "vacant": 0, + "uncalled": 0, + "compositionNote": "1 independent (Jason Pizzo, not up in 2026). District table: 12 R / 8 D won among the 20 seats up.", + "leader": { + "title": "President of the Senate", + "name": "Ben Albritton", + "party": "R", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Chamber member list: next election 2028.", + "status": "current" + } + }, + "lower": { + "name": "Florida House of Representatives", + "seats": 120, + "D": 50, + "R": 70, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Main 2026 elections page and chamber article give 70 R / 50 D; the election article's district table still lists District 33 without a winner.", + "leader": { + "title": "Speaker", + "name": "Sam Garrison", + "party": "R", + "termEnd": "2028-11", + "note": "Listed as Speaker from the November 17, 2026 organization session in the Florida House article. Re-elected in District 11 in 2026; Florida House terms begin upon election (deduced end November 2028)." + } + } + }, + "GA": { + "upper": { + "name": "Georgia State Senate", + "seats": 56, + "D": 27, + "R": 29, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Larry Walker III", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. Re-elected in District 20 in 2026; 2-year term (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Georgia House of Representatives", + "seats": 180, + "D": 92, + "R": 88, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "Speaker", + "name": "Jon Burns", + "party": "R", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Democrats won the House. Re-elected in District 159 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "HI": { + "upper": { + "name": "Hawaii Senate", + "seats": 25, + "D": 22, + "R": 3, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Ron Kouchi", + "party": "D", + "termEnd": "2030-11", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in District 8 in 2026 (4-year term under the 2-4-4 cycle, deduced); Hawaii terms run from general election to general election.", + "status": "current" + } + }, + "lower": { + "name": "Hawaii House of Representatives", + "seats": 51, + "D": 44, + "R": 6, + "I": 1, + "vacant": 0, + "uncalled": 0, + "compositionNote": "I = 1 Green Party member.", + "leader": { + "title": "Speaker", + "name": "Nadine Nakamura", + "party": "D", + "termEnd": "2028-11", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 15 in 2026; Hawaii terms run from general election to general election (deduced)." + } + } + }, + "ID": { + "upper": { + "name": "Idaho Senate", + "seats": 35, + "D": 7, + "R": 28, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Kelly Anthon", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. Re-elected in District 27 in 2026; 2-year term (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Idaho House of Representatives", + "seats": 70, + "D": 14, + "R": 56, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Mike Moyle", + "party": "R", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). His District 10A result is not shown in the district table; 2-year term to 2028 assumes re-election (deduced)." + } + } + }, + "IL": { + "upper": { + "name": "Illinois Senate", + "seats": 59, + "D": 45, + "R": 14, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Don Harmon", + "party": "D", + "termEnd": "2030", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in District 39 in 2026; 4-year term deduced from the 2-4-4 cycle.", + "status": "current" + } + }, + "lower": { + "name": "Illinois House of Representatives", + "seats": 118, + "D": 0, + "R": 0, + "I": 0, + "vacant": 0, + "uncalled": 118, + "compositionNote": "Wikipedia has not published 2026 results for this chamber yet (before the election: 78 D, 40 R).", + "leader": { + "title": "Speaker", + "name": "Chris Welch", + "party": "D", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. His District 7 result is not on Wikipedia; current 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + }, + "IN": { + "upper": { + "name": "Indiana Senate", + "seats": 50, + "D": 15, + "R": 35, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Election article: Democrats net +5. R count includes R. Michael Young, a registered Republican outside the Republican caucus (not up in 2026); the election infobox shows 34 R.", + "leader": { + "title": "President pro tempore", + "name": "Chris Garten", + "party": "R", + "termEnd": "2030", + "note": "Lieutenant governor presides. Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Succeeds Rodric Bray. His own District 45 race (narrow lead) was disputed per Wikipedia; 4-year term deduced if confirmed." + } + }, + "lower": { + "name": "Indiana House of Representatives", + "seats": 100, + "D": 46, + "R": 54, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Ben Smaltz", + "party": "R", + "termEnd": "2028", + "note": "Elected Speaker on November 4, 2026 after Todd Huston lost re-election (chamber article and election infobox). Re-elected in District 52 in 2026; 2-year term (deduced)." + } + } + }, + "IA": { + "upper": { + "name": "Iowa Senate", + "seats": 50, + "D": 18, + "R": 32, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Election article (district table and infobox) gives 32 R / 18 D; the main 2026 elections page shows 31 R, which does not sum to 50.", + "leader": { + "title": "President of the Senate", + "name": "Amy Sinclair", + "party": "R", + "termEnd": "2029-01", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). District 12 not up in 2026; elected 2024 to a 4-year term, Iowa terms start in January after the election (deduced)." + } + }, + "lower": { + "name": "Iowa House of Representatives", + "seats": 100, + "D": 44, + "R": 56, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Pat Grassley", + "party": "R", + "termEnd": "2029-01", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). District 57; 2-year term, Iowa terms start in January after the election (deduced)." + } + } + }, + "KS": { + "upper": { + "name": "Kansas Senate", + "seats": 40, + "D": 9, + "R": 31, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No regular Senate election in 2026 (current composition; two special elections on November 3, 2026 were holds).", + "leader": { + "title": "President of the Senate", + "name": "Ty Masterson", + "party": "R", + "termEnd": "2029-01", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2024 to a 4-year term; Kansas terms begin the second Monday of January (deduced end January 2029)." + } + }, + "lower": { + "name": "Kansas House of Representatives", + "seats": 125, + "D": 57, + "R": 68, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Dan Hawkins", + "party": "R", + "termEnd": "2027-01", + "note": "Current leader; 2027 leader not yet chosen. Retiring; Kansas terms begin the second Monday of January (deduced).", + "status": "current" + } + } + }, + "KY": { + "upper": { + "name": "Kentucky Senate", + "seats": 38, + "D": 8, + "R": 30, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Robert Stivers", + "party": "R", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). District 25 not up in 2026; elected 2024 to a 4-year term (deduced)." + } + }, + "lower": { + "name": "Kentucky House of Representatives", + "seats": 100, + "D": 26, + "R": 74, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "David Osborne", + "party": "R", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 59 in 2026; 2-year term (deduced)." + } + } + }, + "LA": { + "upper": { + "name": "Louisiana State Senate", + "seats": 39, + "D": 10, + "R": 28, + "I": 0, + "vacant": 1, + "uncalled": 0, + "compositionNote": "No regular election in 2026 (current composition from the chamber's member list; its infobox still shows 27 R). District 14 vacant, special election December 12, 2026.", + "leader": { + "title": "President of the Senate", + "name": "Cameron Henry", + "party": "R", + "termEnd": "2027", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2023 to a 4-year term; next regular election 2027 (deduced)." + } + }, + "lower": { + "name": "Louisiana House of Representatives", + "seats": 105, + "D": 33, + "R": 70, + "I": 0, + "vacant": 2, + "uncalled": 0, + "compositionNote": "No regular election in 2026. District 92 flipped to D in a November 3, 2026 special election; districts 77 and 103 vacant.", + "leader": { + "title": "Speaker", + "name": "Phillip DeVillier", + "party": "R", + "termEnd": "2027", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2023 to a 4-year term; next regular election 2027 (deduced)." + } + } + }, + "ME": { + "upper": { + "name": "Maine Senate", + "seats": 35, + "D": 24, + "R": 11, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Mattie Daughtry", + "party": "D", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Her District 23 result is not shown on Wikipedia; current 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Maine House of Representatives", + "seats": 151, + "D": 87, + "R": 61, + "I": 3, + "vacant": 0, + "uncalled": 0, + "compositionNote": "D/R from the election article infobox; 3 independents per the main 2026 elections page. The House also has 3 non-voting tribal members (not counted).", + "leader": { + "title": "Speaker", + "name": "Ryan Fecteau", + "party": "D", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. His District 132 result is not shown on Wikipedia; current 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + }, + "MD": { + "upper": { + "name": "Maryland Senate", + "seats": 47, + "D": 35, + "R": 12, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Bill Ferguson", + "party": "D", + "termEnd": "2030", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 46 in 2026; 4-year term (deduced)." + } + }, + "lower": { + "name": "Maryland House of Delegates", + "seats": 141, + "D": 106, + "R": 35, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "From the election article infobox (main 2026 elections page not yet filled).", + "leader": { + "title": "Speaker", + "name": "Joseline Peña-Melnyk", + "party": "D", + "termEnd": "2030", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). District 21; 4-year term (deduced)." + } + } + }, + "MA": { + "upper": { + "name": "Massachusetts Senate", + "seats": 40, + "D": 35, + "R": 5, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Karen Spilka", + "party": "D", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in 2026 (Middlesex and Norfolk); 2-year term (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Massachusetts House of Representatives", + "seats": 160, + "D": 137, + "R": 21, + "I": 1, + "vacant": 0, + "uncalled": 1, + "compositionNote": "2nd Plymouth not yet called (Wikipedia district table). 1 independent (Susannah Whipps).", + "leader": { + "title": "Speaker", + "name": "Ron Mariano", + "party": "D", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in 3rd Norfolk in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "MI": { + "upper": { + "name": "Michigan Senate", + "seats": 38, + "D": 23, + "R": 15, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Jeremy Moss", + "party": "D", + "termEnd": "2026", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. Term-limited; District 7 won by Jason Hoskins (D). Term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Michigan House of Representatives", + "seats": 110, + "D": 63, + "R": 47, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "Speaker", + "name": "Matt Hall", + "party": "R", + "termEnd": "2029-01-01", + "note": "Current leader; 2027 leader not yet chosen. Democrats won the House. Re-elected in District 42 in 2026; Michigan House members take office January 1 (deduced end January 1, 2029).", + "status": "current" + } + } + }, + "MN": { + "upper": { + "name": "Minnesota Senate", + "seats": 67, + "D": 39, + "R": 28, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "D = Democratic-Farmer-Labor (DFL).", + "leader": { + "title": "President of the Senate", + "name": "Bobby Joe Champion", + "party": "D", + "termEnd": "2031-01", + "note": "Current leader; 2027 leader not yet chosen. DFL. Re-elected in District 59 in 2026; 4-year term for seats elected in years ending in 6, new terms start in January (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Minnesota House of Representatives", + "seats": 134, + "D": 77, + "R": 57, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "D = DFL. The DFL broke the 67-67 tie.", + "leader": { + "title": "Speaker", + "name": "Lisa Demuth", + "party": "R", + "termEnd": "2027-01-12", + "note": "Current leader; 2027 leader not yet chosen. Retiring; the DFL won the House. Newly elected members take office January 12, 2027 (election article).", + "status": "current" + } + } + }, + "MS": { + "upper": { + "name": "Mississippi State Senate", + "seats": 52, + "D": 18, + "R": 34, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No regular election in 2026 (current composition).", + "leader": { + "title": "President pro tempore", + "name": "Dean Kirby", + "party": "R", + "termEnd": "2027", + "note": "Lieutenant governor presides. Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2023 to a 4-year term; next regular election 2027 (deduced)." + } + }, + "lower": { + "name": "Mississippi House of Representatives", + "seats": 122, + "D": 41, + "R": 77, + "I": 2, + "vacant": 0, + "uncalled": 2, + "compositionNote": "No regular election in 2026. Special elections in districts 70 (last held by D) and 77 (last held by R) go to runoffs on December 1, 2026. I = 2 independents.", + "leader": { + "title": "Speaker", + "name": "Jason White", + "party": "R", + "termEnd": "2027", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2023 to a 4-year term (chamber lists his session as 2024-2028); next regular election 2027 (deduced)." + } + } + }, + "MO": { + "upper": { + "name": "Missouri Senate", + "seats": 34, + "D": 12, + "R": 22, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Cindy O'Laughlin", + "party": "R", + "termEnd": "2027", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. Term-limited (chamber member list: 2027); District 18 won by Greg Sharpe (R).", + "status": "current" + } + }, + "lower": { + "name": "Missouri House of Representatives", + "seats": 163, + "D": 0, + "R": 0, + "I": 0, + "vacant": 0, + "uncalled": 163, + "compositionNote": "Wikipedia has not published 2026 results for this chamber yet (before the election: 111 R, 52 D counting vacancies by last party).", + "leader": { + "title": "Speaker", + "name": "Jon Patterson", + "party": "R", + "termEnd": "2027", + "note": "Current leader; 2027 leader not yet chosen. Term-limited (chamber member list: 2027).", + "status": "current" + } + } + }, + "MT": { + "upper": { + "name": "Montana Senate", + "seats": 50, + "D": 20, + "R": 30, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Matt Regier", + "party": "R", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). District 5 not up in 2026; elected 2024 to a 4-year term (deduced)." + } + }, + "lower": { + "name": "Montana House of Representatives", + "seats": 100, + "D": 44, + "R": 56, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Katie Zolnikov", + "party": "R", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Succeeds Brandon Ler. Won District 44 in 2026; 2-year term (deduced)." + } + } + }, + "NE": { + "upper": { + "name": "Nebraska Legislature", + "seats": 49, + "D": 17, + "R": 28, + "I": 0, + "vacant": 0, + "uncalled": 4, + "compositionNote": "Unicameral and officially nonpartisan; counts use members' party affiliation as Wikipedia reports it. Districts 4, 14, 18 and 36 not yet called. Holdover odd-numbered seats: 15 R, 9 D (the infobox's 31 R / 16 D / 2 I does not match the district table).", + "leader": { + "title": "Speaker of the Legislature", + "name": "John Arch", + "party": "R", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Nonpartisan chamber; party is his affiliation. Term-limited; District 14 result not yet called. Term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": null + }, + "NV": { + "upper": { + "name": "Nevada Senate", + "seats": 21, + "D": 13, + "R": 8, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Marilyn Dondero Loop", + "party": "D", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. Seat not up in 2026; elected 2024 to a 4-year term (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Nevada State Assembly", + "seats": 42, + "D": 0, + "R": 0, + "I": 0, + "vacant": 0, + "uncalled": 42, + "compositionNote": "Wikipedia has not published 2026 results for this chamber yet (before the election: 27 D, 15 R).", + "leader": { + "title": "Speaker", + "name": "Steve Yeager", + "party": "D", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Retiring; 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + }, + "NH": { + "upper": { + "name": "New Hampshire Senate", + "seats": 24, + "D": 15, + "R": 9, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "President of the Senate", + "name": "Rebecca Perkins Kwoka", + "party": "D", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 21 in 2026; 2-year term (deduced)." + } + }, + "lower": { + "name": "New Hampshire House of Representatives", + "seats": 400, + "D": 292, + "R": 107, + "I": 1, + "vacant": 0, + "uncalled": 0, + "compositionNote": "D/R from the election article infobox; 1 independent per the main 2026 elections page. Democrats flipped the chamber; the district table is mostly not filled in yet.", + "leader": { + "title": "Speaker", + "name": "Sherman Packard", + "party": "R", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Democrats won the House. His Rockingham 16 result is not shown on Wikipedia; current 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + }, + "NJ": { + "upper": { + "name": "New Jersey Senate", + "seats": 40, + "D": 25, + "R": 15, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No election in 2026 (current composition).", + "leader": { + "title": "President of the Senate", + "name": "Nicholas Scutari", + "party": "D", + "termEnd": "2027", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2023 to a 4-year term; next election 2027 (deduced)." + } + }, + "lower": { + "name": "New Jersey General Assembly", + "seats": 80, + "D": 57, + "R": 23, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No election in 2026 (elected November 2025).", + "leader": { + "title": "Speaker", + "name": "Craig Coughlin", + "party": "D", + "termEnd": "2027", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2025 to a 2-year term (deduced)." + } + } + }, + "NM": { + "upper": { + "name": "New Mexico Senate", + "seats": 42, + "D": 26, + "R": 16, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No regular Senate election in 2026 (current composition; District 33 special election on November 3, 2026 was an R hold).", + "leader": { + "title": "President pro tempore", + "name": "Mimi Stewart", + "party": "D", + "termEnd": "2028", + "note": "Lieutenant governor presides. Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2024 to a 4-year term (deduced)." + } + }, + "lower": { + "name": "New Mexico House of Representatives", + "seats": 70, + "D": 47, + "R": 23, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Javier Martínez", + "party": "D", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in District 11 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "NY": { + "upper": { + "name": "New York State Senate", + "seats": 63, + "D": 48, + "R": 15, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Temporary President", + "name": "Andrea Stewart-Cousins", + "party": "D", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. The 2026 election article shows her re-elected in District 35, while the main 2026 elections page labels her 'retiring'. 2-year term (deduced).", + "status": "current" + } + }, + "lower": { + "name": "New York State Assembly", + "seats": 150, + "D": 111, + "R": 39, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Carl Heastie", + "party": "D", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in District 83 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "NC": { + "upper": { + "name": "North Carolina Senate", + "seats": 50, + "D": 24, + "R": 26, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Phil Berger", + "party": "R", + "termEnd": "2026", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. Lost renomination; District 26 won by Sam Page (R). 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": { + "name": "North Carolina House of Representatives", + "seats": 120, + "D": 71, + "R": 48, + "I": 1, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber. 1 independent.", + "leader": { + "title": "Speaker", + "name": "Destin Hall", + "party": "R", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Democrats won the House. Re-elected in District 87 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "ND": { + "upper": { + "name": "North Dakota Senate", + "seats": 47, + "D": 6, + "R": 41, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "D = Democratic-NPL.", + "leader": { + "title": "President pro tempore", + "name": "Kyle Davison", + "party": "R", + "termEnd": "2026", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. His District 41 result is not shown on Wikipedia; current 4-year term ends with the 2026 cycle (deduced). The 2026 election infobox names Brad Bekkedahl as pro tempore, conflicting with the chamber article.", + "status": "current" + } + }, + "lower": { + "name": "North Dakota House of Representatives", + "seats": 94, + "D": 3, + "R": 43, + "I": 0, + "vacant": 0, + "uncalled": 48, + "compositionNote": "Wikipedia has not published results for the 48 odd-district seats up in 2026; D/R are the holdover even-district seats (D = Democratic-NPL).", + "leader": { + "title": "Speaker", + "name": "Robin Weisz", + "party": "R", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. District 14 not up in 2026; elected 2024 to a 4-year term (deduced).", + "status": "current" + } + } + }, + "OH": { + "upper": { + "name": "Ohio Senate", + "seats": 33, + "D": 11, + "R": 22, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Rob McColley", + "party": "R", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Term-limited (District 1 result not shown on Wikipedia). Term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Ohio House of Representatives", + "seats": 99, + "D": 42, + "R": 52, + "I": 0, + "vacant": 0, + "uncalled": 5, + "compositionNote": "Districts 29, 37, 44, 72 and 75 not yet called (Wikipedia district table).", + "leader": { + "title": "Speaker", + "name": "Matt Huffman", + "party": "R", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in District 78 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "OK": { + "upper": { + "name": "Oklahoma Senate", + "seats": 48, + "D": 8, + "R": 40, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Lonnie Paxton", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. Chamber member list: next election 2028 (term-limited).", + "status": "current" + } + }, + "lower": { + "name": "Oklahoma House of Representatives", + "seats": 101, + "D": 26, + "R": 75, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Kyle Hilbert", + "party": "R", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 29 in 2026; 2-year term (deduced)." + } + } + }, + "OR": { + "upper": { + "name": "Oregon State Senate", + "seats": 30, + "D": 19, + "R": 11, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Totals from the main 2026 elections page; the election article's district table is not yet filled in.", + "leader": { + "title": "President of the Senate", + "name": "Rob Wagner", + "party": "D", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. His District 19 result is not shown on Wikipedia; current 4-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Oregon House of Representatives", + "seats": 60, + "D": 39, + "R": 21, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Julie Fahey", + "party": "D", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in District 14 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "PA": { + "upper": { + "name": "Pennsylvania State Senate", + "seats": 50, + "D": 26, + "R": 24, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "President pro tempore", + "name": "Kim Ward", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. Democrats won the Senate. Chamber member list: next election 2028.", + "status": "current" + } + }, + "lower": { + "name": "Pennsylvania House of Representatives", + "seats": 203, + "D": 113, + "R": 90, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Joanna McClinton", + "party": "D", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected unopposed in District 191 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "RI": { + "upper": { + "name": "Rhode Island Senate", + "seats": 38, + "D": 36, + "R": 2, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Valarie Lawson", + "party": "D", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Her District 14 result is not shown on Wikipedia; current 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Rhode Island House of Representatives", + "seats": 75, + "D": 0, + "R": 0, + "I": 0, + "vacant": 0, + "uncalled": 75, + "compositionNote": "Wikipedia has not published 2026 results for this chamber yet (before the election: 64 D, 10 R, 1 I).", + "leader": { + "title": "Speaker", + "name": "Chris Blazejewski", + "party": "D", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. His District 2 result is not shown on Wikipedia; current 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + }, + "SC": { + "upper": { + "name": "South Carolina Senate", + "seats": 46, + "D": 12, + "R": 34, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No regular Senate election in 2026 (current composition; District 15 special election on November 3, 2026 was an R hold).", + "leader": { + "title": "President of the Senate", + "name": "Thomas Alexander", + "party": "R", + "termEnd": "2029-01", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Chamber article: all Senate terms expire in January 2029." + } + }, + "lower": { + "name": "South Carolina House of Representatives", + "seats": 124, + "D": 45, + "R": 79, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Totals from the main 2026 elections page only; the election article's district table has no winners yet.", + "leader": { + "title": "Speaker", + "name": "Murrell Smith", + "party": "R", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. His District 67 result is not shown on Wikipedia; current 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + }, + "SD": { + "upper": { + "name": "South Dakota Senate", + "seats": 35, + "D": 0, + "R": 0, + "I": 0, + "vacant": 0, + "uncalled": 35, + "compositionNote": "Wikipedia has not published 2026 results for this chamber yet (before the election: 32 R, 3 D).", + "leader": { + "title": "President pro tempore", + "name": "Chris Karr", + "party": "R", + "termEnd": "2026", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. District 11 result not shown on Wikipedia; current 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": { + "name": "South Dakota House of Representatives", + "seats": 70, + "D": 10, + "R": 59, + "I": 1, + "vacant": 0, + "uncalled": 0, + "compositionNote": "1 independent.", + "leader": { + "title": "Speaker", + "name": "Jon Hansen", + "party": "R", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Term-limited; 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + }, + "TN": { + "upper": { + "name": "Tennessee Senate", + "seats": 33, + "D": 6, + "R": 27, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker of the Senate", + "name": "Randy McNally", + "party": "R", + "termEnd": "2026", + "note": "Elected by the Senate and also lieutenant governor. Current leader; 2027 leader not yet chosen. Retiring (District 5 was up in 2026). Term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Tennessee House of Representatives", + "seats": 99, + "D": 30, + "R": 69, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Main 2026 elections page and chamber article give 69 R / 30 D; the election infobox shows 69 R / 29 D / 1 write-in and the district table still lacks results for districts 79 and 89.", + "leader": { + "title": "Speaker", + "name": "Cameron Sexton", + "party": "R", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in District 25 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "TX": { + "upper": { + "name": "Texas Senate", + "seats": 31, + "D": 12, + "R": 19, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Charles Perry", + "party": "R", + "termEnd": "2030", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. Re-elected in District 28 in 2026; 4-year term (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Texas House of Representatives", + "seats": 150, + "D": 83, + "R": 64, + "I": 0, + "vacant": 0, + "uncalled": 3, + "compositionNote": "Counted from the election article's district table (districts 26, 61, 67 not yet called); its infobox shows an older 79 D / 63 R. Democrats flipped the chamber.", + "leader": { + "title": "Speaker", + "name": "Dustin Burrows", + "party": "R", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Democrats won the House. Re-elected in District 83 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "UT": { + "upper": { + "name": "Utah State Senate", + "seats": 29, + "D": 8, + "R": 12, + "I": 0, + "vacant": 0, + "uncalled": 9, + "compositionNote": "Only the Democratic total (8) is published on Wikipedia; the 9 remaining seats up in 2026 (previously R or Forward) are shown as uncalled. R = holdover seats only. Before the election 1 member belonged to the Forward Party.", + "leader": { + "title": "President of the Senate", + "name": "J. Stuart Adams", + "party": "R", + "termEnd": "2027-01-01", + "note": "Current leader; 2027 leader not yet chosen. Lost renomination; new senators take office January 1, 2027 (election article).", + "status": "current" + } + }, + "lower": { + "name": "Utah House of Representatives", + "seats": 75, + "D": 24, + "R": 43, + "I": 2, + "vacant": 0, + "uncalled": 6, + "compositionNote": "Counted from the election article's district table (districts 4, 20, 44, 48, 59, 61 not yet called); 2 independents.", + "leader": { + "title": "Speaker", + "name": "Mike Schultz", + "party": "R", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in District 12 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "VT": { + "upper": { + "name": "Vermont Senate", + "seats": 30, + "D": 20, + "R": 8, + "I": 2, + "vacant": 0, + "uncalled": 0, + "compositionNote": "I = 1 Vermont Progressive + 1 independent.", + "leader": { + "title": "President pro tempore", + "name": "Philip Baruth", + "party": "D", + "termEnd": "2026", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. Retiring. 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Vermont House of Representatives", + "seats": 150, + "D": 102, + "R": 38, + "I": 10, + "vacant": 0, + "uncalled": 0, + "compositionNote": "I = 6 Vermont Progressives + 4 independents.", + "leader": { + "title": "Speaker", + "name": "Jill Krowinski", + "party": "D", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Retiring; Chittenden-16 won by Trang Do (D). 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + }, + "VA": { + "upper": { + "name": "Virginia Senate", + "seats": 40, + "D": 21, + "R": 19, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No election in 2026 (current composition).", + "leader": { + "title": "President pro tempore", + "name": "L. Louise Lucas", + "party": "D", + "termEnd": "2027", + "note": "Lieutenant governor presides. Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2023 to a 4-year term; next election 2027 (deduced)." + } + }, + "lower": { + "name": "Virginia House of Delegates", + "seats": 100, + "D": 64, + "R": 36, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No regular election in 2026 (elected November 2025; District 20 special on November 3, 2026 was a D hold).", + "leader": { + "title": "Speaker", + "name": "Don Scott", + "party": "D", + "termEnd": "2027", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2025 to a 2-year term (deduced)." + } + } + }, + "WA": { + "upper": { + "name": "Washington State Senate", + "seats": 49, + "D": 31, + "R": 18, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Steve Conway", + "party": "D", + "termEnd": "2026", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. Retiring (District 29). Term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Washington House of Representatives", + "seats": 98, + "D": 66, + "R": 32, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Laurie Jinkins", + "party": "D", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Her District 27 (position 1) result is not shown on Wikipedia; current 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + }, + "WV": { + "upper": { + "name": "West Virginia Senate", + "seats": 34, + "D": 4, + "R": 30, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Randy Smith", + "party": "R", + "termEnd": "2028", + "note": "Elected by the Senate; also holds the title of lieutenant governor. Current leader; 2027 leader not yet chosen. His District 14 seat was not up in 2026 (the district's other seat was); elected 2024 to a 4-year term (deduced).", + "status": "current" + } + }, + "lower": { + "name": "West Virginia House of Delegates", + "seats": 100, + "D": 21, + "R": 79, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Roger Hanshaw", + "party": "R", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Only candidate listed in District 62; 2-year term (deduced)." + } + } + }, + "WI": { + "upper": { + "name": "Wisconsin State Senate", + "seats": 33, + "D": 18, + "R": 15, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "President of the Senate", + "name": "Mark Spreitzer", + "party": "D", + "termEnd": "2030", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 15 in 2026; 4-year term (deduced)." + } + }, + "lower": { + "name": "Wisconsin State Assembly", + "seats": 99, + "D": 53, + "R": 46, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "Speaker", + "name": "Greta Neubauer", + "party": "D", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 66 in 2026; 2-year term (deduced)." + } + } + }, + "WY": { + "upper": { + "name": "Wyoming Senate", + "seats": 31, + "D": 2, + "R": 29, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Bo Biteman", + "party": "R", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Retiring; District 21 won by Melissa Butcher (R). The 2026 election infobox still lists him after the election. Term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Wyoming House of Representatives", + "seats": 62, + "D": 7, + "R": 55, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Chip Neiman", + "party": "R", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Retiring; District 1 won by Troy Claycomb (R). 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + } + } +} \ No newline at end of file diff --git a/app/seed/meta.json b/app/seed/meta.json new file mode 100644 index 0000000..ed53150 --- /dev/null +++ b/app/seed/meta.json @@ -0,0 +1,4 @@ +{ + "lastRun": null, + "seedFooter": "Data: English Wikipedia (2026 U.S. Senate, House, gubernatorial and state legislative election articles, the current-officeholder lists and each state's “Governor of …” and legislature articles), read on November 13, 2026, ten days after the election. Results that were not final on that date are marked “Not yet called”. State legislature leaders for 2027 are often chosen in December or January; where none was named yet, the current leader is shown and noted." +} \ No newline at end of file diff --git a/app/seed/senate.json b/app/seed/senate.json new file mode 100644 index 0000000..ea64a62 --- /dev/null +++ b/app/seed/senate.json @@ -0,0 +1,914 @@ +{ + "meta": { + "mode": "election", + "electionYear": 2026, + "asOf": "2026-11-13", + "seed": true, + "sources": [ + "2026 United States Senate elections", + "List of current United States senators" + ] + }, + "data": { + "AK": [ + { + "name": "Undecided (Mary Peltola vs. Dan Sullivan)", + "party": null, + "termEnd": "2033-01-03", + "class": 2, + "status": "uncalled", + "note": "Not called as of Nov 12, 2026. Unofficial first-choice count (Nov 12): Mary Peltola (D) 49.10%, Dan S. Sullivan (R, incumbent) 46.80%; ranked-choice tabulation may follow if no one passes 50%. Late absentee ballots accepted up to 15 days after Election Day." + }, + { + "name": "Lisa Murkowski", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "AL": [ + { + "name": "Barry Moore", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Katie Britt", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "AR": [ + { + "name": "Tom Cotton", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "John Boozman", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "AZ": [ + { + "name": "Ruben Gallego", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Mark Kelly", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "CA": [ + { + "name": "Adam Schiff", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Alex Padilla", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "CO": [ + { + "name": "John Hickenlooper", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Michael Bennet", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "CT": [ + { + "name": "Chris Murphy", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Richard Blumenthal", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "DE": [ + { + "name": "Lisa Blunt Rochester", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Chris Coons", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "FL": [ + { + "name": "Rick Scott", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Ashley Moody", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "elected-2026", + "note": "Won 2026 special election for remainder of Class 3 term." + } + ], + "GA": [ + { + "name": "Jon Ossoff", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Raphael Warnock", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "HI": [ + { + "name": "Mazie Hirono", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Brian Schatz", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "IA": [ + { + "name": "Josh Turek", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Chuck Grassley", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "ID": [ + { + "name": "Jim Risch", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Mike Crapo", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "IL": [ + { + "name": "Juliana Stratton", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Tammy Duckworth", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "IN": [ + { + "name": "Jim Banks", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Todd Young", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "KS": [ + { + "name": "Adam Hamilton", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Jerry Moran", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "KY": [ + { + "name": "Andy Barr", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Rand Paul", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "LA": [ + { + "name": "Julia Letlow", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "John Kennedy", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "MA": [ + { + "name": "Elizabeth Warren", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Ed Markey", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "MD": [ + { + "name": "Angela Alsobrooks", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Chris Van Hollen", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "ME": [ + { + "name": "Angus King", + "party": "I", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "Independent, caucuses with Democrats." + }, + { + "name": "Troy Jackson", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "MI": [ + { + "name": "Elissa Slotkin", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Abdul El-Sayed", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "MN": [ + { + "name": "Amy Klobuchar", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "Elected Governor of Minnesota in 2026 (takes office Jan 4, 2027); seat expected to be filled by appointment, successor not yet named." + }, + { + "name": "Peggy Flanagan", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "MO": [ + { + "name": "Josh Hawley", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Eric Schmitt", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "MS": [ + { + "name": "Roger Wicker", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Scott Colom", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "MT": [ + { + "name": "Tim Sheehy", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Kurt Alme", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "NC": [ + { + "name": "Roy Cooper", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Ted Budd", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "ND": [ + { + "name": "Kevin Cramer", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "John Hoeven", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "NE": [ + { + "name": "Deb Fischer", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Pete Ricketts", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "NH": [ + { + "name": "Chris Pappas", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Maggie Hassan", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "NJ": [ + { + "name": "Andy Kim", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Cory Booker", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "NM": [ + { + "name": "Martin Heinrich", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Ben Ray Luján", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "NV": [ + { + "name": "Jacky Rosen", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Catherine Cortez Masto", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "NY": [ + { + "name": "Kirsten Gillibrand", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Chuck Schumer", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "OH": [ + { + "name": "Bernie Moreno", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Sherrod Brown", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "elected-2026", + "note": "Won 2026 special election for remainder of Class 3 term." + } + ], + "OK": [ + { + "name": "Kevin Hern", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "James Lankford", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "OR": [ + { + "name": "Jeff Merkley", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Ron Wyden", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "PA": [ + { + "name": "Dave McCormick", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "John Fetterman", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "RI": [ + { + "name": "Sheldon Whitehouse", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Jack Reed", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "SC": [ + { + "name": "Annie Andrews", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Tim Scott", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "SD": [ + { + "name": "Mike Rounds", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "John Thune", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "TN": [ + { + "name": "Marsha Blackburn", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "Elected Governor of Tennessee in 2026 (takes office Jan 16, 2027); seat expected to be filled by appointment, successor not yet named." + }, + { + "name": "Bill Hagerty", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "TX": [ + { + "name": "Ted Cruz", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "James Talarico", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "UT": [ + { + "name": "John Curtis", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Mike Lee", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "VA": [ + { + "name": "Tim Kaine", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Mark Warner", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "VT": [ + { + "name": "Bernie Sanders", + "party": "I", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "Independent, caucuses with Democrats." + }, + { + "name": "Peter Welch", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "WA": [ + { + "name": "Maria Cantwell", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Patty Murray", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "WI": [ + { + "name": "Tammy Baldwin", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Ron Johnson", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "WV": [ + { + "name": "Jim Justice", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Shelley Moore Capito", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "WY": [ + { + "name": "John Barrasso", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Harriet Hageman", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ] + } +} \ No newline at end of file diff --git a/app/server.py b/app/server.py new file mode 100644 index 0000000..336ba6a --- /dev/null +++ b/app/server.py @@ -0,0 +1,220 @@ +"""Small web server: the map page, its data, and a button-triggered update from Wikipedia.""" +import datetime as dt +import json +import mimetypes +import os +import sys +import threading +import traceback +from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer + +import common as C +import update as U + +STATIC = os.path.join(C.APP_DIR, "static") +PORT = int(os.environ.get("PORT", "8080")) + +MODE_LABEL = {"election": "{year} election results", "current": "current officeholders"} + + +class UpdateJob: + """One update at a time, run in a background thread; keeps its progress for the status endpoint.""" + + def __init__(self): + self.lock = threading.Lock() + self.state = "idle" + self.messages = [] + self.warnings = [] + self.error = None + self.started = None + self.finished = None + self.thread = None + + def start(self): + with self.lock: + if self.state == "running" or U.lock_held(): + return False + self.state, self.messages, self.warnings, self.error = "running", [], [], None + self.started, self.finished = U.now_iso(), None + self.thread = threading.Thread(target=self._run, daemon=True) + self.thread.start() + return True + + def _progress(self, msg): + print(msg, flush=True) + with self.lock: + self.messages.append(msg) + del self.messages[:-200] + + def _run(self): + try: + run = U.run_update(progress=self._progress) + with self.lock: + self.warnings = run["warnings"] + self.state = "done" + except U.Busy as e: + with self.lock: + self.state, self.error = "failed", str(e) + except Exception as e: # report anything unexpected in plain words, details go to the log + traceback.print_exc() + with self.lock: + self.state = "failed" + self.error = f"The update stopped because of an unexpected error ({type(e).__name__}: {e}). Previous data was kept." + finally: + with self.lock: + self.finished = U.now_iso() + + def status(self): + with self.lock: + running_elsewhere = self.state != "running" and U.lock_held() + return {"state": "running" if running_elsewhere else self.state, + "runningElsewhere": running_elsewhere, + "startedAt": self.started, "finishedAt": self.finished, + "messages": list(self.messages), "warnings": list(self.warnings), "error": self.error} + + +JOB = UpdateJob() + + +def long_date(iso): + d = dt.date.fromisoformat(iso[:10]) + return f"{d:%B} {d.day}, {d.year}" + + +def merged_data(): + cats = {cat: (C.load_category(cat) or {"meta": {}, "data": {}}) for cat in C.CATEGORIES} + meta_file = C.read_json(C.path("meta.json"), {}) or {} + powers = C.seed_governor_powers() + data = {} + for code in C.NAMES: + gov = cats["governors"]["data"].get(code) + if gov is not None and not gov.get("powers"): + gov = dict(gov, powers=powers.get(code, [])) + leg = cats["legislatures"]["data"].get(code) + data[code] = {"senators": cats["senate"]["data"].get(code, []), + "house": cats["house"]["data"].get(code, []), + "gov": gov, "leg": leg} + metas = {cat: cats[cat]["meta"] for cat in C.CATEGORIES} + modes = {m.get("mode") for m in metas.values()} + years = {m.get("electionYear") for m in metas.values() if m.get("mode") == "election"} + dates = sorted(m.get("asOf", "")[:10] for m in metas.values() if m.get("asOf")) + mode = modes.pop() if len(modes) == 1 else "mixed" + year = max(years) if years else None + last = meta_file.get("lastRun") or {} + sources = [] + for m in metas.values(): + for s in m.get("sources", []): + if s not in sources: + sources.append(s) + if all(m.get("seed") for m in metas.values()): + footer = meta_file.get("seedFooter", "") + else: + if dates and dates[0] != dates[-1]: + read = f", read between {long_date(dates[0])} and {long_date(dates[-1])}." + else: + read = f", read on {long_date(dates[0])}." if dates else "." + footer = "Data: English Wikipedia (" + "; ".join(sources) + ")" + read + if mode in ("election", "mixed"): + footer += " Results that were not final on that date are marked “Not yet called”. Where a chamber's leader for the new session was not chosen yet, the current leader is shown and noted." + footer += " Map shapes: us-atlas (U.S. Census Bureau boundaries)." + meta = { + "mode": mode, + "electionYear": year, + "electionDay": C.election_day(year).isoformat() if year else None, + "modeLabel": "mixed sources (see warnings)" if mode == "mixed" else MODE_LABEL.get(mode, mode).format(year=year), + "asOf": dates[0] if dates else None, + "newest": dates[-1] if dates else None, + "categories": {cat: {"mode": m.get("mode"), "asOf": m.get("asOf"), "electionYear": m.get("electionYear")} + for cat, m in metas.items()}, + "lastRun": last or None, + "warnings": (last.get("warnings") if last else []) or [], + "footer": footer, + } + return {"data": data, "meta": meta} + + +class Handler(BaseHTTPRequestHandler): + server_version = "us-officeholders-map/1.0" + + def log_message(self, fmt, *args): + sys.stderr.write("%s %s\n" % (self.address_string(), fmt % args)) + + def _send(self, code, body, ctype="application/json; charset=utf-8", extra=None): + if isinstance(body, (dict, list)): + body = json.dumps(body, ensure_ascii=False).encode("utf-8") + elif isinstance(body, str): + body = body.encode("utf-8") + self.send_response(code) + self.send_header("Content-Type", ctype) + self.send_header("Content-Length", str(len(body))) + self.send_header("Cache-Control", "no-store" if ctype.startswith("application/json") else "public, max-age=300") + self.send_header("X-Content-Type-Options", "nosniff") + for k, v in (extra or {}).items(): + self.send_header(k, v) + self.end_headers() + if self.command != "HEAD": + self.wfile.write(body) + + def _static(self, rel): + full = os.path.realpath(os.path.join(STATIC, rel)) + if not full.startswith(os.path.realpath(STATIC) + os.sep) or not os.path.isfile(full): + return self._send(404, {"error": "Not found"}) + ctype = mimetypes.guess_type(full)[0] or "application/octet-stream" + if ctype.startswith("text/") or ctype in ("application/javascript", "application/json"): + ctype += "; charset=utf-8" + with open(full, "rb") as f: + body = f.read() + self.send_response(200) + self.send_header("Content-Type", ctype) + self.send_header("Content-Length", str(len(body))) + self.send_header("Cache-Control", "no-cache" if rel == "index.html" else "public, max-age=3600") + self.send_header("X-Content-Type-Options", "nosniff") + self.end_headers() + if self.command != "HEAD": + self.wfile.write(body) + + def do_HEAD(self): + self.do_GET() + + def do_GET(self): + p = self.path.split("?", 1)[0] + if p in ("/", "/index.html"): + return self._static("index.html") + if p.startswith("/static/"): + return self._static(p[len("/static/"):]) + if p == "/api/data": + try: + return self._send(200, merged_data()) + except Exception as e: + traceback.print_exc() + return self._send(500, {"error": f"Could not read the stored data ({e})."}) + if p == "/api/update/status": + return self._send(200, JOB.status()) + return self._send(404, {"error": "Not found"}) + + def do_POST(self): + p = self.path.split("?", 1)[0] + if p != "/api/update": + return self._send(404, {"error": "Not found"}) + # Plain cross-site form posts cannot set this header, so another web page cannot start updates. + if self.headers.get("X-Requested-With") != "us-officeholders-map": + return self._send(403, {"error": "Missing request header."}) + length = int(self.headers.get("Content-Length") or 0) + if length: + self.rfile.read(min(length, 4096)) + if JOB.start(): + return self._send(202, {"started": True}) + return self._send(409, {"started": False, "error": "An update is already running."}) + + +def main(): + copied = C.ensure_seed() + if copied: + print(f"Seeded {C.DATA_DIR} with: {', '.join(copied)}", flush=True) + httpd = ThreadingHTTPServer(("0.0.0.0", PORT), Handler) + print(f"Serving on port {PORT}, data in {C.DATA_DIR}", flush=True) + httpd.serve_forever() + + +if __name__ == "__main__": + main() diff --git a/app/static/index.html b/app/static/index.html new file mode 100644 index 0000000..c304d62 --- /dev/null +++ b/app/static/index.html @@ -0,0 +1,534 @@ + + + +US Officeholders 2027 + + + + +
+
+

US Officeholders

+

Loading the data…

+
+ + +
+ + +
+ +
+ Color map by + + + + + +
+ +
+
+
+ + + + + + + + + + + + + +
+
+ + +
+
+ + +
+ +
+
+ + + + + diff --git a/app/static/states-albers-10m.json b/app/static/states-albers-10m.json new file mode 100644 index 0000000..6e2d968 --- /dev/null +++ b/app/static/states-albers-10m.json @@ -0,0 +1 @@ +{"type":"Topology","bbox":[-57.66491068874468,12.97635452036684,957.5235629133763,606.5694262668667],"transform":{"scale":[0.010151986255883769,0.005935990077365771],"translate":[-57.66491068874468,12.97635452036684]},"objects":{"states":{"type":"GeometryCollection","geometries":[{"type":"MultiPolygon","arcs":[[[0]],[[1,2,3,4,5]]],"id":"01","properties":{"name":"Alabama"}},{"type":"MultiPolygon","arcs":[[[6]],[[7]],[[8]],[[9]],[[10]],[[11]],[[12]],[[13]],[[14]],[[15]],[[16]],[[17]],[[18]],[[19]],[[20]],[[21]],[[22]],[[23]],[[24]],[[25]],[[26]],[[27]],[[28]],[[29]],[[30]],[[31]],[[32]],[[33]],[[34]],[[35]],[[36]],[[37]],[[38]],[[39]],[[40]],[[41]],[[42]],[[43]],[[44]],[[45]],[[46]],[[47]],[[48]],[[49]],[[50]],[[51]],[[52]],[[53]],[[54]],[[55]],[[56]],[[57]],[[58]],[[59]],[[60]],[[61]]],"id":"02","properties":{"name":"Alaska"}},{"type":"Polygon","arcs":[[62,63,64,65,66]],"id":"04","properties":{"name":"Arizona"}},{"type":"Polygon","arcs":[[67,68,69,70,71,72]],"id":"08","properties":{"name":"Colorado"}},{"type":"MultiPolygon","arcs":[[[73]],[[74]],[[75]],[[76]],[[77]],[[78]],[[79]],[[80]],[[81]],[[82,83,-4]]],"id":"12","properties":{"name":"Florida"}},{"type":"Polygon","arcs":[[84,85,86,87,-83,-3]],"id":"13","properties":{"name":"Georgia"}},{"type":"Polygon","arcs":[[88,89,90,91,92]],"id":"18","properties":{"name":"Indiana"}},{"type":"Polygon","arcs":[[93,94,95,-70]],"id":"20","properties":{"name":"Kansas"}},{"type":"MultiPolygon","arcs":[[[96]],[[97]],[[98]],[[99]],[[100]],[[101]],[[102]],[[103,104]]],"id":"23","properties":{"name":"Maine"}},{"type":"MultiPolygon","arcs":[[[105]],[[106]],[[107,108,109,110,111,112,113,114]]],"id":"25","properties":{"name":"Massachusetts"}},{"type":"Polygon","arcs":[[115,116,117,118,119]],"id":"27","properties":{"name":"Minnesota"}},{"type":"Polygon","arcs":[[120,121,122,123,124,125,126,127]],"id":"34","properties":{"name":"New Jersey"}},{"type":"MultiPolygon","arcs":[[[128]],[[129]],[[130,131,132,-86,133]]],"id":"37","properties":{"name":"North Carolina"}},{"type":"Polygon","arcs":[[134,-120,135,136]],"id":"38","properties":{"name":"North Dakota"}},{"type":"Polygon","arcs":[[-71,-96,137,138,139,140]],"id":"40","properties":{"name":"Oklahoma"}},{"type":"Polygon","arcs":[[141,142,-123,143,144,145,146]],"id":"42","properties":{"name":"Pennsylvania"}},{"type":"Polygon","arcs":[[147,-136,-119,148,149,150]],"id":"46","properties":{"name":"South Dakota"}},{"type":"Polygon","arcs":[[-140,151,152,153,154]],"id":"48","properties":{"name":"Texas"}},{"type":"Polygon","arcs":[[-151,155,-68,156,157,158]],"id":"56","properties":{"name":"Wyoming"}},{"type":"Polygon","arcs":[[-114,159,160,161]],"id":"09","properties":{"name":"Connecticut"}},{"type":"Polygon","arcs":[[162,163,164,165,166,167,168,-138,-95,169]],"id":"29","properties":{"name":"Missouri"}},{"type":"Polygon","arcs":[[170,-146,171,172,173]],"id":"54","properties":{"name":"West Virginia"}},{"type":"Polygon","arcs":[[174,175,176,-93,177,-164]],"id":"17","properties":{"name":"Illinois"}},{"type":"Polygon","arcs":[[-72,-141,-155,178,-66]],"id":"35","properties":{"name":"New Mexico"}},{"type":"Polygon","arcs":[[-169,179,180,181,-152,-139]],"id":"05","properties":{"name":"Arkansas"}},{"type":"MultiPolygon","arcs":[[[182]],[[183]],[[184]],[[185]],[[186]],[[187]],[[188]],[[189,190,-63,191]]],"id":"06","properties":{"name":"California"}},{"type":"MultiPolygon","arcs":[[[-128,192]],[[-144,-122,193,194]]],"id":"10","properties":{"name":"Delaware"}},{"type":"Polygon","arcs":[[195,196]],"id":"11","properties":{"name":"District of Columbia"}},{"type":"MultiPolygon","arcs":[[[197]],[[198]],[[199]],[[200]],[[201]],[[202]],[[203]],[[204]]],"id":"15","properties":{"name":"Hawaii"}},{"type":"Polygon","arcs":[[-118,205,-175,-163,206,-149]],"id":"19","properties":{"name":"Iowa"}},{"type":"MultiPolygon","arcs":[[[-178,-92,207,-174,208,209,-165]],[[210,-167]]],"id":"21","properties":{"name":"Kentucky"}},{"type":"MultiPolygon","arcs":[[[211,212]],[[213]],[[-145,-195,214,215,216,217,-196,218,-172]]],"id":"24","properties":{"name":"Maryland"}},{"type":"MultiPolygon","arcs":[[[219]],[[220]],[[221]],[[222]],[[223]],[[224]],[[225]],[[226]],[[227,228,-90]],[[229]],[[230,231]]],"id":"26","properties":{"name":"Michigan"}},{"type":"MultiPolygon","arcs":[[[232]],[[233]],[[234]],[[235]],[[-181,236,-6,237,238]]],"id":"28","properties":{"name":"Mississippi"}},{"type":"Polygon","arcs":[[239,-137,-148,-159,240]],"id":"30","properties":{"name":"Montana"}},{"type":"Polygon","arcs":[[241,-104,242,-109,243]],"id":"33","properties":{"name":"New Hampshire"}},{"type":"MultiPolygon","arcs":[[[244]],[[245]],[[246,-126]],[[247]],[[248]],[[249,250,-115,-162,251,-124,-143]]],"id":"36","properties":{"name":"New York"}},{"type":"MultiPolygon","arcs":[[[252]],[[253]],[[-229,254,-147,-171,-208,-91]]],"id":"39","properties":{"name":"Ohio"}},{"type":"Polygon","arcs":[[255,256,257,-190,258]],"id":"41","properties":{"name":"Oregon"}},{"type":"Polygon","arcs":[[-168,-211,-166,-210,259,-134,-85,-2,-237,-180]],"id":"47","properties":{"name":"Tennessee"}},{"type":"Polygon","arcs":[[260,-157,-73,-65,261]],"id":"49","properties":{"name":"Utah"}},{"type":"MultiPolygon","arcs":[[[-216,262]],[[263,-212]],[[-173,-219,-197,-218,264,-131,-260,-209]]],"id":"51","properties":{"name":"Virginia"}},{"type":"MultiPolygon","arcs":[[[265]],[[266]],[[267]],[[268]],[[269]],[[270]],[[271]],[[272]],[[273]],[[274]],[[275,-256,276]]],"id":"53","properties":{"name":"Washington"}},{"type":"MultiPolygon","arcs":[[[277]],[[278]],[[279]],[[280]],[[281]],[[282]],[[283]],[[284]],[[285]],[[286]],[[287,-232,288,-176,-206,-117]]],"id":"55","properties":{"name":"Wisconsin"}},{"type":"Polygon","arcs":[[-150,-207,-170,-94,-69,-156]],"id":"31","properties":{"name":"Nebraska"}},{"type":"Polygon","arcs":[[-133,289,-87]],"id":"45","properties":{"name":"South Carolina"}},{"type":"Polygon","arcs":[[-276,290,-241,-158,-261,291,-257]],"id":"16","properties":{"name":"Idaho"}},{"type":"Polygon","arcs":[[-258,-292,-262,-64,-191]],"id":"32","properties":{"name":"Nevada"}},{"type":"Polygon","arcs":[[292,-244,-108,-251]],"id":"50","properties":{"name":"Vermont"}},{"type":"MultiPolygon","arcs":[[[293]],[[294]],[[295]],[[296]],[[297]],[[298]],[[299]],[[-182,-239,300,-153]]],"id":"22","properties":{"name":"Louisiana"}},{"type":"MultiPolygon","arcs":[[[-111,301]],[[302]],[[303]],[[-160,-113,304]]],"id":"44","properties":{"name":"Rhode Island"}}]},"nation":{"type":"GeometryCollection","geometries":[{"type":"MultiPolygon","arcs":[[[0]],[[83,4,237,300,153,178,66,191,258,276,290,239,134,115,287,230,288,176,88,227,254,141,249,292,241,104,242,109,301,111,304,160,251,124,246,126,192,120,193,214,262,216,264,131,289,87]],[[6]],[[7]],[[8]],[[9]],[[10]],[[11]],[[12]],[[13]],[[14]],[[15]],[[16]],[[17]],[[18]],[[19]],[[20]],[[21]],[[22]],[[23]],[[24]],[[25]],[[26]],[[27]],[[28]],[[29]],[[30]],[[31]],[[32]],[[33]],[[34]],[[35]],[[36]],[[37]],[[38]],[[39]],[[40]],[[41]],[[42]],[[43]],[[44]],[[45]],[[46]],[[47]],[[48]],[[49]],[[50]],[[51]],[[52]],[[53]],[[54]],[[55]],[[56]],[[57]],[[58]],[[59]],[[60]],[[61]],[[73]],[[74]],[[75]],[[76]],[[77]],[[78]],[[79]],[[80]],[[81]],[[96]],[[97]],[[98]],[[99]],[[100]],[[101]],[[102]],[[105]],[[106]],[[128]],[[129]],[[182]],[[183]],[[184]],[[185]],[[186]],[[187]],[[188]],[[197]],[[198]],[[199]],[[200]],[[201]],[[202]],[[203]],[[204]],[[212,263]],[[213]],[[219]],[[220]],[[221]],[[222]],[[223]],[[224]],[[225]],[[226]],[[229]],[[232]],[[233]],[[234]],[[235]],[[244]],[[245]],[[247]],[[248]],[[252]],[[253]],[[265]],[[266]],[[267]],[[268]],[[269]],[[270]],[[271]],[[272]],[[273]],[[274]],[[277]],[[278]],[[279]],[[280]],[[281]],[[282]],[[283]],[[284]],[[285]],[[286]],[[293]],[[294]],[[295]],[[296]],[[297]],[[298]],[[299]],[[302]],[[303]]]}]}},"arcs":[[[69506,80772],[380,-157],[7,-84],[101,130],[-57,89],[-74,-43],[-256,100],[-101,-35]],[[68880,62501],[-7,-46],[1414,-189],[1042,-124],[1847,-308],[396,-61]],[[73572,61773],[70,469],[326,1939],[906,5571],[62,59],[-19,125],[95,129],[64,485],[82,222],[132,204],[41,265],[67,105],[-46,398],[134,66],[87,117],[-60,183],[-141,178],[-78,187],[35,181],[6,285],[-28,289],[-92,408],[70,398],[-3,146],[146,260],[52,384],[-38,200],[20,139],[-32,271],[22,258],[-42,80],[37,340],[156,271],[91,397]],[[75694,76782],[-1690,351],[-1190,211],[-1182,171],[-870,144],[24,123],[-67,390],[174,280],[45,157],[254,224],[34,165],[-79,476],[74,193],[89,89],[-101,97],[-35,248],[-81,121],[59,51],[-94,99]],[[71058,80372],[-260,157],[-344,138],[-239,26],[45,-129],[86,72],[239,-124],[16,-113],[-189,-303],[-123,-105],[-67,-290],[44,-199],[-29,-297],[-54,-152],[-142,-85],[-95,167],[22,122],[-71,405],[12,507],[-45,224],[-105,29],[0,-120],[-145,-111],[-105,62],[-33,-66],[-117,89]],[[69359,80276],[-134,-1892],[-235,-3167],[-52,-748],[28,-1877],[54,-5177],[39,-2880],[26,-1662],[-109,-102],[-96,-270]],[[15941,90739],[47,-223],[44,31],[-91,192]],[[15442,93819],[42,-103],[61,69],[-2,-172],[161,-206],[65,-149],[-24,-118],[125,-104],[-52,383],[56,-94],[91,167],[61,-77],[-34,266],[-96,-86],[21,114],[-138,-53],[-22,160],[-134,106],[-181,-103]],[[15046,95861],[118,-96],[59,144],[-121,21],[-56,-69]],[[14874,94754],[65,-192],[169,-201],[102,16],[39,195],[12,-197],[-32,-217],[89,-105],[62,78],[103,-23],[-54,-154],[151,129],[-76,-123],[164,31],[-6,121],[73,-20],[100,-147],[76,287],[-61,-38],[-7,239],[131,-34],[-74,268],[-171,-105],[62,163],[-90,160],[-146,117],[126,37],[-146,104],[-35,115],[-45,-119],[22,-151],[-141,441],[-92,126],[-105,34],[128,-263],[-55,-17],[72,-272],[-209,417],[-96,-196],[-2,-257],[-109,-143],[6,-104]],[[14854,96003],[119,-221],[61,63],[-150,199],[-30,-41]],[[14435,96805],[71,-113],[-3,201],[-68,-88]],[[12752,97824],[9,-151],[50,124],[-59,27]],[[12678,97489],[67,-76],[-9,284],[-62,-20],[4,-188]],[[12397,97795],[79,-153],[-37,-93],[62,-101],[107,47],[-29,107],[-182,193]],[[12157,97232],[72,-101],[166,95],[-15,134],[-78,-137],[-13,286],[-67,-120],[-52,93],[-13,-250]],[[12330,92853],[20,-148],[159,-124],[-98,298],[-81,-26]],[[11676,97411],[39,-75],[105,122],[-77,52],[-67,-99]],[[11421,97611],[92,-25],[-51,170],[-41,-145]],[[12196,86075],[110,-33],[3,101],[-113,-68]],[[11193,98205],[7,-58],[201,186],[-53,52],[-155,-180]],[[10074,98386],[132,-10],[-14,76],[-118,-66]],[[9884,98128],[28,-56],[93,143],[-78,113],[-43,-200]],[[9682,98209],[113,-63],[74,186],[-177,16],[-10,-139]],[[10033,90043],[198,78],[97,-139],[133,6],[96,-81],[10,159],[78,-4],[46,160],[9,450],[-177,9],[-80,127],[-69,-160],[-79,-22],[-242,-381],[-20,-202]],[[8760,99025],[201,-102],[44,40],[207,-329],[81,99],[18,-87],[-104,-66],[-43,-110],[68,-138],[186,-32],[-15,119],[68,60],[68,-133],[63,124],[-181,237],[211,-121],[-7,104],[-91,97],[-133,39],[-116,210],[-179,-40],[-91,90],[-160,62],[-95,-123]],[[10675,82812],[212,-149],[259,-225],[359,-268],[208,-116],[258,-84],[179,32],[3,186],[-78,336],[32,183],[188,49],[135,-11],[107,107],[84,-50],[90,95],[111,-270],[174,40],[-34,-143],[-119,-104],[-125,45],[27,-218],[-102,-299],[-65,-31],[-31,-168],[101,-102],[79,236],[-30,174],[135,305],[80,-38],[-150,-350],[42,-213],[90,-120],[-80,-103],[-217,52],[-362,-286],[11,-172],[-42,-387],[-325,-737],[-149,-171],[-58,-196],[-145,-222],[101,-35],[57,-159],[54,-421],[247,104],[311,-10],[225,-224],[99,-195],[58,-394],[60,-252],[230,-468],[124,-140],[155,74],[134,-81],[172,-212],[165,-284],[130,-88],[129,133],[238,-92],[95,-123],[169,-392],[73,-5],[239,172],[18,100],[-124,170],[9,164],[76,21],[36,-151],[89,-111],[39,-154],[107,159],[10,262],[103,77],[76,-154],[171,-50],[267,120],[-63,180],[15,104],[188,61],[-39,166],[196,58],[50,-112],[143,-13],[16,65],[234,-168],[186,129],[46,-33],[77,145],[36,-63],[150,172],[144,34],[71,-53],[278,-28],[134,149],[130,66],[89,-35],[179,-246],[166,-87],[551,444],[124,25],[1418,12234],[190,47],[10,-122],[203,99],[84,-245],[227,-110],[4,366],[81,102],[140,60],[56,170],[488,525],[126,408],[191,-431],[94,-51],[20,-175],[-40,-232],[66,-31],[-47,-166],[141,-156],[148,-261],[221,220],[16,190],[72,162],[106,-8],[172,209],[90,202],[189,83],[249,287],[-21,71],[168,240],[75,170],[120,154],[207,362],[194,296],[-17,181],[140,-19],[14,241],[121,28],[67,249],[100,-76],[255,139],[134,-28],[163,80],[44,114],[138,-54],[87,232],[-10,219],[60,227],[143,342],[-50,542],[-96,348],[-67,-105],[-46,75],[-181,-461],[66,-185],[-64,-302],[-87,-260],[-74,-60],[126,281],[34,394],[-31,143],[-124,16],[-143,-77],[-105,-175],[23,-170],[-52,-334],[-1,316],[-43,99],[27,150],[-112,-62],[-45,-134],[24,-199],[-48,-275],[15,-216],[-61,230],[44,113],[-91,164],[-86,-215],[-101,-7],[-30,-132],[44,-187],[80,-60],[-58,-170],[83,-8],[-191,-138],[-25,-161],[-107,-53],[-138,-197],[-246,-69],[-17,-242],[-74,-272],[-79,-23],[-12,-118],[219,58],[-197,-160],[-63,12],[-197,-273],[-56,-280],[-14,125],[-202,37],[-118,-282],[-218,-386],[-127,-421],[-122,-123],[-27,93],[136,181],[38,204],[156,360],[128,533],[-132,-48],[-62,-149],[-84,1],[-99,114],[-52,-307],[-111,-222],[-48,110],[-114,-66],[-46,-158],[-33,119],[-95,-53],[-7,89],[133,14],[132,153],[58,1],[130,346],[-120,172],[-65,3],[-42,154],[-132,-181],[-66,30],[-218,-176],[-178,-190],[-18,-114],[-174,-184],[-149,-44],[-131,-111],[-217,-96],[-195,-143],[33,-152],[61,18],[-66,-341],[9,-235],[-56,319],[-180,249],[-233,14],[-225,-109],[45,-181],[-124,91],[-378,-50],[-106,16],[-520,275],[-130,306],[42,-206],[75,-155],[63,-18],[-114,-134],[-235,-23],[60,-74],[-91,-38],[36,-191],[-147,213],[-200,-177],[-79,43],[77,-189],[-140,182],[18,139],[-225,153],[14,-275],[61,16],[238,-222],[-52,-153],[-98,142],[43,-170],[-167,120],[-82,-68],[187,-179],[-137,77],[-85,-183],[36,-225],[-119,271],[-49,-239],[-30,256],[-69,86],[-49,-100],[-80,202],[-155,53],[54,-382],[-81,19],[-55,417],[100,20],[-67,366],[85,-174],[66,194],[-57,288],[133,221],[-78,173],[-83,21],[-49,-271],[-26,268],[-72,47],[-193,-61],[-106,186],[31,-165],[-51,-198],[-4,275],[-110,-27],[14,416],[-118,-191],[43,157],[-154,355],[-34,20],[-54,-246],[-11,222],[-55,6],[-96,278],[-121,28],[-42,-91],[-70,163],[-63,8],[-94,-123],[32,-226],[144,-94],[201,-416],[-51,12],[-148,203],[-148,-173],[58,-357],[110,-270],[43,-434],[-59,-226],[143,-114],[236,-345],[75,178],[75,43],[82,-148],[254,89],[-245,-157],[-133,-173],[129,-322],[98,-94],[-71,-54],[-93,156],[-33,201],[-181,9],[-69,-64],[-137,170],[-49,181],[-117,56],[-117,218],[40,161],[-55,1],[-171,314],[31,150],[-189,301],[66,136],[-91,263],[-158,25],[83,47],[-18,182],[-278,203],[13,145],[-154,94],[-17,467],[38,-73],[125,26],[142,115],[46,137],[-46,163],[-111,177],[-89,7],[-65,157],[24,152],[-87,322],[-105,104],[-104,2],[-167,132],[7,119],[-95,44],[7,143],[-126,-77],[-56,304],[-130,-26],[7,168],[-79,-51],[-148,237],[92,-55],[-4,206],[-99,261],[-140,18],[-143,251],[-72,-133],[-137,326],[-23,-91],[-80,128],[12,136],[-101,-74],[-95,40],[-76,182],[155,167],[-162,174],[-21,142],[-59,-166],[-5,187],[-85,-70],[-28,88],[-262,72],[-27,251],[-96,114],[72,-316],[-108,-54],[-96,146],[-155,135],[-73,160],[-141,-94],[-175,196],[-122,-30],[86,-328],[-111,-5],[-67,296],[-97,212],[-62,-41],[27,166],[-91,-84],[-45,172],[-96,-64],[2,-270],[-45,-80],[-49,103],[52,124],[-12,221],[-127,31],[-84,-269],[-73,76],[74,152],[-166,152],[82,55],[43,164],[-116,-146],[-125,154],[-223,-68],[-121,89],[-18,84],[-138,62],[-89,-60],[-27,-222],[119,-83],[89,-232],[319,-170],[161,27],[77,247],[29,-326],[197,-30],[156,-328],[167,-282],[214,-226],[286,-107],[156,5],[-66,263],[52,123],[18,-196],[128,51],[88,147],[29,-84],[-149,-228],[110,-343],[266,-358],[125,-86],[260,-267],[118,87],[8,-256],[135,-318],[136,-147],[168,-260],[74,-747],[79,-59],[-57,-145],[48,-302],[170,-263],[22,-219],[-42,8],[-424,300],[-153,-250],[32,-281],[-120,168],[-47,221],[52,293],[-84,115],[-66,-54],[-111,-471],[-127,-245],[-81,191],[-51,-152],[-103,-107],[11,-156],[-186,185],[-249,181],[-20,100],[-164,122],[-65,-154],[79,-145],[12,-260],[-80,-424],[52,-138],[108,-127],[-113,-637],[-84,-319],[-48,23],[-19,190],[-80,-6],[-160,138],[-230,33],[-171,-99],[-7,-258],[-68,-89],[-93,-324],[-95,-85],[-51,-143],[78,-106],[-157,-17],[179,-244],[5,-205],[-59,-151],[79,-31],[-86,-254],[-43,121],[-68,-32],[0,-240],[-86,-117],[-3,-116],[72,-86],[-50,-94],[-93,29],[21,-165],[125,-7],[-79,-221],[165,10],[-22,-218],[51,-173],[369,-634],[-1,-135],[124,-392],[88,-131],[104,-36],[136,97],[126,269],[99,-9],[149,-193],[162,-313],[81,71],[153,31],[160,-46],[150,-336],[-38,-433],[4,-196],[-83,-234],[-79,-48],[48,-139],[123,64],[80,-131],[14,-141],[-118,-296],[-74,185],[-95,-39],[-176,110],[-138,172],[-105,254],[-4,-237],[-91,-210],[-51,57],[83,169],[-76,-7],[-105,-152],[-275,-47],[-212,91],[-384,-319],[-59,-223],[43,-158],[-74,-195],[-40,-223],[76,60],[118,-183],[-56,-103],[-284,-198],[-165,-283],[-4,-109]],[[8131,99405],[170,-218],[19,-146],[90,-89],[116,59],[-30,-111],[66,-167],[169,-61],[90,94],[-45,168],[-220,115],[-117,211],[-337,186],[29,-41]],[[8483,94388],[117,58],[-45,83],[-72,-141]],[[7690,99248],[115,-18],[13,144],[-120,-45],[-8,-81]],[[8324,93559],[119,-32],[-70,110],[-49,-78]],[[7260,99402],[111,-86],[-4,130],[-97,42],[-10,-86]],[[9073,85044],[82,-289],[23,154],[214,247],[170,-101],[111,166],[-7,167],[156,236],[273,203],[-86,173],[-177,-76],[-129,242],[-40,-211],[-144,-347],[-144,-241],[-78,-48],[-147,95],[-80,-120],[3,-250]],[[6374,99403],[99,-80],[51,59],[-60,96],[-90,-75]],[[7988,88764],[78,-103],[-11,129],[204,374],[-177,-152],[-94,-248]],[[5678,99277],[107,94],[93,-16],[110,136],[185,96],[-217,-19],[-244,-168],[-34,-123]],[[5065,99087],[161,47],[356,-23],[-4,-141],[103,-89],[69,166],[-126,114],[38,114],[-177,44],[-154,-54],[-266,-178]],[[4678,98790],[94,108],[-57,122],[-56,-57],[19,-173]],[[4597,99098],[134,-43],[-3,92],[-110,44],[-21,-93]],[[4199,99135],[142,-179],[46,-182],[107,30],[-49,180],[139,41],[-33,164],[-83,-57],[-186,76],[-83,-73]],[[3893,98832],[254,11],[35,-137],[64,76],[-80,190],[-77,21],[-45,-103],[-151,-58]],[[3705,98464],[133,37],[37,197],[-113,200],[-52,-176],[69,19],[-74,-277]],[[2703,97629],[93,9],[33,99],[-101,71],[-25,-179]],[[2214,97770],[118,120],[86,361],[-87,-256],[-117,-225]],[[1666,96970],[161,-15],[70,-133],[31,91],[-238,180],[-24,-123]],[[183,94948],[150,-16],[-12,216],[-138,-200]],[[3,93989],[97,-21],[195,194],[72,315],[-72,-107],[-48,47],[-122,-62],[-49,-294],[-73,-72]],[[25124,95090],[81,-118],[51,81],[-51,118],[-81,-81]],[[25034,95023],[14,-161],[-46,-173],[92,49],[55,249],[-115,36]],[[24855,94663],[14,-76],[95,94],[3,250],[-112,-268]],[[24158,93842],[17,-68],[85,176],[-102,-108]],[[24110,93691],[33,-161],[142,12],[12,158],[-80,94],[-107,-103]],[[24024,95001],[0,-142],[132,-88],[66,85],[-25,152],[-95,166],[-7,-170],[-71,-3]],[[23894,94360],[61,-318],[-63,-29],[7,-201],[181,-50],[182,317],[134,63],[103,138],[166,313],[-134,-41],[-16,137],[77,-81],[139,130],[20,194],[78,-104],[28,94],[-17,286],[53,-91],[72,293],[-8,132],[-123,47],[-102,-29],[52,-130],[-141,-80],[-37,-261],[-58,78],[28,178],[-83,-21],[-48,-206],[-88,-9],[184,397],[57,-93],[90,178],[-71,-22],[68,159],[-88,20],[-187,-257],[-92,-329],[-95,67],[-24,-129],[137,-203],[-117,-158],[-235,-176],[49,-97],[-18,-246],[-64,209],[-57,-69]],[[23676,94551],[100,-32],[-46,118],[-54,-86]],[[23442,93359],[39,-143],[94,-32],[70,128],[-28,-204],[-68,-59],[50,-123],[246,1],[93,-56],[130,212],[202,195],[-91,178],[-141,25],[-6,124],[-99,-11],[-90,114],[-45,-119],[6,641],[-54,147],[-77,-120],[-68,-291],[-1,-247],[-56,-4],[-106,-356]],[[22874,91471],[120,122],[34,132],[50,-65],[159,-33],[16,107],[173,287],[60,227],[-112,-215],[-88,-62],[55,162],[118,142],[86,314],[-178,553],[-43,18],[-62,-238],[37,-251],[-86,-125],[-96,-243],[-14,-143],[-169,-454],[-60,-235]],[[22808,92958],[68,-314],[174,116],[89,-32],[39,206],[202,624],[104,595],[8,134],[-73,-59],[-251,-492],[-203,-158],[60,-14],[-4,-233],[-73,-67],[18,-224],[-72,57],[-86,-139]],[[22770,93146],[15,-154],[118,129],[4,281],[-86,61],[14,-185],[-65,-132]],[[22337,92395],[-24,-198],[61,-128],[-39,-153],[85,100],[98,-88],[58,-146],[164,133],[210,16],[45,154],[-74,88],[86,54],[122,380],[-103,94],[-235,-169],[43,242],[-34,181],[-81,-17],[-131,-193],[-45,15],[-102,-276],[-104,-89]],[[17580,91326],[38,-191],[142,-287],[94,-372],[66,151],[-184,481],[47,59],[-203,159]],[[17539,90713],[44,-321],[78,-154],[-4,287],[-41,296],[-77,-108]],[[19970,66387],[65,-52],[134,60],[171,-33],[6,-131],[139,-165],[38,-233],[-51,-496],[-150,-33],[-122,-91],[-42,-247],[80,-216],[53,-417],[-85,-155],[84,-202],[-29,-178],[185,-31],[25,-104],[149,-244],[71,-56],[45,-484],[69,-46],[6,-591],[57,-59],[-30,-272],[220,-292],[71,-289],[185,-59],[135,-93],[206,-263],[58,-158],[-50,-197],[-81,-92],[-160,-384],[-89,-60],[42,-268],[-61,-264],[18,-68],[-40,-416],[-121,-252],[-31,-281],[-69,-170],[59,-487]],[[21130,57818],[83,-258],[-59,-105],[129,-83],[31,-125],[24,-629],[-18,-338],[-54,-333],[96,-444],[-46,-175],[-1,-237],[36,-162],[-7,-200],[47,-176],[63,-57],[-82,-300],[39,-317],[-19,-239],[42,-54],[221,-26],[87,-54],[106,38],[3,84],[238,28],[87,297],[-21,59],[113,209],[153,14],[218,-544],[43,-39],[86,-746],[104,-1007],[147,-1305]],[[23019,50594],[855,279],[1774,548],[1962,566],[1594,421],[51,38],[1476,375],[1017,243]],[[31748,53064],[-508,6249],[-181,2264],[-472,5802],[-144,1799],[-450,5498]],[[29993,74676],[-1790,-441],[-864,-222],[-1155,-307],[-3138,-3103],[-450,-441],[-2897,-2988],[58,-202],[4,-258],[96,-94],[113,-233]],[[32975,37767],[867,205],[1496,317],[1947,389],[392,90],[819,151],[1448,238],[300,36],[1037,155]],[[41281,39348],[927,129],[1118,143],[1295,149],[-144,3845]],[[44477,43614],[-168,4810],[-101,2730],[-57,1687],[-89,2368]],[[44062,55209],[-1157,-141],[-535,-85]],[[42370,54983],[-2357,-301],[-1165,-181],[-211,-43],[-1901,-326],[-1175,-218],[-11,-32],[-1061,-214],[-1347,-285],[-1394,-319]],[[31748,53064],[115,-1438],[55,-594],[196,-2424],[2,-431],[139,-1699],[139,-1549],[425,-5250],[42,-454],[114,-1458]],[[85919,97958],[89,-224],[40,97],[-83,167],[-46,-40]],[[85736,98213],[57,-143],[52,81],[-109,62]],[[85214,98724],[354,-394],[52,85],[-304,347],[-102,-38]],[[83862,99608],[105,-374],[302,-372],[157,-255],[104,-106],[301,142],[41,160],[112,109],[-305,274],[-30,-81],[-193,68],[-12,84],[-321,322],[-255,116],[-6,-87]],[[83457,99810],[252,-176],[-36,182],[-212,75],[-4,-81]],[[83145,99811],[34,-123],[81,-1],[-13,152],[-102,-28]],[[82261,91868],[41,48],[195,645],[193,133],[47,-69],[103,43],[-160,144],[-215,-201],[-193,-580],[-11,-163]],[[81555,99934],[106,-66],[40,63],[-143,68],[-3,-65]],[[76646,81241],[191,-195],[-26,165],[-145,109],[-20,-79]],[[75694,76782],[53,244],[101,173],[20,257],[64,242],[99,133],[2615,-305],[707,-77],[1759,-212],[-32,100],[85,210],[3,234],[97,230],[232,-75],[21,-453],[-6,-326],[-114,-328],[5,-510],[98,7],[29,-197],[105,-2],[60,95],[119,-19],[179,128],[129,-25],[221,56],[93,-74],[91,39]],[[82527,76327],[36,36],[4,375],[44,293],[58,141],[119,776],[251,1112],[123,398],[40,274],[258,818],[312,873],[211,562],[634,1338],[323,573],[142,446],[-104,217],[-4,385],[84,492],[75,297],[158,439],[328,796],[265,849],[122,430],[251,649],[14,109],[183,505],[206,797],[70,853],[3,479],[28,685],[6,680],[71,925],[-7,675],[-39,-205],[-75,-65],[-84,129],[-36,318],[-41,102],[16,171],[-41,146],[7,255],[48,245],[43,40],[-41,187],[-70,102],[28,114],[140,-170],[156,-818],[-17,414],[-179,782],[-37,280],[-360,866],[-154,258],[-26,-33],[298,-616],[41,-183],[17,-377],[-207,-8],[-239,140],[-155,196],[-143,-108],[-124,79],[-39,143],[-355,176],[-139,-134],[-83,-202],[10,-425],[52,-37],[-138,-441],[-94,-133],[0,-111],[-97,-223],[-68,-40],[-63,-264],[-122,24],[-96,-307],[-179,-55],[-342,-270],[-118,201],[-157,-372],[-146,-452],[-131,-756],[-99,-298],[-101,-160],[-224,-187],[-16,-142],[-106,19],[34,134],[-94,61],[-113,-560],[-102,-144],[106,-95],[76,111],[31,-533],[-32,-276],[-67,-30],[6,-268],[-80,35],[-103,170],[97,463],[-196,152],[-21,169],[-25,-241],[-52,-152],[-150,-272],[-235,-527],[-87,-288],[-232,-547],[-286,-491],[-131,-333],[90,137],[96,-120],[107,-306],[162,-617],[80,-89],[58,-296],[-60,-231],[-155,-32],[65,358],[-169,-59],[39,-121],[-76,-326],[-286,-163],[28,207],[-70,108],[115,108],[86,-11],[110,334],[-59,156],[0,266],[-154,83],[40,272],[-52,60],[-38,-351],[-129,-295],[-85,-98],[-64,-231],[4,-515],[-56,-204],[-69,-524],[61,-19],[24,301],[58,281],[60,8],[-19,-271],[-62,-90],[70,-263],[99,-853],[-3,-602],[-58,-205],[-3,-184],[-93,-75],[16,-143],[-91,-337],[63,-229],[-175,-321],[13,-106],[-67,-166],[-72,7],[2,-272],[-47,-34],[-333,3],[-96,205],[-93,-308],[-17,-189],[-163,-54],[-28,-203],[-105,-268],[-153,-32],[-44,-136],[-183,-118],[-27,-363],[-46,-212],[-80,-4],[-172,-141],[-111,-213],[-8,-103],[-121,-259],[-104,-122],[-212,-159],[-291,-175],[-196,-205],[-189,89],[-57,82],[-222,-49],[5,113],[-166,264],[85,309],[-22,109],[-166,-2],[-40,-79],[-156,105],[-236,362],[-43,8],[-358,482],[17,-196],[-76,-25],[-133,289],[-248,46],[102,141],[17,124],[116,48],[391,-385],[168,-312],[20,39],[-143,302],[-490,503],[-364,-278],[-135,2],[-113,116],[-107,-290],[-61,-329],[47,-200],[24,341],[58,291],[55,61],[57,-140],[-9,-275],[-145,-364],[-90,-135],[-164,-57],[-111,-112],[-131,-208],[-193,-120],[-165,-198],[-211,-190],[-247,-167],[-443,-201],[-279,-71],[-519,6],[-225,54],[-318,135],[-444,236],[-213,81],[-54,-22],[-419,231]],[[73572,61773],[398,-68],[802,-177],[1113,-230]],[[75885,61298],[1265,-269],[-2,-21],[918,-243]],[[78066,60765],[-3,232],[-194,300],[-36,220],[-91,144],[-35,245],[45,177],[210,221],[115,2],[175,301],[166,132],[108,-80],[154,75],[78,344],[80,76],[109,259],[57,339],[111,145],[87,228],[96,128],[95,301],[60,-7],[210,259],[148,78],[192,242],[149,465],[128,124],[48,-32],[120,94],[136,266],[148,138],[-32,309],[79,135],[119,37],[8,216],[97,124],[72,-31],[27,212],[122,136],[172,38],[92,135],[165,136],[3,270],[85,143],[-15,76],[115,135],[6,201],[46,137],[-17,171],[79,183],[-38,88],[114,174],[166,36],[191,304],[-15,117],[217,519],[-53,184],[90,189],[27,271],[103,78],[108,-71],[170,185],[79,6]],[[83114,71024],[83,17],[-17,218],[-81,122],[-74,-32],[-23,167],[66,8],[-91,225],[-142,-37],[-3,188],[70,4],[-34,221],[-101,206],[-120,-9],[74,143],[55,-32],[21,276],[-51,276],[-152,40],[-10,94],[119,-52],[49,67],[-139,619],[35,293],[-7,324],[-39,4],[-78,298],[-58,25],[1,455],[-125,185],[134,46],[27,-89],[30,262],[-45,391],[-1,266],[40,114]],[[68755,36530],[95,123],[115,-36],[-31,139],[272,45],[228,-135],[292,-294],[170,-224]],[[69896,36148],[1702,-293],[1620,-318],[17,245]],[[73235,35782],[263,3703],[109,1630],[113,1885],[177,2707]],[[73897,45707],[-117,230],[114,214],[16,126],[-44,233],[145,35],[-49,183],[30,207],[-129,-14],[-151,90],[-309,416],[-138,-143],[-105,-18],[-216,89],[-30,162],[107,534],[-124,327],[-180,146],[-52,446],[-133,249],[-95,-57],[-63,57],[-25,213],[-84,256],[22,287],[-14,226],[-45,97],[-137,85],[-10,127],[-127,-193],[-122,30],[-177,-186],[-13,-271],[-145,-198],[-34,127],[81,24],[-126,210],[-104,-34],[58,116],[-23,145],[-111,49],[3,288],[41,139],[-141,61],[-13,246],[-101,22],[16,-203],[-121,81],[-61,-67],[-93,-279],[-106,24],[-71,171],[-220,189],[-42,413],[-96,81],[-76,-206],[-66,1],[-329,-305],[-124,-2],[-98,150],[-155,-246],[-49,172],[69,169],[-26,211],[-103,33],[-35,-283],[-250,142],[-139,-167],[-49,132],[68,320],[-59,134],[-150,-72]],[[68662,51678],[-138,-393],[145,22],[-95,-83],[81,-233],[-62,-228],[124,-130],[2,-128],[-71,72],[56,-194],[67,-46],[-111,-249],[86,-356],[34,111],[41,-142],[51,102],[67,-349],[44,-37],[71,-304],[-22,-107],[136,-145],[-13,-129],[51,-389],[40,-114],[121,-134],[23,-319],[-109,-297],[47,-375],[-120,-115],[-4,-265],[-112,-174],[-26,-229],[102,-215],[-61,-156],[31,-312],[78,-41],[-96,-1779],[-120,-2504],[-168,-3209],[-77,-1575]],[[44477,43614],[1074,114],[1741,156],[977,74],[1091,66],[1033,52],[1067,44],[1496,43],[1519,20],[1435,-5]],[[55910,44178],[176,351],[108,38],[24,92],[154,30],[41,-133],[143,40],[-22,108],[113,141],[-82,133],[23,117],[73,-54],[-24,179],[-122,-71],[-25,229],[-96,83],[-61,342],[-73,14],[2,139],[97,154],[17,119],[101,98],[84,211],[77,-28],[-36,158],[19,198],[93,121],[40,225],[79,23],[72,131],[84,-58],[44,99],[121,7],[-25,138],[8,1969],[18,2539],[0,689],[25,2987]],[[57180,55736],[-1580,26],[-1748,2],[-1700,-30],[-1265,-39],[-1541,-77],[-1058,-66],[-400,-35],[-1413,-101],[-1205,-95],[-1208,-112]],[[98249,17157],[80,-70],[-28,138],[-52,-68]],[[98072,17379],[-8,-281],[189,209],[-58,185],[-123,-113]],[[97911,16723],[18,-160],[74,213],[-92,-53]],[[97504,17360],[72,-41],[41,118],[-113,-77]],[[97633,18829],[27,-143],[42,237],[-69,-94]],[[97421,17896],[20,-151],[117,-211],[42,177],[116,210],[-35,153],[-96,90],[-81,-41],[-26,-244],[-57,17]],[[97299,17401],[37,-249],[-19,-265],[74,19],[-9,490],[-83,5]],[[95336,23105],[-232,-159],[-36,-337],[-289,-340],[-94,-273],[-24,-533],[-45,-55],[-155,-812],[-357,-2014],[-279,-1518],[-390,-2000]],[[93435,15064],[106,-102],[-19,-103],[161,66],[69,236],[72,26],[25,-300],[-22,-239],[-56,-114],[90,-153],[88,109],[121,-29],[-57,-208],[-129,-118],[-23,-98],[62,-393],[103,-289],[215,-367],[-86,-199],[78,-262],[102,-201],[-3,-209],[-127,-19],[30,-139],[-64,-64],[37,-148],[-54,-24],[60,-356],[-109,-124],[22,-308],[44,-151],[-22,-115],[72,-143],[47,-222],[55,-55],[-79,-1065],[670,-3350],[232,26],[52,-40],[67,478],[52,185],[245,141],[229,-362],[85,-25],[85,-134],[4,-114],[84,-76],[211,-78],[-38,-198],[51,-92],[287,-11],[45,94],[334,223],[169,285],[151,59],[307,1702],[219,1163],[221,1226],[62,68],[-57,166],[111,182],[-56,110],[80,460],[134,-9],[3,-69],[140,190],[236,-19],[64,-97],[116,336],[-121,120],[87,211],[87,84],[27,197],[-44,253],[112,164],[97,217],[120,74],[49,-111],[-16,-155],[117,33],[100,-43],[163,283],[162,408],[103,76],[71,368],[-202,774],[-115,150],[-106,-280],[-129,172],[96,148],[-39,172],[-65,-11],[-41,220],[-129,50],[30,103],[112,77],[-86,245],[-98,-108],[-66,-161],[-106,210],[-70,-167],[-5,217],[-40,69],[-4,256],[-96,7],[-82,216],[-46,-67],[-14,323],[-100,-58],[-28,-136],[-110,98],[50,203],[-46,269],[74,74],[-182,149],[-145,-34],[-144,-295],[16,-110],[104,-144],[-56,-122],[-37,147],[-46,-141],[-180,271],[57,128],[-9,155],[109,174],[10,148],[-84,309],[5,141],[91,145],[10,231],[-79,75],[-65,-257],[-15,-196],[-117,-94],[-59,-192],[57,-203],[-130,-74],[-39,-101],[-89,115],[-52,-360],[34,-170],[-68,-183],[-68,327],[-81,-73],[-98,173],[121,218],[10,161],[-57,107],[-17,252],[17,239],[-32,42],[33,302],[92,-20],[-59,124],[76,128],[-21,170],[-153,63],[-30,263],[-83,44],[18,189],[-55,59],[-9,-300],[-56,-24],[-65,179],[-7,-219],[-90,74],[29,165],[-67,161],[-4,172],[-90,-131],[12,155],[-63,141],[-84,-49],[22,217],[-89,-140],[-38,342],[-132,220],[-66,-251],[-92,26],[-72,313],[-76,-2],[-48,213],[-92,7],[-55,218],[55,246],[-32,123],[-84,-58],[-118,189],[-17,141],[70,194],[-72,232],[34,96],[-171,178],[-39,367],[44,88],[-21,358],[-41,275],[-42,61]],[[97059,29277],[86,40],[166,-94],[91,-102],[34,-256],[148,288],[-63,194],[-169,63],[-249,-65],[-44,-68]],[[96137,29538],[104,-48],[63,-339],[126,-264],[72,19],[57,186],[119,62],[34,-154],[43,270],[-412,219],[-82,201],[-124,-152]],[[91476,26056],[1287,-471]],[[92763,25585],[762,-279],[1095,-426],[50,-205],[103,-27],[-37,-194],[66,-153],[117,7],[21,-220],[147,-172],[139,33],[42,-65]],[[95268,23884],[166,635],[165,84],[48,-167],[96,71],[-47,334],[-46,-28],[-202,266],[-73,54],[62,78],[-48,256],[-73,69],[-48,201],[93,186],[-84,49],[41,238],[84,9],[15,-132],[79,-64],[74,128],[139,12],[101,117],[36,139],[165,243],[2,304],[-68,51],[107,137],[193,33],[86,243],[0,171],[144,150],[167,12],[137,-47],[63,51],[89,-194],[240,-257],[21,-94],[-116,-427],[-58,136],[-51,-309],[-57,-162],[-102,-68],[-59,119],[-96,-52],[78,-111],[233,56],[170,282],[165,481],[84,430],[-3,287],[-32,216],[-17,-326],[-73,-38],[-266,234],[-77,104],[-152,41],[-140,190],[-58,240],[-216,156],[-197,459],[-232,256],[20,-97],[184,-204],[181,-414],[4,-160],[-90,-352],[47,-90],[-171,-68],[29,189],[-63,-8],[15,204],[-78,-23],[17,118],[-162,97],[-3,418],[-129,140],[-129,49]],[[95592,29215],[-113,-592],[-111,-14]],[[95368,28609],[-67,-111]],[[95301,28498],[-83,-129],[-122,-56],[-86,-431],[-65,50],[-72,-467],[-660,339]],[[94213,27804],[-11,-57],[-1533,618],[0,132],[-77,54],[-16,-148],[-313,124],[-772,279]],[[91491,28806],[-53,-123],[38,-2627]],[[52912,9721],[1223,21],[1539,2],[319,-5],[-7,-1454],[141,115],[157,-61],[145,165],[44,112],[82,653],[34,78],[106,812],[-26,198],[18,202],[76,138],[154,141],[149,26],[33,-62],[226,39],[62,185],[325,13],[244,43],[61,221],[19,205],[223,-14],[264,-119],[2,-175],[161,-82],[11,-58],[208,-70],[45,70],[289,-16],[390,297],[138,-22],[1,165],[-92,22],[-18,122],[86,95],[222,-56],[80,172],[-16,187],[162,488],[147,-115],[-61,-255],[63,-150],[84,30],[226,-67],[86,137],[-5,212],[76,118],[97,-25],[46,112],[225,13],[-11,109],[134,269],[120,-52],[-5,245],[116,-102],[91,67],[86,-86],[180,-71],[162,-261],[233,-287],[134,-112],[70,17],[14,191],[90,93],[-28,88],[58,151],[180,-37],[86,-85],[42,101],[636,-124],[167,84],[93,257],[150,92],[73,-119],[105,-43],[75,57],[183,18],[135,-87],[-142,201],[-161,113],[-137,205],[-192,132],[-72,128],[-407,263],[-123,113],[-157,72],[-146,123],[-291,327],[-193,275],[-224,370],[-212,394],[-25,102],[-243,528],[-174,323],[-143,148],[-134,298],[-57,39],[-150,284],[-114,115],[-312,472],[128,301]],[[60864,18223],[-118,-155],[-150,131],[-15,240],[-139,-22],[49,2243],[-52,35],[-30,190],[-134,-8],[-53,188],[-78,-38],[-42,125],[-137,80],[-102,153],[-86,264],[-24,242],[-129,186],[-23,301],[11,243],[173,17],[198,424],[8,213],[-71,242],[-91,180],[-6,386],[42,311],[-71,113],[46,193],[29,348],[-35,173],[19,197],[-61,347],[115,124],[275,419],[34,131],[322,24],[55,70],[55,228],[111,143],[260,124],[210,245],[92,495],[97,141],[175,154],[214,341],[244,98],[254,554],[72,272],[-32,252],[10,362],[62,117],[-14,134],[47,182]],[[62450,30375],[-839,69],[-1825,125],[-1493,72],[-1805,50],[-1333,18],[-1150,-4]],[[54005,30705],[16,-4613],[4,-2277],[-56,-226],[-201,-197],[-104,-15],[-74,-174],[-44,-222],[-151,-351],[40,-174],[284,-359],[109,-279],[32,-439]],[[53860,21379],[-15,-392],[31,-176],[-62,-519],[-5,-421],[-104,-173],[-103,-396],[-13,-332],[-81,-380],[31,-236],[-31,-351],[38,-289],[-65,-274],[-1,-718],[-22,-172],[5,-512],[-38,-298],[20,-664],[-191,-825],[-54,-434],[-65,-167],[-16,-333],[-44,-78],[-63,-368],[48,-420],[-44,-305],[25,-378],[-27,-350],[68,-302],[16,-208],[-55,-153],[-56,-475],[-91,-438],[16,-121]],[[89327,39227],[55,-243]],[[89382,38984],[46,-332],[56,-164]],[[89484,38488],[117,-230],[99,-39],[183,-201],[-3,-299],[273,-539],[107,-95],[46,-194],[69,-4],[79,-188],[-108,-175],[-135,-86],[-65,-152],[-139,-115],[-71,-207],[-159,-14],[-43,-138],[-40,-328],[-64,-77],[-155,34],[-76,-434],[14,-349],[60,-4],[83,-427],[-179,-316],[-5,-77],[147,-249],[67,-205],[-29,-80],[127,-335],[41,-463],[86,-240],[89,-79]],[[89900,32183],[731,443],[723,388],[31,4],[-1,426],[-90,825]],[[91294,34269],[-22,127]],[[91272,34396],[-201,199],[13,281],[-43,239]],[[91041,35115],[17,143],[124,44],[91,-99],[245,83],[7,-151],[86,556],[4,698],[32,827],[44,568],[-37,307],[-158,926],[-125,488],[-158,248],[-120,321],[-104,535],[-68,532],[-94,241],[-110,89],[-71,-19],[-2,-240],[50,-462],[-14,-176],[-141,-69],[-109,28],[-10,-74],[-141,57],[-28,132],[-98,-203],[-210,-106],[-117,-189],[-35,42],[-159,-181],[-56,-123],[-129,-37],[-35,-304],[18,-154],[-86,-78]],[[89344,39315],[-17,-88]],[[90812,53263],[126,18],[105,211],[24,151],[-98,5],[-5,-151],[-152,-234]],[[90718,56718],[28,-212],[721,-869],[-18,-831],[-39,-437],[-172,-615],[61,90],[147,522],[34,449],[23,962],[-146,80],[-260,282],[-379,579]],[[80100,54078],[536,-89],[349,-82],[599,-113],[233,-77],[725,-132],[1372,-389],[1757,-544],[2781,-937],[187,-92],[1636,-588]],[[90275,51035],[176,697],[141,454],[150,401],[149,313],[332,797],[-58,-26],[-222,-529],[-74,-129],[-83,-5],[-133,-540],[-160,-466],[-64,-56],[8,-135],[-71,-277],[-116,-219],[-162,12],[-8,-122],[-91,93],[63,182],[120,119],[64,-57],[30,241],[333,861],[20,151],[-144,-162],[-9,-123],[-142,-283],[-79,-12],[42,207],[105,95],[-206,-12],[-249,-309],[-97,-6],[160,273],[69,33],[60,176],[-197,174],[-200,-171],[185,240],[-38,60],[-460,-182],[170,188],[144,24],[-36,78],[-150,80],[-60,233],[-88,105],[-117,36],[-75,-94],[-110,16],[-126,-367],[-20,-196],[46,-282],[-36,-32],[-60,279],[17,252],[87,287],[110,256],[-23,116],[59,95],[251,-124],[210,-234],[82,137],[303,-310],[201,-72],[101,104],[16,138],[-54,285],[45,168],[76,554],[54,-62],[0,-387],[-45,-493],[69,-195],[-43,-45],[161,-140],[137,109],[157,433],[-3,160],[82,274],[-39,100],[43,167],[-58,205],[-208,101],[-131,434],[-21,271],[-66,38],[6,132],[-110,207],[-173,-22],[-185,80],[-268,-2],[-115,-114],[-126,-342],[192,-79],[18,-159],[-167,144],[-81,-9],[-48,128],[81,166],[72,265],[-248,-70],[-84,62],[-139,-65],[-208,-29],[-165,-106],[7,94],[130,163],[134,-31],[443,191],[301,-13],[85,209],[-84,402],[8,169],[-70,242],[-311,517],[-366,-251],[35,207],[171,127],[249,59],[196,-340],[227,-151],[21,-256],[75,22],[44,206],[65,81],[115,-25],[-87,-220],[149,61],[49,241],[-93,301],[-106,80],[-109,506],[-13,244],[-117,-25],[-25,-262],[-76,-39],[40,263],[-99,60],[293,114],[138,-548],[123,-368],[129,-301],[221,-670],[68,41],[-147,333],[-349,927],[-135,531],[-41,304],[-50,-207],[-249,-99],[-169,44],[-450,298],[-293,321],[-173,332],[-223,328],[-183,340],[-229,579],[-113,469],[-105,1016],[1,231],[-87,8],[-34,-105],[-299,-5],[-368,167],[-263,284]],[[86724,62866],[-1511,-1858],[-243,-316],[-670,-814],[-351,101],[-1669,418],[-14,-449],[-335,-578],[-169,291],[-41,-400],[-1214,209],[-672,126],[-335,47],[-184,97],[-33,-103],[-61,201],[-94,4],[-405,404],[-81,136],[-18,-79],[-558,462]],[[75885,61298],[-8,-920],[129,-185],[29,81],[182,-53],[119,-214],[-41,-202],[48,-95],[-34,-119],[42,-140],[134,-177],[40,-169],[100,-48],[85,-168],[510,-137],[58,-183],[133,-135],[49,-115],[69,14],[80,-287],[97,-35],[37,-145],[136,-127],[159,23],[44,-73],[87,-342],[-18,-278],[80,-35],[63,91],[52,-130],[5,-188],[235,-312],[77,122],[-8,244],[98,29],[155,-248],[74,-330],[188,-234],[76,0],[37,-110],[133,-5],[45,157],[168,-97],[161,-749],[180,-264],[153,53],[-70,-281],[56,-238],[-41,-216],[32,-250]],[[42801,8880],[996,142],[1716,212],[1618,163],[1025,87],[1347,97],[975,53],[1364,57],[1070,30]],[[53860,21379],[-1176,-19],[-1704,-63],[-1678,-104],[-1053,-81],[-1941,-172],[-861,-91],[-1135,-132],[-1325,-171],[-754,-107]],[[42233,20439],[81,-1667],[182,-3639],[103,-1962],[21,-506],[181,-3785]],[[57180,55736],[16,1928]],[[57196,57664],[63,768],[311,3486],[-16,2185],[-20,4584]],[[57534,68687],[-64,84],[-123,-237],[-110,40],[-25,-87],[-94,17],[-122,-255],[-136,63],[-131,-178],[-93,-285],[-147,-10],[-153,-278],[-183,-89],[-96,321],[-229,47],[-254,-51],[-29,-198],[-281,181],[-79,-29],[6,140],[-87,-18],[-79,86],[-169,-185],[-11,98],[-88,-20],[-56,101],[-149,-29],[-139,128],[11,172],[-94,87],[-105,-87],[-60,228],[-61,90],[-147,-344],[-143,13],[-48,-187],[-85,6],[-105,-123],[83,-146],[-166,-80],[-29,228],[-131,97],[-59,-173],[-104,82],[-60,-81],[-39,-305],[-164,-11],[15,242],[-191,296],[-19,311],[-138,-40],[-60,-248],[73,-148],[-22,-200],[-57,-93],[-86,201],[-147,-40],[-69,204],[-98,-2],[-67,-88],[7,-239],[-74,-63],[-94,81],[-82,-63],[14,-153],[-80,-109],[-100,-24],[-54,149],[-220,339],[-59,30],[-215,-191],[74,-349],[-47,-67],[-103,43],[-111,-51],[-53,-307],[56,-174],[-60,-96],[-86,152],[-239,-88],[-116,-91],[-103,281],[-127,73],[-162,-340],[-129,-66],[-79,117],[-123,26],[-90,-125],[-186,-92],[-130,-162],[-115,69],[-172,-91],[-94,14],[-30,-472],[-302,-483],[-36,302],[-80,10],[-137,-164],[-114,-16],[-40,159],[-176,-36],[-102,-162],[-243,-529],[-92,-103],[-101,65],[184,-7472],[-971,-73],[-958,-83],[-957,-93],[-1113,-123],[-1335,-159]],[[42286,56906],[84,-1923]],[[80162,33015],[286,-310],[257,-381],[40,-212],[100,55],[187,-296],[250,-320]],[[81282,31551],[105,1028],[1440,-432],[450,-151],[1240,-396],[1144,-390],[328,-123],[934,-316],[970,-352],[616,-236],[159,178],[72,276],[129,-91],[173,175],[-12,152],[93,50],[76,510],[-38,55],[98,129],[115,286],[114,-27],[44,124],[135,-64],[46,66],[80,-66],[14,110],[93,137]],[[89484,38488],[-155,-66],[-121,23],[-145,124],[-90,179],[-72,272]],[[88901,39020],[-741,273],[-1263,453],[-798,273],[-1789,577],[-1573,492]],[[82737,41088],[-631,189],[-1120,318],[-334,-3491]],[[80652,38104],[-490,-5089]],[[42034,24047],[29,-8],[63,-1279],[107,-2321]],[[54005,30705],[-235,-3],[7,255],[117,188],[-8,290],[-88,45],[31,284],[122,1],[29,285],[48,113],[-43,222],[-77,50],[15,348],[-67,133],[-6,282],[-146,317],[3,240],[151,196],[98,383],[-23,137],[74,115]],[[54007,34586],[-91,30],[-49,-126],[-118,40],[-56,-183],[-119,-217],[39,-146],[-65,-81],[-121,-22],[-6,-123],[-164,-116],[-93,49],[-29,-154],[-243,-49],[-128,-146],[-13,-141],[-142,-87],[-180,2],[-37,72],[-267,-51],[-106,56],[-173,-31],[-87,-76],[-77,36],[-23,159],[-103,179],[-138,16],[-151,-225],[-207,-213],[-336,-295],[-48,-198],[-851,-41],[-1377,-85],[-1237,-95],[-1756,-158],[-221,-33],[-1034,-116],[-1487,-191],[-1051,-146]],[[41662,31680],[103,-2136],[112,-2227],[157,-3270]],[[57534,68687],[49,-29],[4,180],[149,87],[36,120],[111,-131],[134,86],[78,-154],[111,151],[38,-72],[111,66],[26,2051]],[[58381,71042],[47,3919],[46,31],[81,245],[130,123],[69,272],[101,180],[-14,108],[53,228],[-62,335],[42,169],[179,187],[-43,138],[94,115],[75,295],[-44,194],[131,144],[43,362],[98,-45],[10,398],[60,224],[-96,90],[83,234],[-76,199],[30,242],[-120,323],[-1,180],[-116,213],[8,157],[-90,102],[-22,133],[51,79],[36,297],[-114,210],[-12,206],[102,145],[-8,324],[66,260],[-82,204],[57,130],[-157,250],[-124,486],[-130,181],[170,484]],[[58932,83793],[1,44],[-317,3],[-256,140],[-959,776],[-122,140],[-70,179],[-93,32],[23,-123],[181,-323],[151,-62],[53,-154],[139,23],[-101,-177],[-376,186],[-79,-18],[138,-363],[28,-266],[-8,-241],[-118,-88],[-114,97],[-108,329],[-94,52],[-88,-160],[-90,274],[60,105],[-68,180],[72,165],[141,52],[-40,178],[78,63],[-3,479],[-114,71],[-283,451],[-116,-58],[-12,289],[40,86],[274,-362],[240,-392],[106,-79],[26,-182],[156,79],[-140,204],[-431,510],[-192,311],[-221,304],[-279,470],[-112,29],[-730,746],[-521,413],[-230,207],[-215,230],[-172,227],[-104,244],[-375,358],[-318,424],[-188,301],[-234,462],[-84,280],[-194,444],[-146,455],[-171,640],[-131,728],[-46,663],[18,664],[35,341],[99,678],[82,437],[109,751],[71,847],[-48,-155],[-34,-479],[-158,-1115],[-168,-56],[125,-85],[-160,-842],[-21,-347],[10,-849],[84,-898],[119,-588],[141,-481],[98,-225],[73,-282],[61,-113],[-17,-156],[96,-278],[130,-122],[276,-692],[120,-54],[58,-173],[110,-5],[270,-388],[313,-186],[-24,-289],[-254,247],[-78,129],[-125,17],[-50,-353],[-130,2],[-68,439],[44,133],[-27,120],[-268,378],[-182,-97],[-18,-142],[-232,195],[-121,172],[151,119],[222,-206],[-2,268],[-46,74],[-279,749],[-76,-8],[-49,-193],[-148,28],[-31,-60],[-225,31],[-76,-41],[-45,124],[84,105],[186,-48],[-31,209],[49,158],[226,177],[-139,474],[-92,457],[-9,145],[-89,344],[-192,171],[-76,-62],[98,-65],[24,-191],[-55,-11],[-192,284],[-41,160],[171,57],[187,-122],[55,20],[-52,1027],[-51,673],[-25,10],[60,751],[56,213],[5,275],[66,4],[196,800],[-63,151],[37,478],[39,70],[144,39],[7,115],[89,-57],[9,404],[-265,7],[-1,64],[-198,101],[1,255],[-147,-41],[-7,-83],[-147,-59],[-48,-182],[-73,-16],[-132,-321],[-222,-47],[-85,-109],[-172,-29],[-165,49],[-123,-60],[-23,95],[-74,-104],[-143,65],[-206,-98],[-171,-252],[-2,-109],[-101,28],[-155,-251],[-64,33],[-177,-166],[-171,61],[-168,-345],[-69,-28],[-68,-152],[-135,43],[-151,-162],[-144,-64],[-87,58],[-56,-116],[42,-190],[-69,-187],[-86,-62],[-8,-306],[-43,-138],[-12,-260],[-61,-84],[-50,-373],[-118,-146],[17,-102],[-113,-111],[7,-150],[-73,-169],[-62,-26],[40,-256],[-17,-229],[30,-94],[-25,-282],[-108,-89],[7,-121],[-86,-53],[68,-80],[61,-558],[-95,-56],[40,-247],[-83,-195],[-94,-111],[-72,53],[-57,-130],[-71,14],[-125,-302],[-206,-271],[-41,-249],[7,-183],[-71,-113],[15,-153],[-117,-60],[-46,-271],[-68,-81],[-54,-230],[-241,-195],[-161,-371],[14,-123],[-111,-336],[27,-151],[-56,-136],[61,-89],[-98,-61],[-40,-141],[29,-123],[-94,-101],[4,-125],[-103,-84],[-6,-301],[-47,-91],[-21,-240],[-46,-6],[-53,-293],[-58,-9],[-19,-321],[-62,-480],[-171,-254],[20,-82],[-54,-202],[-149,-138],[-18,-110],[-234,-254],[-86,-352],[-176,-86],[-38,-147],[-167,-101],[37,-121],[-41,-237],[-53,218],[-38,-95],[3,-229],[-97,-42],[-82,-362],[-113,-103],[-113,51],[-23,-127],[-59,80],[-255,19],[-133,-116],[-144,-63],[-151,32],[-84,-89],[-149,80],[-126,-41],[-121,-219],[-88,-1],[-138,-146],[-78,23],[-103,381],[-198,-89],[-100,113],[-49,-44],[-243,120],[-18,175],[-90,123],[-12,161],[-56,10],[-13,175],[-77,91],[-93,619],[-71,9],[-68,349],[65,78],[-98,183],[-160,49],[-40,175],[-178,238],[-41,272],[-219,-52],[-105,22],[-91,-164],[-185,-103],[-76,-114],[-58,-199],[-101,-151],[-169,-39],[-148,-144],[-113,-269],[-92,-93],[-263,-105],[-310,-380],[-209,-532],[-142,-44],[-109,-218],[-122,-160],[-128,-276],[-31,-368],[-76,-198],[-113,-423],[10,-193],[-37,-296],[50,-126],[14,-359],[-117,-486],[-170,-370],[20,-106],[-57,-593],[-43,-139],[-89,-35],[-50,-300],[-106,-18],[-80,-233],[-78,-44],[-115,-212],[-82,0],[-246,-262],[2,-129],[-277,-438],[-67,-368],[-78,-142],[-225,-235],[-154,-497],[-113,-115],[-29,-204],[-90,-123],[-141,-50],[-221,-300],[-58,-301],[-60,-92],[-29,-230],[-118,-454],[-125,-150],[-75,49],[-65,-146]],[[34864,73972],[-133,-198],[-59,-270],[46,-66],[31,-328],[2231,404],[959,159],[1106,174],[1140,164],[1239,164],[174,-3992],[200,-3715],[346,-7858],[72,-1713],[70,9]],[[41662,31680],[-381,7668]],[[32975,37767],[-804,-183],[-1599,-394],[-902,-254],[357,-3817]],[[30027,33119],[178,-1913],[83,-825],[611,-6643]],[[30899,23738],[43,-573],[133,-1424],[422,108],[121,74],[790,192],[142,7],[561,150],[1012,230],[30,31],[911,211],[2140,455],[76,29],[1288,260],[526,96],[25,-24],[1804,311],[1111,176]],[[94213,27804],[219,1303],[118,899],[-64,48],[54,245],[-36,112]],[[94504,30411],[-147,-4],[-111,132],[-103,34],[-69,111],[-83,-56],[-39,142],[-264,232],[-115,-18],[-139,172],[-48,-49],[-163,75],[-24,98],[-109,-41],[-233,173],[-30,-177],[-124,417],[-61,2],[-95,292],[-88,-43],[-111,242],[-45,-23],[-126,148],[0,181],[-167,109],[-122,238],[-40,-40],[-71,148]],[[91777,32906],[-10,-101],[-165,-285],[338,-583],[-154,-265],[-122,-1234],[-173,-1632]],[[55131,41927],[1908,27],[910,-34],[913,-65],[484,-24],[846,-76],[1110,-122],[616,-91],[86,228],[96,29],[18,148],[94,162],[59,2],[12,186],[71,98],[110,12]],[[62464,42407],[-68,144],[-64,415],[5,418],[36,351],[140,408],[-43,196],[35,152],[118,164],[-1,246],[227,364],[97,88],[71,223],[82,20],[117,338],[351,385],[205,326],[96,620],[-49,138],[62,207],[44,281],[142,203],[67,-30],[148,-373],[249,143],[102,8],[245,246],[-10,199],[-141,308],[69,300],[-18,171],[-109,284],[-47,398],[-78,169],[-39,403],[44,259],[145,202],[61,168],[130,153],[73,20],[80,172],[50,-5],[116,190],[126,-1],[-80,166],[43,135],[91,42],[94,-149],[117,183],[74,23],[148,217],[-9,105],[90,28],[65,133],[129,93],[1,189],[75,150],[-76,64],[15,175],[150,363],[40,187],[-19,169],[-92,54],[-45,175],[108,138],[6,197],[170,440],[2,158],[184,175],[27,-137],[-92,-169],[85,12],[117,188],[17,121],[104,-21]],[[66869,55082],[61,60],[-48,460],[-64,162],[115,121],[-88,61],[-51,174],[80,183],[-63,152],[-43,236],[-54,24],[-132,-244],[-84,73],[-56,458]],[[66442,57002],[-57,153],[-63,-132]],[[66322,57023],[29,-154],[-32,-126],[-118,-25],[-41,110],[66,204]],[[66226,57032],[39,83],[-40,161],[71,210],[-43,163],[-130,4],[3,121],[142,133],[-88,130],[-194,-29],[-16,64],[164,200],[51,198],[-147,190],[-35,319],[-47,7]],[[65956,58986],[-1152,143],[92,-374],[142,-206],[21,-177],[162,-190],[70,-173],[24,-330],[-36,-166],[-116,-79],[-26,-281],[-1731,168],[-2103,161],[-1452,86],[-1388,59],[-1267,37]],[[55910,44178],[-65,-109],[-103,-17],[-25,-100],[38,-260],[-137,-227],[16,-163],[-147,-164],[5,-79],[-102,-88],[-136,-598],[-12,-138],[65,-47],[-18,-175],[-42,132],[-111,1],[-5,-219]],[[77907,47475],[115,37],[203,-183],[136,-72],[14,-509],[24,-64],[146,-41],[21,-100],[-47,-325],[-88,-330],[109,-202],[-16,-220],[66,-321],[122,-240],[69,128],[71,0],[72,177],[-33,150],[73,87],[104,-307],[95,61],[-46,-147],[16,-167],[-105,-272],[106,-85],[-46,-312],[94,-207],[19,-193],[173,-12],[-3,-277],[163,-323],[109,200],[81,2],[116,-187],[79,-22],[48,-188],[76,-71],[89,-306],[196,-440],[93,-73],[-5,-231],[46,-141],[-69,-113],[50,-191],[-17,-164],[49,-100],[-41,-143],[85,-65],[6,-224],[-35,-400],[39,-104],[-11,-213],[55,-367],[44,-78],[17,-223],[-51,-318],[4,-270],[-78,-230],[-79,-126],[38,-176],[184,-140]],[[82737,41088],[184,1962],[75,-66],[70,-211],[107,-184],[43,6],[42,-237],[162,-253],[50,-262],[111,-20],[142,56],[199,-699],[-9,-124],[113,49],[-69,78],[232,188],[158,10],[172,-60],[45,-165],[-41,-112],[82,-12],[51,-225],[154,34],[116,-339],[121,15],[197,247],[104,-88],[196,-3],[10,114],[-72,54],[45,175],[165,148],[60,138],[34,340],[66,28]],[[85852,41670],[-38,138],[-64,638],[-1014,-979],[58,423],[-93,406],[39,40],[-46,196],[71,97],[-228,605],[42,41],[-64,230],[-40,-58],[-130,347],[-21,-98],[-93,211],[-88,506],[-247,-265],[-66,248],[-42,365],[17,163],[-50,14],[-89,558],[5,122],[-142,361],[-298,-88],[-142,-328],[-205,-94],[-41,472],[34,157],[-63,322],[-95,220],[49,132],[-86,133],[-127,462],[41,84],[-88,473],[-105,228],[-198,576],[-47,224],[19,97],[-62,166],[66,160],[87,47],[-162,295],[7,108],[84,-14],[-20,105],[-274,411],[-83,-206],[-68,51],[-237,375],[-104,116],[-176,-176],[-25,186],[72,125],[-77,146],[-356,239],[-181,219],[-274,-328],[-72,271],[-55,24],[-173,295],[-203,74],[-222,-267],[-113,16],[-176,-318],[-16,-213],[-120,-127],[110,-174],[-81,-71]],[[79273,50584],[-264,-18],[-38,-123],[-145,-87],[-64,-126],[-98,-11],[-117,-422],[-159,-200],[-8,-133],[-102,-46],[-58,-114],[47,-213],[-95,-40],[-81,-252],[-133,-162],[-58,-161],[56,-37],[-23,-246],[56,-122],[-11,-200],[-54,-100],[-17,-296]],[[62464,42407],[68,-49],[12,-427],[-76,-159],[89,-266],[167,-125],[105,-7],[102,-135],[33,-375],[-7,-172],[153,-386],[58,-70],[21,-440],[-14,-223],[-79,-221],[-88,-32],[-129,-279],[57,-253],[33,-409],[118,-100],[76,42],[117,-132],[199,-8],[134,-60],[101,-205],[214,-62],[75,-169],[112,-98],[2,-354],[25,-214],[56,-133],[145,-154],[42,-403],[-22,-209],[31,-165],[-46,-145],[-7,-287],[-93,-144],[-297,-235],[-72,-196],[19,-173],[-97,-205],[-132,-121],[-40,-106],[-128,-104],[1,-141]],[[63502,34098],[930,-94],[1346,-114],[759,-72],[1095,-166],[515,-58]],[[68147,33594],[13,412],[-32,326],[74,350],[112,292],[129,251],[9,111],[122,511],[31,248],[150,435]],[[68662,51678],[-51,242],[-97,126],[-56,194],[62,330],[134,208],[-29,170],[-342,127],[-137,216],[-81,-80],[-111,163],[-51,405],[134,294],[50,201],[-47,301],[-151,35],[-159,-176],[-183,-65],[-137,-155],[-228,-122],[-121,28],[-141,245],[-35,185],[-72,125],[-32,267],[88,140]],[[34864,73972],[-1680,-335],[-1475,-315],[-129,1713],[-1587,-359]],[[65956,58986],[30,122],[142,231],[-55,78],[-71,-71],[-88,67],[7,127],[110,143],[-133,66],[-52,180],[-110,84],[-54,-63],[-77,88],[-3,186],[65,129],[112,-66],[9,133],[-175,209],[91,137],[-11,131],[-133,-164],[-88,56],[-10,170],[59,146],[-60,242],[-28,-238],[-92,0],[-85,190],[-13,143],[80,25],[29,-139],[79,98],[-50,312],[-98,44],[27,152],[96,8],[51,149],[-75,99],[102,171],[-62,100],[-72,-60],[-60,68],[-52,359],[-152,-43],[-25,181]],[[65061,62966],[114,160],[5,169],[-157,197],[-148,115],[-33,-190],[-75,12],[49,227],[17,268],[-28,105],[-82,-2],[-9,-278],[-87,273],[43,117],[129,-8],[20,100],[-71,152],[-72,27],[-16,-218],[-63,74],[9,212],[86,293],[-74,211],[51,190],[-24,94],[-138,148],[8,186],[-65,25],[12,-180],[-143,29],[46,221],[-41,104],[-122,61],[-20,238],[-111,-133],[-46,115],[86,119],[131,-16],[-31,177],[-138,-94],[-78,111],[13,104],[147,97],[-27,206],[-181,58],[53,146],[-69,59],[-39,-139],[-123,119],[19,80],[128,99],[-103,236],[58,202],[103,100],[-282,66],[1,182],[52,78],[90,-51],[67,161],[-108,67],[-129,-177],[-122,124],[172,186],[13,119],[-171,129],[91,247],[-89,238],[120,-63],[5,-174],[74,89],[-7,165],[-130,63],[72,136],[96,-60],[43,-229],[55,83],[-143,311],[4,200],[84,229],[55,-194],[45,63],[-83,196],[17,290],[-30,55],[-148,-26],[-30,126],[148,162],[-70,238]],[[63736,70773],[-1462,104],[-504,29],[-2150,89],[-1239,47]],[[13284,60870],[104,59],[154,243],[128,138],[67,310],[-46,127],[-78,-116],[-161,-89],[-26,-132],[34,-236],[-119,-103],[-57,-201]],[[13043,62541],[57,11],[104,480],[186,479],[-142,26],[-102,-244],[-103,-752]],[[12100,58185],[117,62],[-12,96],[-110,-35],[5,-123]],[[11421,60871],[95,16],[146,289],[-91,11],[-115,-121],[-35,-195]],[[11257,57627],[165,169],[115,35],[102,191],[118,65],[65,-104],[121,113],[-93,114],[-188,-43],[-118,53],[-260,-196],[24,-195],[-51,-202]],[[10630,57649],[146,40],[237,-5],[-20,155],[105,92],[-14,156],[-290,57],[-71,-124],[-93,-371]],[[10292,57356],[175,-64],[78,233],[-104,-13],[-149,-156]],[[8891,24760],[762,401],[603,299],[325,123],[156,103],[651,316],[410,182],[596,310],[1528,762],[1194,543],[459,198]],[[15575,27997],[-631,4183],[-205,1395],[-309,2029],[-425,2726],[-120,846],[1130,2903],[659,1703],[1490,3831],[1527,3937],[1213,3121],[1226,3147]],[[19970,66387],[-4489,-908],[20,-358],[-74,-273],[-100,39],[40,-513],[-27,-85],[79,-175],[16,-538],[-31,-444],[-215,-922],[-136,-262],[-62,-238],[-116,-124],[-84,-354],[-140,-256],[-83,-86],[-107,-236],[-120,-347],[-148,-192],[-25,148],[-145,18],[-254,-256],[-14,-135],[77,-86],[23,-135],[-38,-409],[-92,-383],[-81,-90],[-319,-95],[-124,71],[-71,-161],[-144,-97],[-238,-318],[-73,-38],[-129,-238],[-38,-440],[-141,-325],[-37,-10],[-94,-263],[-153,-222],[-198,-97],[-77,49],[-140,-150],[-145,-28],[-209,-297],[-228,-153],[-288,-103],[-310,-63],[-28,-312],[-204,-323],[142,-379],[-26,-266],[99,-302],[-32,-247],[-40,-30],[163,-554],[20,-302],[-135,-217],[-49,50],[-148,-251],[-47,-187],[98,-272],[41,-285],[-41,-201],[-160,-120],[-119,-407],[-62,-375],[-183,-239],[-28,-170],[11,-274],[-164,-487],[-2,-460],[-102,-133],[-48,-394],[-102,-372],[-143,-224],[-88,-377],[26,-244],[-5,-418],[61,-269],[-51,-116],[111,-154],[40,150],[143,-153],[152,-516],[-49,-535],[-88,-228],[-87,54],[-226,-115],[-135,-298],[-106,-463],[-52,-29],[-17,-231],[-50,-116],[10,-207],[98,-396],[-25,-321],[14,-172],[-84,-205],[136,-596],[29,-365],[199,-25],[6,309],[-46,88],[-32,265],[16,189],[152,153],[117,332],[50,9],[53,240],[77,27],[-81,-242],[-11,-329],[22,-309],[-108,-269],[27,-114],[-130,-184],[89,-213],[-2,-234],[-107,-70],[-36,-230],[114,-5],[16,-111],[116,44],[85,-94],[-28,-256],[-130,-217],[-186,51],[-66,324],[61,169],[-82,40],[-44,123],[79,230],[-97,-98],[3,247],[-97,6],[-34,-148],[-127,-274],[-84,2],[-99,-280],[-35,-200],[-84,-157],[-92,-72],[-83,117],[-55,-72],[153,-363],[52,-180],[-27,-292],[46,-116],[-51,-197],[-71,-2],[29,-218],[-44,-386],[-162,-325],[-102,-271],[-117,-669],[-225,-632],[-82,-332],[2,-147],[123,-208],[18,-136],[-37,-911],[22,-351],[69,-278],[148,-352],[0,-209],[43,-298],[-35,-175],[35,-421],[-71,-162],[-6,-191],[-104,-471],[-61,-98],[-1,-299],[-107,-164],[-198,-630],[61,-185],[10,-310],[-28,-197],[97,-276],[150,-313],[330,-589],[183,-390],[107,-357],[-50,-128],[51,-334],[140,-276],[207,-738],[41,-414],[-5,-777],[-44,-7],[-72,-226],[145,-348],[67,-409]],[[89344,39315],[-17,-88]],[[89382,38984],[-112,180],[-15,218],[98,102],[-10,332],[237,450],[101,78],[129,382],[-6,193],[72,361],[165,214],[41,235],[262,366],[108,57],[67,-85],[108,497],[131,779]],[[90758,43343],[-583,219],[-512,160],[-668,-4059],[-94,-643]],[[87032,42793],[106,-278],[268,311],[-174,459]],[[87232,43285],[-14,-228],[-81,-162],[-105,-102]],[[35766,96281],[15,-144],[179,-286],[82,-15],[69,-280],[121,-168],[14,-226],[-82,-164],[-69,-255],[-15,-226],[32,-191],[79,-62],[224,147],[30,102],[167,144],[112,154],[88,-20],[192,102],[418,337],[295,407],[100,216],[-17,427],[183,-8],[55,184],[-5,187],[171,268],[188,152],[-17,187],[-331,507],[-322,284],[-152,60],[-192,-19],[-135,221],[-119,81],[-76,138],[-110,55],[-110,214],[6,107],[-98,315],[-148,208],[-115,-197],[-170,-169],[-160,-85],[-85,-322],[70,-824],[-76,-539],[-64,-38],[-54,-455],[-183,-466],[15,-45]],[[34406,91804],[72,-328],[154,-99],[97,106],[150,419],[187,-96],[128,-117],[199,69],[0,53],[205,214],[36,129],[236,119],[35,277],[-139,261],[-187,118],[-106,-31],[-230,175],[-158,30],[-137,-134],[-46,-638],[-88,-67],[-67,80],[-197,-162],[-99,-188],[-45,-190]],[[34402,93280],[264,-283],[71,101],[-14,227],[-114,-15],[-166,67],[-41,-97]],[[33645,91867],[153,-106],[194,64],[126,196],[58,207],[-60,170],[-149,95],[-123,17],[-91,-454],[-108,-189]],[[33124,91117],[114,-264],[-14,-189],[554,147],[76,-113],[35,137],[164,43],[203,-59],[130,81],[-63,180],[-132,168],[-157,68],[-458,-206],[-330,60],[-122,-53]],[[31100,89295],[319,-28],[226,-428],[104,-47],[93,317],[181,378],[-9,267],[131,181],[29,-187],[88,8],[-34,208],[62,194],[121,208],[-123,138],[-116,-64],[-118,69],[-144,-175],[-192,-37],[-275,51],[-57,-273],[-81,-117],[-27,-166],[-85,-151],[-2,-199],[-91,-147]],[[27948,87541],[10,-131],[81,-123],[32,-160],[360,-322],[100,90],[49,-98],[178,-9],[110,69],[116,269],[-7,149],[-77,204],[4,343],[-121,214],[-121,129],[-64,-52],[-267,-43],[-135,-234],[-203,-129],[-45,-166]],[[26988,88208],[30,-141],[198,-232],[52,-175],[85,-29],[-17,406],[-174,115],[-94,321],[-91,-137],[11,-128]],[[62450,30375],[-20,166],[57,157],[-17,193],[180,186],[87,216],[-179,491],[14,357],[55,286],[9,220],[75,81],[93,550],[196,193],[359,131],[105,270],[38,226]],[[55131,41927],[24,-92],[-64,-194],[-90,-69],[-78,-210],[78,-151],[-8,-365],[52,-54],[-41,-232],[20,-125],[-69,-142],[11,-305],[-35,-256],[66,-99],[-110,-15],[-33,-388],[66,26],[20,-131],[-115,-83],[41,-469],[-137,-64],[20,-153],[-58,-112],[-43,124],[-71,-147],[25,-105],[-58,-182],[31,-69],[-33,-211],[80,-420],[-57,-53],[-96,-341],[54,-254],[-165,-88],[7,-157],[-76,-38],[8,-251],[-124,-194],[-22,-211],[54,-56],[-74,-303],[-80,-166],[4,-188],[58,-177],[-25,-145],[-81,-26]],[[73897,45707],[119,-187],[113,159],[149,72],[152,-108],[59,-120],[65,61],[22,167],[149,51],[79,102],[42,188],[109,220],[61,328],[252,83],[154,-98],[214,71],[39,118],[108,87],[30,140],[187,75],[74,-235],[156,-108],[99,85],[179,25],[155,195],[72,-131],[167,-25],[37,-190],[95,-116],[28,-123],[88,-22],[137,-152],[146,630],[75,71],[131,-9],[223,282],[45,182]],[[79273,50584],[-584,1209],[-157,122],[-164,194],[-273,395],[23,287],[-93,166],[-140,153],[32,179],[-25,164],[-150,158],[-178,54],[-82,303],[4,149],[-102,38],[-189,153],[-192,215],[-190,52],[-192,208],[-42,95]],[[76579,54878],[-21,75],[-526,89],[-982,182],[-531,74],[-324,10],[-303,36],[-515,140],[-609,86],[-356,33],[-535,23],[-310,39],[-95,90],[-50,-65],[-926,192],[-548,92],[-756,144],[0,-118],[-393,1],[93,519],[-29,173],[-1387,166],[-827,87],[-207,56]],[[66322,57023],[-96,9]],[[89393,45821],[-90,33]],[[89303,45854],[-29,-300],[100,4],[19,263]],[[89139,45236],[-20,-259],[63,-66],[132,451],[-175,-126]],[[90758,43343],[1,502],[-23,60],[-49,870],[-48,291]],[[90639,45066],[-635,369],[-57,193]],[[89947,45628],[-86,-70],[-119,59],[-105,254],[-68,-2],[-24,-186],[16,-243],[91,-130],[-123,-18],[62,-254],[-127,17],[-64,133],[-30,-281],[153,-148],[-146,-154],[46,-397],[-77,108],[-48,386],[-93,-197],[63,-102],[-88,-166],[-48,296],[50,76],[-10,156],[-58,-21],[-93,113],[-56,-22],[-146,-251],[-261,-586],[118,-87],[-75,-232],[-1,-159],[64,-98],[51,68],[61,-111],[22,113],[134,-16],[117,50],[-127,-182],[-110,-8],[-106,-95],[-124,-214],[-16,97],[-83,-35],[12,194],[-46,-11],[-18,-335],[70,-336],[107,117],[39,-83],[-67,-365],[-54,-36],[-85,188],[-74,13],[28,154],[-70,80],[-16,-344],[54,-416],[67,201],[131,-10],[52,-123],[-55,-164],[43,-200],[-94,63],[26,289],[-66,-51],[-13,-241],[-101,-179],[45,-474],[49,-295],[82,-187],[183,-48],[-64,-51],[69,-268],[-62,2],[21,-420],[-200,154],[-17,167],[117,149],[-63,70],[-165,387],[-57,-84],[22,-191],[-56,-74],[-19,330],[62,91],[-24,163],[-76,-295],[-94,-16],[83,282],[-75,181],[77,46],[-137,293],[-104,-18],[-14,-84],[-154,-61],[120,236],[205,159],[19,304],[95,130],[-117,194],[55,239],[-59,10],[-22,192],[61,75],[-86,311],[76,143],[12,177],[64,224],[32,331],[61,160],[221,296],[-23,264],[-86,7],[43,126],[76,-100],[55,40],[-25,155],[44,149],[147,260],[-22,81],[67,277],[-202,-174],[-56,-197],[-49,47],[12,188],[-105,-78],[-64,-187],[-76,-80],[-151,-26],[-212,65],[-28,-163],[-127,-262],[71,385],[-151,-94],[-118,-178],[-113,-348],[-287,436],[-83,-61],[-85,-361],[31,-287],[146,-377]],[[87148,43931],[-21,-145],[133,-222],[-28,-279]],[[87032,42793],[-58,-98],[-184,-22],[-6,-133],[-181,-107],[-212,20],[-116,-137],[-2,-240],[56,-201],[-140,-86],[-73,-148],[-81,41],[-183,-12]],[[72376,19856],[67,-9],[39,130],[375,129],[-83,211],[-132,-33],[-266,-428]],[[71033,20248],[123,104],[-12,121],[-115,-102],[4,-123]],[[70925,21159],[19,-326],[43,-121],[-3,-187],[103,3],[51,546],[-100,163],[-113,-78]],[[70780,20656],[76,-41],[-20,182],[-56,-141]],[[70569,21819],[78,44],[14,191],[-92,-235]],[[70356,23024],[27,-79],[111,61],[18,289],[-57,6],[-84,-143],[-15,-134]],[[70242,23544],[52,-156],[65,57],[-78,144],[-39,-45]],[[69268,21380],[125,190],[-41,80],[-84,-270]],[[69896,36148],[165,-256],[144,-313],[170,-897],[180,-557],[73,-415],[49,-481],[15,-927],[-61,-761],[-49,-365],[-106,-446],[-226,-656],[-179,-738],[-80,-223],[-48,-254],[11,-130],[93,-282],[33,-286],[-86,-570],[-101,-318],[121,-259],[107,-519],[97,-386],[16,-294],[-16,-236],[26,-327],[-72,-301],[21,-227],[218,-175],[18,-112],[-21,-520],[136,-26],[61,-252],[104,95],[96,-59],[71,-403],[92,-177],[75,-376],[117,-112],[22,123],[-118,213],[93,246],[-110,348],[66,-78],[20,244],[-36,29],[-19,348],[53,237],[54,-15],[69,-479],[-55,-11],[51,-313],[66,-78],[-17,555],[-72,159],[-13,195],[80,30],[162,-734],[-2,-716],[-63,-444],[18,-140],[231,-376],[99,-71],[176,0],[174,-157],[-17,-107],[-190,-20],[-84,-138],[-72,-340],[54,-242],[87,-103],[94,-315],[-121,-98],[337,-17],[30,-168],[360,261],[159,159],[70,-81],[132,-8],[185,75],[154,246],[47,210],[316,6],[178,218],[134,-7],[208,187],[159,-54],[205,295],[-42,98],[107,296],[75,114],[105,383],[-214,-132],[-74,166],[43,82],[-4,216],[93,169],[122,59],[46,185],[30,317],[47,113],[-31,467],[28,207],[22,766],[-48,41],[-80,251],[-131,25],[-50,191],[-6,661],[-146,111],[12,161],[-235,72],[-105,297],[5,545],[-32,109],[94,281],[99,86],[47,-122],[37,117],[116,44],[86,108],[52,-65],[135,-428],[109,-109],[-50,-156],[67,-453],[37,159],[121,-229],[-128,-71],[142,-24],[74,-233],[126,-63],[202,-177],[26,-120],[164,-137],[210,133],[96,108],[129,379],[88,182],[63,339],[62,516],[150,605],[93,800],[99,453],[157,448],[-51,208],[-6,461],[38,172],[-41,610],[-113,256],[-61,-10],[-62,156],[-9,-215],[-59,-76],[119,-301],[-128,-53],[-145,173],[-23,152],[72,187],[-82,3],[-51,184],[29,275],[-57,398],[-217,184],[-80,326],[37,576],[-84,104],[16,231],[-109,286],[-89,75],[-12,177],[-63,50],[-76,335],[46,177],[-47,42]],[[75446,35165],[-1481,426],[-730,191]],[[64918,13379],[106,-237],[496,-525],[39,0],[216,-347],[159,-157],[35,32],[148,-118],[-35,110],[-179,324],[2,98],[-128,196],[-335,265],[-149,189],[141,48],[-310,277],[-100,1],[-106,-156]],[[63336,18545],[380,-342],[205,-132],[159,-269],[99,-222],[86,-97],[177,-76],[85,45],[158,-106],[151,-26],[245,-256],[185,-369],[200,-37],[89,-182],[44,-229],[181,-234],[152,-286],[122,-94],[103,-195],[111,-311],[344,-378],[303,-126],[270,-16],[136,107],[15,126],[-155,105],[-215,22],[37,166],[-169,193],[-150,334],[-73,36],[-19,245],[-84,74],[-7,120],[-80,123],[-13,192],[-108,194],[-36,542],[57,268],[93,-299],[199,-391],[147,-162],[-6,88],[-131,242],[-52,210],[152,-298],[140,-81],[149,34],[130,-33],[252,133],[21,127],[154,50],[64,101],[29,196],[100,146],[39,151],[102,155],[92,23],[43,321],[170,47],[231,-67],[131,-165],[63,17],[57,199],[104,100],[105,-3],[35,-159],[80,-4],[66,130],[9,-230],[-49,-167],[83,-78],[45,96],[-19,186],[98,70],[160,-365],[177,-133],[302,-416],[64,59],[331,-199],[129,14],[319,-35],[160,-52],[326,-343],[125,-63],[169,-11],[168,-78],[-98,295],[10,368],[31,216],[-41,72],[75,165],[117,-60],[222,120],[175,-195],[74,-4],[71,253],[198,-140],[49,-241],[254,-53],[34,-134],[150,-18],[34,93],[-29,335],[69,383],[25,306],[-155,41],[-34,223],[193,-58],[47,103],[118,48],[-58,163],[143,199],[71,-11],[127,113],[26,-124],[88,96],[15,-218],[-92,-180],[84,30],[207,-96],[87,36],[97,279],[100,81],[-41,222],[-75,81],[-157,-91],[-168,88],[-183,-98],[-208,80],[-150,-43],[-332,157],[-65,107],[-181,-178],[-70,86],[-65,-228],[-69,37],[-80,-84],[-49,108],[26,201],[-76,122],[83,339],[-66,81],[-140,-112],[-24,-96],[-125,-99],[-152,-260],[-241,-124],[-69,36],[-225,-139],[-68,53],[-218,7],[-112,254],[-78,258],[-50,36],[-180,-43],[-124,72],[-32,183],[-211,-120],[-226,37],[-121,102],[-63,149],[-36,452],[-81,0],[-19,103],[-125,80],[-32,176],[-68,24],[6,146],[-62,38],[29,197],[-151,-138],[-20,-130],[74,-82],[37,-313],[74,2],[68,-298],[-27,-138],[-67,-22],[-83,263],[-217,-64],[24,183],[-66,168],[-16,187],[-158,128],[-65,-28],[-28,-397],[-54,-100],[-54,110],[19,396],[-166,206],[-119,440],[-88,416],[15,63],[-92,249],[-94,382],[-198,572],[38,136]],[[67974,23591],[-114,-32],[-129,-224],[50,-493],[54,-167],[-82,-182],[-86,169],[-127,12],[-69,-90],[11,-222],[71,-124],[23,-160],[-69,-234],[51,18],[22,-184],[-80,-134],[61,-109],[-55,-138],[-152,-161],[-92,17],[-57,-134],[-151,59],[-71,-118],[86,-188],[-54,-211],[-230,-125],[-74,56],[-138,-136],[-51,69],[-151,-144],[-150,29],[-14,111],[-198,-126],[-54,51],[-119,-78],[-390,-326],[-1620,-572],[-86,-384],[-109,-256],[-135,-31],[-25,-119],[-92,89],[-43,-124]],[[69164,80888],[196,-33],[-82,124],[-114,-91]],[[68657,80846],[107,-58],[252,112],[-163,6],[-196,-60]],[[68245,81011],[181,-55],[-144,109],[-37,-54]],[[67912,80966],[144,-14],[-40,127],[-104,-113]],[[65061,62966],[1584,-168],[1108,-142],[1127,-155]],[[69359,80276],[-202,212],[-65,-75],[-85,58],[-39,-93],[-124,-4],[-157,76],[-130,-126],[-10,94],[-204,-101],[-305,137],[-389,297],[15,-181],[-72,-89],[-94,100],[77,180],[-164,206],[-45,270],[-146,35]],[[67220,81272],[-88,12],[-98,-170],[-59,-224],[18,-200],[-113,-243],[-7,-175],[-152,-191],[-92,-189],[-41,-288],[-68,-96],[36,-250],[-13,-162],[48,-101],[70,-587],[47,-197],[-48,-27],[-1305,147],[-1188,115],[-1100,90],[134,-162],[-9,-119],[-115,-235],[63,-177],[-111,-206],[2,-125],[128,12],[104,-63],[17,-145],[-143,-320],[60,-135],[61,236],[71,15],[10,-120],[-84,-179],[-13,-332],[123,-43],[77,-121],[-31,-104],[-117,52],[-64,-100],[34,-125],[132,120],[54,-39],[-3,-350],[76,-122],[150,-28],[21,-85],[-192,4],[41,-315],[132,-18],[158,-263],[-20,-164],[206,-232],[-166,-151],[60,-70],[59,103],[108,-201],[54,-231],[-86,-75],[1,209],[-207,-14],[-10,-247],[263,-174],[54,81],[42,-153],[-18,-167],[80,16],[72,-151],[-178,-75],[-20,-199],[50,-71],[-55,-109],[-65,72],[-168,-176],[23,-165],[196,148],[19,-57],[-179,-213],[137,-267],[-46,-88],[-40,155],[-126,96],[-70,-208],[128,-205],[41,-137],[-192,-51],[-14,-265],[30,-127],[131,-181],[-40,-333],[-91,-5],[14,201],[-35,100],[-120,-99],[81,-291]],[[25191,4391],[1222,445],[1212,407],[994,341],[998,311],[2207,658],[728,200],[1157,300],[1795,442],[1116,254],[1171,251],[1418,281],[1225,222],[1144,194],[1223,183]],[[30899,23738],[-109,-106],[-18,-168],[-112,-206],[17,-160],[-119,-426],[-100,-136],[-47,149],[-114,-20],[5,165],[-104,206],[69,225],[-54,31],[-124,-124],[-50,40],[-137,-83],[-24,58],[-179,82],[-56,-229],[-183,54],[-78,-62],[-126,64],[-116,-82],[-79,-159],[-67,-22],[-129,116],[-76,292],[-122,-161],[-49,51],[-71,-106],[-172,-55],[-84,-98],[-105,44],[-110,208],[18,179],[-57,60],[-50,-162],[-162,-264],[-17,-185],[41,-100],[-89,-324],[55,-57],[1,-227],[-40,-82],[-22,-300],[-160,-245],[-163,97],[-8,-139],[-135,-221],[-28,-332],[84,-18],[28,-377],[-92,-161],[19,-80],[-89,-80],[-13,-248],[-106,-278],[-49,-294],[30,-252],[-51,-260],[56,-237],[-106,-35],[77,-292],[-124,-203],[-110,-271],[-55,27],[-17,167],[-84,54],[-134,229],[-97,49],[-81,-63],[-42,181],[-126,100],[-105,-232],[-47,-216],[-137,-44],[38,-167],[-21,-136],[107,-77],[15,-202],[-72,-226],[136,-253],[137,43],[46,-104],[-43,-222],[50,-62],[-84,-184],[-11,-203],[71,-171],[-81,-136],[28,-156],[107,12],[3,-362],[58,-17],[58,-211],[9,-196],[93,-185],[-16,-222],[82,-9],[106,-504],[-51,-103],[-100,-1],[-76,87],[-221,-106],[-23,-161],[44,-94],[-104,-163],[-121,127],[1,-318],[-135,-162],[-67,-220],[53,-216],[-84,-232],[-71,-15],[-26,-304],[-115,-372],[-72,-101],[-77,-437],[-122,-75],[-155,-207],[-15,-186],[-252,-447],[170,-13],[-59,-117],[3,-163],[-60,-128],[104,-119],[-43,-245],[38,-149],[-124,-260],[-2,-244],[-69,-134],[-132,-553],[-25,-25],[474,-3787]],[[92968,16433],[-28,-214],[75,-267],[2,-294],[-87,-84],[88,-34],[115,-325],[115,156],[149,-51],[38,-256]],[[95336,23105],[-71,511],[3,268]],[[92763,25585],[-178,-247],[-58,-278],[-6,-275],[83,-104],[25,-163],[-59,-150],[17,-265],[-53,-83],[-27,-432],[32,-230],[-55,-173],[-15,-443],[-44,-119],[-5,-248],[65,-142],[-17,-389],[115,-321],[-21,-327],[82,-438],[-49,-125],[77,-417],[-107,-343],[1,-193],[-49,-107],[26,-207],[187,-190],[132,-86],[-16,-102],[147,-185],[60,-277],[88,-145],[-60,-185],[55,-65],[-32,-250],[-65,-79],[-122,-316],[62,-158],[1,-303],[58,-218],[-109,-241],[39,-133]],[[94259,30777],[16,-81],[139,-125],[-101,193],[-54,13]],[[94010,31176],[83,-93],[-47,166],[-36,-73]],[[91272,34396],[57,203],[-100,332],[-188,184]],[[86010,23729],[65,-193],[-5,156],[-60,37]],[[85877,23714],[49,-155],[56,-2],[-105,157]],[[81282,31551],[171,-230],[306,-532],[101,-266],[159,-216],[143,-129],[36,-245],[64,-142],[6,-176],[191,-247],[85,-209],[-33,-214],[-162,-397],[-139,-71],[-30,-300],[-108,-20],[26,-264],[-93,-436],[355,-325],[301,-251],[225,-138],[407,-109],[203,-91],[206,-42],[362,5],[189,163],[209,106],[209,-235],[438,-195],[132,21],[129,-43],[67,-106],[166,-128],[137,-185],[75,-297],[298,-536],[184,-26],[89,-96],[30,-191],[-24,-284],[-123,-562],[-125,-89],[40,-185],[77,-62],[23,101],[102,-175],[-32,-132],[-130,-112],[-113,90],[4,-152],[-95,-84],[-85,29],[-24,-261],[45,-403],[103,-55],[110,-181],[-15,-156],[219,-341],[128,-127],[113,-294],[45,-344],[314,-859],[331,-759],[240,-340],[118,-254],[99,-38],[110,-170],[159,38],[68,-63],[540,-182],[290,-114],[413,-204],[811,-371]],[[90152,17663],[56,344],[-21,322],[86,96],[-13,253],[55,578],[163,283],[55,262],[-29,233],[87,350],[-3,121],[-76,241],[4,574],[51,50],[53,349],[85,197],[-1,206],[93,166],[-49,557],[29,192],[53,37],[11,-221],[108,-57],[29,140],[111,197],[127,1001],[190,1589],[-1,141],[71,192]],[[91777,32906],[-23,153],[-101,185],[20,260],[-77,24],[78,174],[71,-327],[98,-15],[18,-144],[207,-164],[9,-116],[143,45],[-10,-130],[93,70],[213,-3],[118,-144],[-7,-145],[160,-52],[436,-197],[216,-158],[218,-373],[151,-415],[179,-143],[-91,309],[118,134],[118,-14],[37,-101],[117,187],[200,-302],[-1,-93],[150,-89],[-1,98],[-344,472],[-398,593],[-259,324],[-289,329],[-416,554],[-232,238],[-154,105],[-39,-33],[-354,349],[-358,112],[-246,290],[-2,-130],[-131,58],[-76,-169],[22,-144],[-64,-99]],[[76665,35383],[90,-78],[-29,133],[-61,-55]],[[76474,35258],[-5,-239],[90,37],[-85,202]],[[75446,35165],[21,96],[121,51],[76,-76],[173,183],[287,124],[127,191],[115,67],[117,-160],[25,-159],[94,160],[111,-32],[1,98],[201,295],[238,125],[183,-221],[173,-73],[91,-140],[282,-270],[129,61],[319,-65],[213,-341],[219,-497],[225,-398],[62,-21],[357,-458],[174,-105],[582,-585]],[[12669,9647],[108,15],[52,185],[-35,171],[65,175],[135,74],[197,-76],[73,51],[252,529],[6,212],[52,305],[-14,364],[-52,203],[21,128],[-68,457],[109,209],[276,294],[141,78],[56,138],[125,62],[116,-63],[127,39],[334,-121],[85,-114],[92,-10],[107,102],[324,24],[178,217],[103,0],[164,210],[10,262],[81,24],[93,-108],[218,66],[65,84],[77,-78],[276,-49],[99,-74],[110,79],[59,178],[154,73],[307,31],[81,-106],[164,-18],[180,-75],[259,22],[205,53],[97,-150],[89,-40],[116,126],[367,25],[194,110],[202,-96],[44,-63],[1301,537],[1831,740]],[[22477,15058],[37,321],[108,434],[103,25],[30,160],[108,55],[58,129],[-6,270],[68,282],[-181,345],[-32,174],[-61,55],[-189,404],[-176,645],[-140,259],[-97,111],[-37,157],[18,187],[-231,496],[-225,137],[-208,542],[-28,134],[-135,136],[-14,217],[-58,98],[52,262],[-70,120],[62,176],[116,-33],[62,216],[120,23],[-19,144],[70,49],[25,163],[-83,175],[-76,28],[36,266],[-123,370],[-28,176],[-64,10],[-34,187],[-891,6782]],[[20344,29945],[-965,-370],[-1406,-558],[-315,-116],[-819,-351],[-826,-368],[-438,-185]],[[8891,24760],[-103,-269],[-48,-279],[36,-246],[-32,-298],[25,-314],[63,-403],[160,-458],[19,-325],[-47,-96],[1,-228],[-61,-49],[11,-412],[254,-509],[112,-406],[96,-226],[86,-298],[-8,-147],[125,-117],[141,-268],[161,-401],[266,-871],[264,-1048],[157,-761],[125,-443],[36,-220],[141,-558],[100,-638],[97,-228],[245,-852],[107,-483],[32,-281],[69,-268],[14,-228],[42,-61],[126,-540],[35,-266],[-36,-133],[80,-259],[37,-263],[-14,-161],[104,-70],[35,-110],[40,-404],[-24,-441],[26,-34],[96,314],[66,81],[7,-125],[173,-4],[43,118],[95,-68],[69,47],[134,-106]],[[76579,54878],[704,-150],[28,11],[996,-234],[1339,-335],[13,-89],[486,-108],[-45,105]],[[25159,31686],[238,100],[2765,805],[30,27],[1083,301],[752,200]],[[23019,50594],[40,-393],[386,-3395],[213,-1895],[827,-7291],[133,-1140],[498,-4382],[43,-412]],[[90639,45066],[-114,645],[-46,106],[-99,-29],[-68,171],[-79,409],[-28,513],[42,151],[-91,444],[50,26],[-78,489],[-89,187],[29,184],[-12,216],[-87,298],[-116,68],[-30,120],[-27,-248],[-130,-347],[-15,-289],[29,-155],[-21,-251],[34,-757],[117,-595],[-40,-100],[121,-104],[65,-242],[-53,-134],[-83,18],[127,-232]],[[89393,45821],[-48,170],[-42,-137]],[[87148,43931],[-114,109],[-75,-59],[11,186],[-65,403],[-6,179],[126,388],[196,-93],[123,-130],[56,-147],[65,80],[-4,249],[142,168],[18,161],[234,118],[132,-59],[79,87],[27,-81],[152,-25],[40,137],[129,114],[53,151],[86,20],[113,144],[132,30],[210,154],[1,221],[-86,112],[66,463],[-49,148],[91,46],[-108,140],[-215,-142],[-54,112],[-185,-433],[-225,-133],[-213,-329],[-69,-11],[-43,-139],[-95,-67],[4,102],[203,228],[168,327],[117,126],[104,8],[123,343],[96,106],[157,-62],[57,102],[199,8],[-84,197],[65,73],[77,-79],[77,211],[41,224],[-17,309],[-131,-166],[-152,-96],[-35,154],[148,267],[60,23],[-237,181],[52,113],[130,-82],[21,248],[83,-70],[118,131],[56,146],[-19,335],[-69,-30],[-99,242],[-121,-212],[-196,-127],[-112,-126],[5,-162],[-106,-202],[-137,76],[-36,100],[-80,-128],[-116,1],[-34,-73],[-117,167],[82,82],[185,-47],[116,147],[57,-10],[28,-210],[90,319],[-1,180],[54,92],[106,-9],[207,228],[33,210],[164,-72],[48,-109],[79,120],[-50,-275],[100,-56],[66,53],[259,49],[131,-134],[48,61],[143,538],[163,455],[80,287]],[[14862,6382],[74,-321],[94,-198],[34,192],[-43,213],[83,114],[-146,108],[-101,-10],[5,-98]],[[15406,1954],[23,-124],[84,180],[-102,38],[-5,-94]],[[15419,1242],[35,-30],[74,424],[-70,-175],[-39,-219]],[[15303,1766],[52,-72],[38,176],[-91,66],[1,-170]],[[15041,3040],[217,-393],[42,-164],[85,2],[0,229],[80,259],[-85,20],[-50,-89],[-212,227],[124,29],[36,161],[3,263],[-31,54],[-3,338],[115,-252],[57,222],[73,77],[-12,314],[-73,159],[-67,-75],[-15,-298],[-121,24],[24,-103],[-73,-172],[62,-284],[2,-190],[-92,-29],[-86,-329]],[[15092,837],[197,290],[-144,-111],[-53,-179]],[[14901,1109],[101,-37],[-11,104],[-90,-67]],[[15060,0],[83,139],[-90,-41],[7,-98]],[[14646,1390],[52,-76],[102,50],[51,235],[84,71],[-52,-259],[244,-242],[60,35],[160,276],[-122,109],[20,233],[-44,189],[-67,50],[-34,241],[-92,-29],[-49,-193],[-162,-77],[-95,-176],[-56,-437]],[[14656,1030],[70,51],[83,244],[-153,-295]],[[23764,3862],[-308,2316],[-212,1520],[-374,2878],[-370,2808],[-64,290],[82,238],[33,488],[-89,247],[15,411]],[[12669,9647],[-176,-120],[-59,-167],[-69,68],[-63,-67],[-132,107],[-46,-46],[-71,-291],[-48,-51],[-121,130],[111,-417],[71,-389],[70,-510],[37,210],[-68,308],[-52,442],[91,47],[-8,-268],[34,-190],[53,107],[111,-181],[-33,-413],[78,-104],[162,-98],[-67,-161],[-51,67],[-143,23],[-108,-231],[35,-238],[7,-374],[63,50],[-16,125],[197,-118],[191,-2],[-40,-114],[-166,-162],[16,-147],[-133,-115],[-56,52],[-11,302],[-93,21],[101,-504],[37,-409],[14,-443],[-76,-311],[71,-718],[23,-785],[-52,-120],[12,-182],[-72,-233],[-77,-128],[-17,-312],[67,-497],[-17,-293],[49,-31],[161,-495],[-71,-237],[119,25],[111,150],[210,440],[136,192],[53,-4],[168,268],[-19,57],[159,222],[169,129],[233,70],[141,198],[223,89],[46,130],[212,102],[153,-121],[114,236],[15,163],[181,49],[-30,84],[61,107],[-29,187],[56,5],[45,-155],[-55,-143],[24,-125],[188,-35],[0,104],[-94,69],[24,183],[135,-166],[-12,334],[-83,-5],[38,213],[-2,211],[54,96],[-133,11],[-15,137],[-105,70],[-49,191],[-119,203],[-19,-72],[120,-324],[-89,16],[-138,337],[-148,163],[-293,474],[-136,337],[181,110],[197,-53],[78,-97],[-303,66],[-78,-130],[344,-596],[201,-153],[162,-6],[61,-226],[119,-187],[146,-158],[51,22],[7,-324],[89,181],[-42,619],[-94,-54],[40,165],[-46,205],[-2,245],[-92,84],[-25,117],[67,85],[-77,125],[-76,258],[10,78],[-89,183],[18,140],[-123,208],[-98,-311],[89,-284],[-102,94],[-68,180],[11,166],[103,173],[-61,24],[-78,228],[-75,-208],[-49,-382],[85,-84],[36,-189],[-143,212],[-1,244],[-58,140],[76,-17],[22,234],[131,141],[108,-199],[65,-9],[163,-369],[7,-96],[100,246],[62,-176],[163,-37],[27,-512],[-30,-388],[132,-67],[-94,-242],[125,-216],[21,-300],[99,-105],[110,-351],[134,-43],[24,-198],[-59,-108],[-76,-336],[42,-223],[-24,-175],[-84,-40],[-60,131],[17,234],[77,311],[-114,-327],[-62,-44],[-6,-200],[50,-236],[109,-28],[72,109],[72,-107],[-30,-166],[-119,-209],[-43,-184],[25,-119],[-166,30],[-38,-202],[55,-176],[107,5],[60,81],[19,172],[96,32],[11,-365],[89,23],[46,-94],[-74,-258],[8,-220],[64,-118],[-50,-123],[-90,-26],[-133,85],[62,-130],[-82,-88],[23,-251],[-70,-161],[83,-139],[-97,-80],[125,-187],[942,460],[493,255],[749,337],[735,342],[1027,463],[1251,539],[1349,560],[1684,671]],[[68914,22457],[20,-269],[174,29],[-99,338],[-95,-98]],[[68290,23143],[62,-57],[22,205],[-84,-148]],[[63207,16893],[34,-273],[63,-21],[-19,246],[-78,48]],[[63131,17383],[115,-121],[-23,124],[-92,-3]],[[62931,17215],[183,-183],[-24,205],[-134,46],[-25,-68]],[[62774,17559],[121,-235],[6,63],[-127,172]],[[62791,17080],[85,170],[-74,18],[-11,-188]],[[62728,16857],[189,-134],[70,174],[69,-120],[17,143],[-85,38],[-90,170],[-170,-271]],[[62735,17769],[88,-67],[169,-299],[76,96],[-160,124],[32,111],[-90,22],[-107,133],[-8,-120]],[[62419,17032],[80,-64],[-1,145],[-79,-81]],[[60864,18223],[114,93],[188,-53],[371,-286],[97,-7],[453,-451],[64,74],[191,-186],[95,-207],[81,31],[125,-111],[141,251],[-65,254],[-124,266],[56,211],[-91,165],[-48,239],[72,45],[223,-260],[22,-178],[244,329],[263,103]],[[67974,23591],[-46,200],[6,261],[-293,143],[-1,230],[-104,261],[-50,281],[-59,147],[-26,323],[23,104],[-62,172],[64,97],[122,-6],[31,-179],[140,-232],[81,-61],[41,-296],[152,-460],[262,-249],[56,117],[-10,-170],[55,-328],[131,-381],[24,-333],[68,5],[113,-126],[3,-254],[73,-149],[116,-28],[12,303],[-74,-12],[3,511],[-108,135],[-19,179],[-69,180],[35,137],[-64,140],[24,82],[-93,125],[-50,170],[-56,404],[-151,600],[-76,899],[77,341],[-8,193],[-187,318],[-99,879],[29,265],[50,158],[8,338],[-101,404],[-20,455],[-79,272],[-48,559],[65,299],[-25,132],[67,232],[-40,130],[20,158],[84,206],[2,211],[50,201],[102,179],[-11,298],[-43,363],[56,470]],[[86724,62866],[-293,292],[-156,271],[-186,463],[-122,454],[-82,220],[-73,434],[-10,489],[18,309],[-88,217],[-139,179],[-23,332],[-119,4],[-105,85],[-85,-108],[-96,142],[-44,253],[87,17],[5,107],[-198,277],[-40,185],[-206,258],[-81,-103],[-66,150],[119,41],[-12,201],[-149,218],[-35,141],[-140,51],[-122,132],[-50,165],[-46,-48],[-207,361],[-65,-52],[-82,123],[-29,-99],[-89,30],[-10,143],[128,241],[-42,287],[-178,228],[-119,103],[-24,-133],[-142,-94],[-84,152],[99,72],[108,165],[-76,241],[-151,239],[-83,62],[-70,205],[43,56]],[[23764,3862],[1427,529]],[[25159,31686],[-900,-304],[-373,-158],[-328,-88],[-455,-160],[-1702,-617],[-1057,-414]],[[90152,17663],[759,-342],[827,-305],[1230,-583]],[[68478,81607],[101,196],[44,242],[-12,424],[-71,256],[53,-491],[-17,-291],[-98,-336]],[[67590,81695],[275,-427],[-59,263],[111,185],[-101,177],[-25,-152],[-188,26],[-13,-72]],[[67119,83759],[120,-47],[-63,146],[-57,-99]],[[65722,85543],[62,-82],[83,194],[-59,51],[-86,-163]],[[65368,85634],[275,84],[-133,37],[-142,-121]],[[64997,85816],[172,-79],[21,53],[-186,85],[-7,-59]],[[62472,83979],[171,-172],[155,9],[269,254],[-98,125],[-2,132],[-151,54],[-366,-331],[22,-71]],[[67220,81272],[-116,129],[-60,-15],[-109,197],[-6,124],[-83,61],[27,129],[-199,-36],[-70,157],[45,220],[123,19],[89,-92],[-21,196],[103,140],[180,-70],[33,-303],[-18,-133],[162,-196],[17,-149],[218,138],[-112,123],[4,112],[106,44],[30,197],[99,-57],[71,-279],[109,68],[-17,183],[-95,14],[-75,153],[156,-28],[-22,99],[-245,128],[134,176],[76,-81],[-46,200],[-161,-103],[-74,190],[2,326],[-61,25],[-53,-278],[-73,6],[-8,300],[-252,50],[128,111],[3,107],[-165,-144],[90,178],[-81,56],[95,218],[139,21],[85,141],[50,256],[248,-51],[122,97],[11,-98],[151,280],[72,-153],[182,341],[56,230],[123,-108],[49,129],[-164,72],[-11,107],[113,-1],[-46,177],[-80,-69],[-70,237],[18,228],[-153,-99],[-3,-127],[-71,-97],[-202,478],[-103,146],[130,-487],[63,-76],[-12,-177],[63,-85],[-14,-166],[-74,-68],[-51,282],[-115,20],[-156,-315],[-247,-113],[-70,-139],[-399,-64],[-78,54],[-323,507],[-309,410],[-27,-164],[-86,-45],[23,-147],[-91,-318],[-93,-137],[-96,280],[10,-251],[-81,-175],[-84,218],[-95,-36],[-51,77],[-86,-61],[22,190],[-79,156],[-22,177],[-57,-15],[-30,190],[-58,-36],[-142,166],[-21,208],[-109,-43],[10,-149],[-208,-310],[-74,50],[-185,-53],[-72,-101],[-138,-9],[-157,-88],[-115,-185],[82,-55],[46,-194],[142,200],[45,-79],[5,224],[100,49],[-32,-340],[-171,-197],[-4,-138],[-77,-14],[-55,138],[-90,52],[5,-135],[-66,28],[78,-227],[-76,-126],[-196,181],[-76,-258],[-67,34],[-54,-383],[-185,11],[39,-112],[4,-281],[-226,-36],[-222,177],[-53,-18],[-1,-166],[50,-138],[46,49],[-9,-195],[-114,-18],[-92,81],[-66,-63],[-11,133],[-261,250],[-42,-104],[-122,62],[65,199],[128,18],[-62,103],[60,201],[141,-78],[-57,110],[47,62],[-226,36],[-178,173],[-138,40],[-571,-171],[-248,-125],[-406,-308],[-165,-97],[-285,-116],[-230,-6],[-98,53],[-250,-14],[-515,148],[-184,182]],[[95592,29215],[-93,200],[-84,-312],[-51,-295],[-35,41],[85,503],[-94,39],[2,118],[-97,21],[57,-491],[-9,-165],[95,-265]],[[95164,29555],[-30,-368],[40,-17],[41,273],[-51,112]],[[94994,30830],[25,-283],[79,270],[-104,13]],[[95301,28498],[6,151],[-60,167],[-48,-240],[-205,-230],[57,371],[-96,31],[78,62],[52,269],[-66,66],[75,148],[34,232],[-46,423],[-221,142],[-138,179],[-206,192],[-13,-50]]]} diff --git a/app/update.py b/app/update.py new file mode 100644 index 0000000..a1a0f20 --- /dev/null +++ b/app/update.py @@ -0,0 +1,379 @@ +"""Refresh the map data from English Wikipedia. + +Usage (inside the container): python update.py +Mode: UPDATE_MODE=auto|election|current (auto = election results between Election Day and January 3, else current officeholders). +Each category (senate, house, governors, legislatures) is checked before it replaces the stored file; +if reading or checking fails, the previous data for that category is kept and a warning is recorded. +""" +import datetime as dt +import json +import os +import sys +import time +import traceback + +import common as C +import parsers as P +from wiki import Client, WikiError + +LOCK = ".update.lock" +LOCK_STALE_SECONDS = 300 # the running update touches the lock at every step, so an older lock is left over from a crash + + +class Busy(Exception): + pass + + +def acquire_lock(): + C.ensure_dir() + p = C.path(LOCK) + try: + fd = os.open(p, os.O_CREAT | os.O_EXCL | os.O_WRONLY) + except FileExistsError: + try: + age = time.time() - os.path.getmtime(p) + except OSError: + age = 0 + if age < LOCK_STALE_SECONDS: + raise Busy("An update is already running.") + os.unlink(p) + fd = os.open(p, os.O_CREAT | os.O_EXCL | os.O_WRONLY) + with os.fdopen(fd, "w") as f: + f.write(f"{os.getpid()} {dt.datetime.now(dt.timezone.utc).isoformat()}\n") + + +def release_lock(): + try: + os.unlink(C.path(LOCK)) + except OSError: + pass + + +def lock_held(): + p = C.path(LOCK) + return os.path.exists(p) and time.time() - os.path.getmtime(p) < LOCK_STALE_SECONDS + + +# ---------------------------------------------------------------- validation + +def validate_senate(data): + errs = [] + if len(data) != 50 or set(data) != set(C.NAMES): + errs.append(f"{len(data)} states instead of 50") + total = sum(len(v) for v in data.values()) + if total != 100: + errs.append(f"{total} senators instead of 100") + for code, v in sorted(data.items()): + if len(v) != 2: + errs.append(f"{C.NAMES.get(code, code)} has {len(v)} senators") + elif v[0]["class"] == v[1]["class"]: + errs.append(f"{C.NAMES[code]} has two class {v[0]['class']} senators") + for s in v: + if not s["name"] and s["status"] not in ("uncalled", "runoff", "vacant"): + errs.append(f"a {C.NAMES.get(code, code)} senator has no name") + if s["name"] and s["party"] not in ("D", "R", "I"): + errs.append(f"no party for {s['name']}") + return errs + + +def validate_house(data): + errs = [] + if set(data) != set(C.NAMES): + missing = sorted(set(C.NAMES) - set(data)) + errs.append(f"{len(data)} states instead of 50" + (f" (missing {', '.join(missing[:5])})" if missing else "")) + total = sum(len(v) for v in data.values()) + if total != 435: + errs.append(f"{total} representatives instead of 435") + for code, n in C.APPORTIONMENT.items(): + v = data.get(code, []) + if len(v) != n: + errs.append(f"{C.NAMES[code]}: {len(v)} seats instead of {n}") + continue + expected = [0] if n == 1 else list(range(1, n + 1)) + if sorted(r["district"] for r in v) != expected and not (n == 1 and [r["district"] for r in v] == [1]): + errs.append(f"{C.NAMES[code]}: unexpected district numbers") + for r in v: + if r["name"] and r["party"] not in ("D", "R", "I"): + errs.append(f"no party for {r['name']}") + if not r["name"] and r["status"] not in ("uncalled", "runoff", "vacant"): + errs.append(f"{C.NAMES[code]} district {r['district']} has no name") + return errs + + +def validate_governors(data): + errs = [] + if set(data) != set(C.NAMES): + errs.append(f"{len(data)} governors instead of 50") + for code, g in data.items(): + if not g["name"] and g["status"] not in ("uncalled", "runoff", "vacant"): + errs.append(f"no governor name for {C.NAMES.get(code, code)}") + if g["name"] and g["party"] not in ("D", "R", "I"): + errs.append(f"no party for governor {g['name']}") + return errs + + +def chamber_errors(code, which, ch): + size = C.CHAMBERS[code][0 if which == "upper" else 1][1] + total = ch["D"] + ch["R"] + ch["I"] + ch["vacant"] + ch["uncalled"] + if ch["seats"] != size or total != size: + return f"seats add up to {total} instead of {size}" + return None + + +def validate_legislatures(data): + errs = [] + if set(data) != set(C.NAMES): + errs.append(f"{len(data)} states instead of 50") + n = 0 + for code, legs in data.items(): + for which in ("upper", "lower"): + ch = legs.get(which) + if ch is None: + if not (code == "NE" and which == "lower"): + errs.append(f"{C.NAMES[code]} {which} chamber missing") + continue + n += 1 + e = chamber_errors(code, which, ch) + if e: + errs.append(f"{ch['name']}: {e}") + if n != 99: + errs.append(f"{n} chambers instead of 99") + return errs + + +VALIDATORS = {"senate": validate_senate, "house": validate_house, "governors": validate_governors, + "legislatures": validate_legislatures} + +LABEL = {"senate": "U.S. Senate", "house": "U.S. House", "governors": "Governors", "legislatures": "State legislatures"} + + +# ---------------------------------------------------------------- totals (for messages and the CLI) + +def party_totals(entries): + t = {"D": 0, "R": 0, "I": 0, "unknown": 0} + for e in entries: + if not e or e.get("status") in ("uncalled", "runoff") or e.get("party") not in ("D", "R", "I"): + t["unknown"] += 1 + else: + t[e["party"]] += 1 + return t + + +def totals(cat, data): + if cat == "senate": + return party_totals([s for v in data.values() for s in v]) + if cat == "house": + return party_totals([r for v in data.values() for r in v]) + if cat == "governors": + return party_totals(list(data.values())) + seats = {"D": 0, "R": 0, "I": 0, "vacant": 0, "uncalled": 0, "chambers": 0} + for legs in data.values(): + for ch in legs.values(): + if ch: + seats["chambers"] += 1 + for k in ("D", "R", "I", "vacant", "uncalled"): + seats[k] += ch[k] + return seats + + +def fmt_totals(t): + return ", ".join(f"{v} {k}" for k, v in t.items() if v) + + +# ---------------------------------------------------------------- the run + +def now_iso(): + return dt.datetime.now(dt.timezone.utc).replace(microsecond=0).isoformat() + + +def run_update(progress=print, requested_mode=None): + """Run a full update. Returns a summary dict. Raises Busy if another update holds the lock.""" + C.ensure_seed() + acquire_lock() + + def progress_and_touch(msg): + try: + os.utime(C.path(LOCK)) + except OSError: + pass + progress(msg) + + try: + return _run(progress_and_touch, requested_mode) + finally: + release_lock() + + +def _run(progress, requested_mode): + day = C.today() + mode, requested = C.choose_mode(day, requested_mode) + year = C.election_window(day) or C.last_election_year(day) + started = now_iso() + warnings, results = [], {} + client = Client(progress) + progress(f"Mode: {'election results ' + str(year) if mode == 'election' else 'current officeholders'}" + f"{' (forced by UPDATE_MODE)' if requested != 'auto' else ' (chosen from today’s date)'}") + + def attempt(cat, fn): + progress(f"{LABEL[cat]}: reading Wikipedia…") + try: + data, sources = fn() + except (P.ParseError, WikiError, KeyError, ValueError, IndexError, StopIteration) as e: + warnings.append(f"{LABEL[cat]}: kept the previous data because Wikipedia could not be read as expected ({e}).") + progress(f"{LABEL[cat]}: failed, previous data kept") + traceback.print_exc(file=sys.stderr) + return None + errs = VALIDATORS[cat](data) + if errs: + more = f" and {len(errs) - 4} more problem(s)" if len(errs) > 4 else "" + warnings.append(f"{LABEL[cat]}: kept the previous data because the new data did not pass the checks: " + f"{'; '.join(errs[:4])}{more}.") + progress(f"{LABEL[cat]}: checks failed, previous data kept") + return None + return data, sources + + meta_base = {"mode": mode, "electionYear": year if mode == "election" else None} + + # Governors first: the Senate step uses them to flag senators who were elected governor. + if mode == "election": + g = attempt("governors", lambda: P.governors_election(client, year)) + else: + g = attempt("governors", lambda: P.governors_current(client, day)) + if g: + save("governors", g[0], g[1], meta_base, progress, results) + + if mode == "election": + s = attempt("senate", lambda: P.senate_election(client, year)) + else: + s = attempt("senate", lambda: P.senate_current(client, day)) + if s: + if mode == "election" and g: + flag_senators_elected_governor(s[0], g[0], year) + save("senate", s[0], s[1], meta_base, progress, results) + + if mode == "election": + h = attempt("house", lambda: P.house_election(client, year)) + else: + h = attempt("house", lambda: P.house_current(client, day)) + if h: + save("house", h[0], h[1], meta_base, progress, results) + + update_legislatures(client, mode, day, year, meta_base, progress, warnings, results) + + finished = now_iso() + run = {"startedAt": started, "finishedAt": finished, "mode": mode, "requestedMode": requested, + "electionYear": meta_base["electionYear"], "updated": sorted(results), "warnings": warnings, + "requests": client.requests} + meta = C.read_json(C.path("meta.json"), {}) or {} + meta["lastRun"] = run + C.write_json_atomic(C.path("meta.json"), meta) + run["totals"] = {cat: fmt_totals(t) for cat, t in results.items()} + progress(f"Done: {len(results)} of 4 categories updated, {len(warnings)} warning(s).") + return run + + +def save(cat, data, sources, meta_base, progress, results): + meta = dict(meta_base, asOf=now_iso(), sources=sources) + C.save_category(cat, data, meta) + results[cat] = totals(cat, data) + progress(f"{LABEL[cat]}: updated ({fmt_totals(results[cat])})") + + +def flag_senators_elected_governor(senate, governors, year): + for code, sens in senate.items(): + g = governors.get(code) + if not g or g.get("status") != f"elected-{year}" or not g.get("name"): + continue + for s in sens: + if s["status"] == "continuing" and s["name"] and s["name"].lower() == g["name"].lower(): + s["note"] = (f"Elected Governor of {C.NAMES[code]} in {year}; the Senate seat will be filled " + f"after the new governor takes office. " + s["note"]).strip() + + +def update_legislatures(client, mode, day, year, meta_base, progress, warnings, results): + cat = "legislatures" + progress(f"{LABEL[cat]}: reading Wikipedia…") + try: + data, sources, problems = P.legislatures(client, mode, day, year) + except (P.ParseError, WikiError, KeyError, ValueError, IndexError) as e: + warnings.append(f"{LABEL[cat]}: kept the previous data because Wikipedia could not be read as expected ({e}).") + traceback.print_exc(file=sys.stderr) + return + prev_file = C.load_category(cat) or {} + prev = prev_file.get("data", {}) + + def same_cycle(meta): + meta = meta or {} + return meta.get("mode") == mode and (mode != "election" or meta.get("electionYear") == year) + + # Earlier figures for the same election (stored data first, then the seed shipped with the app): + # used while Wikipedia has no post-election figures yet for a chamber. + earlier = [f.get("data", {}) for f in (prev_file, C.read_json(os.path.join(C.SEED_DIR, cat + ".json"), {}) or {}) + if f and same_cycle(f.get("meta"))] + kept, unknown_kept = [], [] + for code, legs in data.items(): + for which in ("upper", "lower"): + ch = legs.get(which) + if ch is None: + continue + reason = problems.get((code, which)) or chamber_errors(code, which, ch) + old = (prev.get(code) or {}).get(which) + if reason: + if old: + legs[which] = old + kept.append(f"{ch['name']} ({reason})") + else: + kept.append(f"{ch['name']} ({reason}; no previous data either)") + continue + same = [e for e in ((d.get(code) or {}).get(which) for d in earlier) if e] + if ch.pop("_unknown", False): + better = [e for e in same if e.get("uncalled", 0) < ch["uncalled"]] + if better: + # Wikipedia has no post-election figures yet: keep the earlier, more complete figures. + legs[which] = better[0] + unknown_kept.append(ch["name"]) + continue + named = [e["leader"] for e in same if (e.get("leader") or {}).get("name") and e["leader"].get("status") != "current"] + if mode == "election" and named and (ch.get("leader") or {}).get("status") == "current": + # an earlier read recorded the leader chosen for the new session: better than the outgoing one + ch["leader"] = named[0] + for legs in data.values(): + for ch in legs.values(): + if ch: + ch.pop("_unknown", None) + if len(kept) > 20: + warnings.append(f"{LABEL[cat]}: kept all previous data because {len(kept)} chambers could not be read " + f"(for example {'; '.join(kept[:3])}).") + return + errs = validate_legislatures(data) + if errs: + warnings.append(f"{LABEL[cat]}: kept the previous data because the new data did not pass the checks: {'; '.join(errs[:4])}.") + return + if kept: + warnings.append(f"{LABEL[cat]}: previous figures kept for {len(kept)} chamber(s) whose Wikipedia data did not add up: " + + "; ".join(kept) + ".") + if unknown_kept: + warnings.append(f"{LABEL[cat]}: Wikipedia has no {year} results yet for {len(unknown_kept)} chamber(s); " + f"the earlier figures were kept: {', '.join(unknown_kept)}.") + save(cat, data, sources, meta_base, progress, results) + + +def main(): + try: + run = run_update(progress=lambda m: print(m, flush=True)) + except Busy as e: + print(str(e)) + return 2 + print() + print("Totals:") + for cat, t in run["totals"].items(): + print(f" {LABEL[cat]}: {t}") + if run["warnings"]: + print("Warnings:") + for w in run["warnings"]: + print(" - " + w) + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/app/wiki.py b/app/wiki.py new file mode 100644 index 0000000..ca7608c --- /dev/null +++ b/app/wiki.py @@ -0,0 +1,406 @@ +"""English Wikipedia API client and small wikitext helpers (standard library only).""" +import html +import json +import os +import re +import time +import urllib.error +import urllib.parse +import urllib.request + +API = "https://en.wikipedia.org/w/api.php" +USER_AGENT = "us-officeholders-map/1.0" +DELAY = float(os.environ.get("WIKI_DELAY", "1.5")) # seconds between requests +CACHE_DIR = os.environ.get("WIKI_CACHE_DIR") # development only: reuse fetched pages + + +class WikiError(Exception): + pass + + +class Client: + def __init__(self, progress=None): + self.progress = progress or (lambda msg: None) + self._last = 0.0 + self.requests = 0 + self.revisions = {} # title -> revision timestamp or id + + def _get(self, params): + params = dict(params, format="json", formatversion="2", maxlag="5") + url = API + "?" + urllib.parse.urlencode(params) + for attempt in range(6): + wait = self._last + DELAY - time.time() + if wait > 0: + time.sleep(wait) + self._last = time.time() + self.requests += 1 + req = urllib.request.Request(url, headers={"User-Agent": USER_AGENT, "Accept-Encoding": "identity"}) + retry_after = None + try: + with urllib.request.urlopen(req, timeout=60) as resp: + body = json.loads(resp.read().decode("utf-8")) + err = body.get("error") + if err and err.get("code") == "maxlag": + retry_after = 5 + elif err: + raise WikiError(f"Wikipedia API error: {err.get('info') or err.get('code')}") + else: + return body + except urllib.error.HTTPError as e: + if e.code == 429 or e.code >= 500: + ra = e.headers.get("Retry-After") + retry_after = int(ra) if ra and ra.isdigit() else None + else: + raise WikiError(f"Wikipedia answered HTTP {e.code}") from e + except (urllib.error.URLError, TimeoutError, ConnectionError) as e: + if attempt == 5: + raise WikiError(f"Could not reach Wikipedia ({e})") from e + delay = retry_after if retry_after is not None else min(60, 2 * 2 ** attempt) + self.progress(f"Wikipedia is busy, retrying in {delay} s…") + time.sleep(delay) + raise WikiError("Wikipedia did not answer after several attempts") + + def _cache(self, title, text=None): + if not CACHE_DIR: + return None + p = os.path.join(CACHE_DIR, re.sub(r"[^\w.-]+", "_", title) + ".wiki") + if text is None: + if os.path.exists(p): + with open(p, encoding="utf-8") as f: + return f.read() + return None + os.makedirs(CACHE_DIR, exist_ok=True) + with open(p, "w", encoding="utf-8") as f: + f.write(text) + return text + + def page(self, title): + """Wikitext of one page (action=parse), following redirects.""" + cached = self._cache(title) + if cached is not None: + return cached + self.progress(f"Reading “{title}”") + body = self._get({"action": "parse", "page": title, "prop": "wikitext|revid", "redirects": "1"}) + p = body.get("parse") or {} + text = p.get("wikitext") + if text is None: + raise WikiError(f"No text returned for “{title}”") + self.revisions[title] = p.get("revid") + self._cache(title, text) + return text + + def pages(self, titles, label="pages"): + """Wikitext of many pages, 50 per request (action=query). Returns {requested title: text or None}.""" + out = {} + todo = [] + for t in titles: + c = self._cache(t) + if c is not None: + out[t] = c + else: + todo.append(t) + for i in range(0, len(todo), 50): + chunk = todo[i:i + 50] + self.progress(f"Reading {label} {i + 1}–{i + len(chunk)} of {len(todo)}") + body = self._get({"action": "query", "prop": "revisions", "rvprop": "content|ids", "rvslots": "main", + "titles": "|".join(chunk), "redirects": "1"}) + q = body.get("query", {}) + norm = {n["from"]: n["to"] for n in q.get("normalized", [])} + redir = {r["from"]: r["to"] for r in q.get("redirects", [])} + by_title = {p["title"]: p for p in q.get("pages", [])} + for t in chunk: + t2 = norm.get(t, t) + t2 = redir.get(t2, t2) + p = by_title.get(t2) + if not p or p.get("missing") or not p.get("revisions"): + out[t] = None + continue + rev = p["revisions"][0] + out[t] = rev["slots"]["main"]["content"] + self.revisions[t] = rev.get("revid") + self._cache(t, out[t]) + return out + + +# ---------------------------------------------------------------- wikitext helpers + +def strip_noise(text): + text = re.sub(r"", "", text, flags=re.S) + text = re.sub(r"/]*/>", "", text) + text = re.sub(r"]*>.*?", "", text, flags=re.S) + return text + + +def find_template(text, name, start=0): + """Balanced {{name ...}} starting at or after `start`; returns (start, end) or None.""" + m = re.compile(r"\{\{\s*" + name, re.I).search(text, start) + if not m: + return None + i = m.start() + depth = 0 + j = i + while j < len(text): + if text.startswith("{{", j): + depth += 1 + j += 2 + elif text.startswith("}}", j): + depth -= 1 + j += 2 + if depth == 0: + return i, j + else: + j += 1 + return i, len(text) + + +def split_top(s, sep="|"): + """Split on `sep` outside [[ ]] and {{ }}.""" + parts, cur, depth, i = [], [], 0, 0 + while i < len(s): + two = s[i:i + 2] + if two in ("[[", "{{"): + depth += 1 + cur.append(two) + i += 2 + continue + if two in ("]]", "}}") and depth > 0: + depth -= 1 + cur.append(two) + i += 2 + continue + if depth == 0 and s.startswith(sep, i): + parts.append("".join(cur)) + cur = [] + i += len(sep) + continue + cur.append(s[i]) + i += 1 + parts.append("".join(cur)) + return parts + + +def template_params(tpl): + body = tpl[2:-2] + parts = split_top(body) + named, positional = {}, [] + for p in parts[1:]: + if "=" in p and re.match(r"^\s*[\w ]+\s*=", p): + k, v = p.split("=", 1) + named[k.strip()] = v.strip() + else: + positional.append(p.strip()) + return named, positional + + +def infobox(text, name="Infobox"): + loc = find_template(strip_noise(text), name) + if not loc: + return {} + t = strip_noise(text) + named, _ = template_params(t[loc[0]:loc[1]]) + return named + + +_KEEP_FIRST = {"nowrap", "no wrap", "small", "smaller", "resize", "center", "nobold", "big", "nobr", "abbr", "lang", "notatypo", "sic", "tooltip", "h", "strong"} + + +def _template_plain(m): + inner = m.group(1) + parts = inner.split("|") + name = parts[0].strip().lower() + args = [p for p in parts[1:] if not re.match(r"^\s*\w+\s*=", p)] + if name == "sortname" and len(args) >= 2: + return f"{args[0].strip()} {args[1].strip()}" + if name in _KEEP_FIRST and args: + return args[0] + if name == "!": + return "|" + if name in ("dts", "start date", "birth date and age", "birth date"): + return " ".join(a.strip() for a in args[:3]) + if name in ("legend", "legend0") and len(args) >= 2: + return args[1] + return "" + + +def plain(s): + """Rough wikitext -> text.""" + if not s: + return "" + s = strip_noise(s) + s = re.sub(r"\[\[(?:File|Image):[^\[\]]*(?:\[\[[^\]]*\]\][^\[\]]*)*\]\]", "", s, flags=re.I) + for _ in range(4): + s2 = re.sub(r"\[\[(?:[^|\]]*\|)?([^\]|]*)\]\]", r"\1", s) + s2 = re.sub(r"\{\{([^{}]*)\}\}", _template_plain, s2) + if s2 == s: + break + s = s2 + s = re.sub(r"\[https?://[^\s\]]+\s*([^\]]*)\]", r"\1", s) + s = re.sub(r"'{2,}", "", s) + s = re.sub(r"", " ", s, flags=re.I) + s = re.sub(r"<[^>]+>", "", s) + s = html.unescape(s).replace(" ", " ") + return re.sub(r"\s+", " ", s).strip() + + +def sections(text, level=2): + """[(heading, body)] for headings of exactly `level` (body runs to the next heading of that level or higher).""" + eq = "=" * level + pat = re.compile(r"^" + eq + r"(?!=)\s*(.+?)\s*" + eq + r"\s*$", re.M) + heads = list(pat.finditer(text)) + out = [] + for i, m in enumerate(heads): + end = heads[i + 1].start() if i + 1 < len(heads) else len(text) + body = text[m.end():end] + # stop at a higher-level heading + for lv in range(1, level): + hm = re.search(r"^" + "=" * lv + r"(?!=)[^=\n].*?" + "=" * lv + r"\s*$", body, re.M) + if hm: + body = body[:hm.start()] + out.append((plain(m.group(1)), body)) + return out + + +def section(text, title, level=2): + for h, body in sections(text, level): + if h.lower() == title.lower(): + return body + return None + + +# ---------------------------------------------------------------- tables + +class Cell: + __slots__ = ("raw", "text", "header", "attrs", "rowspan", "colspan") + + def __init__(self, raw, header, attrs): + self.raw = raw.strip() + self.text = plain(raw) + self.header = header + self.attrs = attrs + rs = re.search(r"rowspan\s*=\s*\"?(\d+)", attrs) + cs = re.search(r"colspan\s*=\s*\"?(\d+)", attrs) + self.rowspan = int(rs.group(1)) if rs else 1 + self.colspan = int(cs.group(1)) if cs else 1 + + def __repr__(self): + return f"Cell({self.text!r})" + + +_ATTR_TEMPLATES = re.compile(r"\{\{\s*(party shading|party color|shading pvi|usraterating)[^{}]*\}\}", re.I) + + +def _split_attrs(cell): + parts = split_top(cell, "|") + if len(parts) >= 2: + left = _ATTR_TEMPLATES.sub(" ", parts[0]) + left = re.sub(r"[\w-]+\s*=\s*(\"[^\"]*\"|'[^']*'|[^\s]+)", " ", left) + if not left.strip(): + return parts[0], "|".join(parts[1:]) + return "", cell + + +class Table: + def __init__(self, raw, start): + self.raw = raw + self.start = start + self.caption = "" + self.rows = [] # list of lists of Cell (spans expanded) + self.row_raw = [] + self._parse() + + def _parse(self): + lines = self.raw.split("\n") + rows, raws = [], [] + cur, cur_raw = None, None + depth = 0 + for ln in lines[1:]: + s = ln.strip() + if depth > 0: + if cur: + cur[-1] = (cur[-1][0] + "\n" + ln, cur[-1][1], cur[-1][2]) + if s.startswith("{|"): + depth += 1 + if s.startswith("|}"): + depth -= 1 + continue + if s.startswith("{|"): + depth += 1 + if cur: + cur[-1] = (cur[-1][0] + "\n" + ln, cur[-1][1], cur[-1][2]) + continue + if s.startswith("|}"): + break + if s.startswith("|+"): + cap = s[2:] + a, content = _split_attrs(cap) + self.caption = plain(content) + continue + if s.startswith("|-"): + cur, cur_raw = [], [] + rows.append(cur) + raws.append(cur_raw) + continue + if cur is None: + cur, cur_raw = [], [] + rows.append(cur) + raws.append(cur_raw) + cur_raw.append(ln) + if s.startswith("!"): + for c in split_top(s[1:], "!!"): + for c2 in split_top(c, "||"): + a, content = _split_attrs(c2) + cur.append((content, True, a)) + elif s.startswith("|"): + for c in split_top(s[1:], "||"): + a, content = _split_attrs(c) + cur.append((content, False, a)) + elif cur: + cur[-1] = (cur[-1][0] + "\n" + ln, cur[-1][1], cur[-1][2]) + grid, grid_raw, pending = [], [], {} + for r, rr in zip(rows, raws): + if not r and not pending: + continue + cells = [Cell(c, h, a) for c, h, a in r] + line, col, ci = [], 0, 0 + while ci < len(cells) or col in pending: + if col in pending: + rem, c = pending[col] + line.append(c) + if rem <= 1: + del pending[col] + else: + pending[col] = (rem - 1, c) + col += 1 + continue + c = cells[ci] + ci += 1 + for _ in range(min(c.colspan, 50)): + line.append(c) + if c.rowspan > 1: + pending[col] = (c.rowspan - 1, c) + col += 1 + if line: + grid.append(line) + grid_raw.append("\n".join(rr)) + self.rows = grid + self.row_raw = grid_raw + + def texts(self, i): + return [c.text for c in self.rows[i]] + + +def tables(text): + """All tables (outer and nested) with their start offsets, in document order.""" + out, stack = [], [] + for m in re.finditer(r"^[ \t]*(\{\||\|\})", text, re.M): + if m.group(1) == "{|": + stack.append(m.start()) + elif stack: + s = stack.pop() + out.append(Table(text[s:m.end()], s)) + return sorted(out, key=lambda t: t.start) + + +def split_rows(table_text): + """Raw row chunks of a wikitext table (split on |- lines).""" + return re.split(r"\n[ \t]*\|-[^\n]*", table_text) diff --git a/data/governors.json b/data/governors.json new file mode 100644 index 0000000..90e22a7 --- /dev/null +++ b/data/governors.json @@ -0,0 +1,736 @@ +{ + "meta": { + "mode": "election", + "electionYear": 2026, + "asOf": "2026-11-13T14:34:55+00:00", + "sources": [ + "2026 United States gubernatorial elections", + "List of current United States governors" + ] + }, + "data": { + "AL": { + "name": "Tommy Tuberville", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; legislature overrides by majority of elected members", + "Amendatory veto and line-item veto", + "Can grant clemency; fills vacancies in elected offices", + "Appoints cabinet and members of 450+ boards and commissions", + "Commander-in-chief of the militia; oversees state finances", + "Two consecutive four-year terms" + ] + }, + "AK": { + "name": "Jonathan Kreiss-Tomkins", + "party": "D", + "termEnd": "2030-12", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; override by 2/3 of legislators in joint session", + "Budget bills: override needs 3/4 of elected legislators", + "Line-item and reduction veto on appropriations", + "Commander-in-chief of Alaska's state forces", + "Two consecutive four-year terms" + ] + }, + "AZ": { + "name": "Katie Hobbs", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; override by 2/3 of elected members (3/4 for some bills)", + "Line-item veto on appropriations", + "Grants pardons, except in impeachment cases", + "Commander-in-chief of state military forces; convenes legislature", + "Two consecutive terms; may run again after four years" + ] + }, + "AR": { + "name": "Sarah Huckabee Sanders", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; General Assembly overrides by simple majority", + "Line-item veto on appropriations bills", + "Appoints the 15 cabinet secretaries", + "Can call the General Assembly into special session", + "Commander-in-chief of the state militia", + "Limited to two four-year terms" + ] + }, + "CA": { + "name": "Xavier Becerra", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto on budget bills", + "Prepares and submits the annual state budget", + "Appoints state judges to vacant seats", + "Pardons and commutations, some need state Supreme Court approval", + "Commander-in-chief of National Guard; two-term limit" + ] + }, + "CO": { + "name": "Phil Weiser", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; override by two-thirds of elected members", + "Line-item veto on appropriations", + "Grants pardons, except for treason or impeachment", + "Commander-in-chief of state military forces", + "Two consecutive terms; eligible again after four years" + ] + }, + "CT": { + "name": "Ned Lamont", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; General Assembly overrides by two-thirds", + "Line-item veto", + "No pardon power, unusual among governors", + "Commander-in-chief of state military forces; convenes legislature", + "Four-year terms, no term limit" + ] + }, + "DE": { + "name": "Matt Meyer", + "party": "D", + "termEnd": "2029-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; override by three-fifths of elected members", + "Line-item veto and pocket veto", + "Pardons only on recommendation of the Board of Pardons", + "Commander-in-chief of state military forces; convenes legislature", + "Limited to two terms" + ] + }, + "FL": { + "name": "Byron Donalds", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; Legislature overrides by two-thirds of members present", + "Line-item veto on appropriations", + "Proposes and oversees the state budget", + "Grants pardons (except impeachment); key state appointments", + "Commander-in-chief of Florida National Guard and State Guard", + "Two consecutive four-year terms" + ] + }, + "GA": { + "name": "Keisha Lance Bottoms", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; General Assembly overrides by two-thirds", + "Line-item veto", + "Calls the General Assembly into special session", + "Can suspend or remove officers after a commission finding", + "Commander-in-chief of National Guard and State Defense Force", + "Two consecutive terms, then four years out" + ] + }, + "HI": { + "name": "Josh Green", + "party": "D", + "termEnd": "2030-12", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; override by two-thirds of elected members", + "Line-item and reduction veto", + "Appoints all state judges, subject to Senate approval", + "Appoints many statewide executives, e.g. attorney general", + "Commander-in-chief of Hawaii's armed forces", + "Two consecutive terms, then must sit out a term" + ] + }, + "ID": { + "name": "Brad Little", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; override by two-thirds of members present", + "Line-item veto", + "Commander-in-chief of state military forces", + "Four-year terms, no term limit" + ] + }, + "IL": { + "name": "JB Pritzker", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; General Assembly overrides by three-fifths", + "Amendatory, line-item and reduction vetoes", + "Reduction vetoes overridden by simple majority", + "Power of pardon and commutation", + "Commander-in-chief of state forces in state service", + "Four-year terms, no term limit" + ] + }, + "IN": { + "name": "Mike Braun", + "party": "R", + "termEnd": "2029-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; General Assembly overrides by simple majority", + "No line-item veto; pocket veto ruled unconstitutional", + "Pardons and commutations, except treason or impeachment", + "Appoints judges to fill vacancies", + "Can call out the Indiana National Guard in emergencies", + "Two terms in any 12-year period" + ] + }, + "IA": { + "name": "Rob Sand", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; override by two-thirds of elected members", + "Line-item veto and pocket veto", + "Grants pardons, except treason and impeachment", + "Commander-in-chief of state military forces", + "Four-year terms, no term limit" + ] + }, + "KS": { + "name": "Cindy Holscher", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; override by two-thirds of membership", + "Line-item veto", + "Grants pardons; can convene legislature at any time", + "Commander-in-chief of state military forces", + "Two consecutive four-year terms" + ] + }, + "KY": { + "name": "Andy Beshear", + "party": "D", + "termEnd": "2027-12", + "status": "continuing", + "note": "Term-limited.", + "powers": [ + "Veto; General Assembly overrides by simple majority", + "Line-item veto; no pocket veto", + "Proposes the biennial state budget", + "Broad appointment power over cabinets and commissions", + "Grants pardons, except impeachment cases", + "Two consecutive terms, then four years out" + ] + }, + "LA": { + "name": "Jeff Landry", + "party": "R", + "termEnd": "2028-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto, required to keep the budget balanced", + "Submits operating budget and five-year capital outlay plan", + "Appoints cabinet secretaries leading state agencies", + "Pardons, reprieves, commutations; commands National Guard", + "Limited to two terms in a lifetime" + ] + }, + "ME": { + "name": "Hannah Pingree", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item and reduction veto", + "Appoints judges and officers, confirmed by the Legislature", + "Pardons, reprieves and commutations, except impeachment", + "Commander-in-chief of the Maine National Guard", + "Two consecutive four-year terms" + ] + }, + "MD": { + "name": "Wes Moore", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; General Assembly overrides by three-fifths", + "Line-item veto on appropriations", + "Presents budget; legislature can cut but not increase it", + "Appoints most officers and cabinet, with Senate consent", + "Pardons and commutations; commands the National Guard", + "Two consecutive four-year terms" + ] + }, + "MA": { + "name": "Maura Healey", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; legislature overrides by two-thirds", + "Line-item, reduction and amendatory vetoes", + "Key appointments need consent of elected Governor's Council", + "Commander-in-chief of state military forces", + "Four-year terms, no term limit" + ] + }, + "MI": { + "name": "Jocelyn Benson", + "party": "D", + "termEnd": "2031-01-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto", + "Appoints judges, later subject to voter ratification", + "Appoints most department heads with Senate consent", + "Grants pardons (except impeachment); commands state militia", + "Limited to two four-year terms" + ] + }, + "MN": { + "name": "Amy Klobuchar", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto and pocket veto", + "Appoints department heads (commissioners)", + "Four-year terms, no term limit" + ] + }, + "MS": { + "name": "Tate Reeves", + "party": "R", + "termEnd": "2028-01", + "status": "continuing", + "note": "Term-limited.", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto on appropriations only", + "Pardons and reprieves, except treason or impeachment", + "Little authority over the state budget process", + "Commander-in-chief of National Guard; calls special sessions", + "Two consecutive four-year terms" + ] + }, + "MO": { + "name": "Mike Kehoe", + "party": "R", + "termEnd": "2029-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; override by two-thirds of elected members", + "Line-item veto", + "Grants pardons, except impeachment cases", + "Commander-in-chief of the National Guard; convenes legislature", + "Limited to two terms" + ] + }, + "MT": { + "name": "Greg Gianforte", + "party": "R", + "termEnd": "2029-01", + "status": "continuing", + "note": "Term-limited.", + "powers": [ + "Veto; override by two-thirds of members present", + "Line-item and amendatory vetoes", + "Grants pardons and reprieves", + "Commander-in-chief; can convene legislature at any time", + "Eight years in any sixteen-year period" + ] + }, + "NE": { + "name": "Jim Pillen", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; unicameral Legislature overrides by three-fifths (30 votes)", + "Line-item and reduction veto", + "Calls special sessions limited to topics in proclamation", + "Two consecutive four-year terms" + ] + }, + "NV": { + "name": "Aaron Ford", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; override by two-thirds of elected members", + "No line-item veto", + "Pardons and reprieves, except treason or impeachment", + "Commander-in-chief; can convene legislature at any time", + "Limited to two four-year terms" + ] + }, + "NH": { + "name": "Kelly Ayotte", + "party": "R", + "termEnd": "2029-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; override by two-thirds of members present", + "No line-item veto", + "Pardons need approval of the elected Executive Council", + "Nominates judges, attorney general, Guard officers (Council approval)", + "Commander-in-chief of state military forces", + "Two-year terms, no term limit" + ] + }, + "NJ": { + "name": "Mikie Sherrill", + "party": "D", + "termEnd": "2030-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item and amendatory vetoes", + "Appoints entire cabinet, confirmed by the Senate", + "Appoints all Superior Court judges and county prosecutors", + "Commander-in-chief of the New Jersey National Guard", + "Two consecutive four-year terms" + ] + }, + "NM": { + "name": "Deb Haaland", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; override by two-thirds of members present", + "Line-item veto", + "Submits the state budget", + "Commander-in-chief of the New Mexico National Guard", + "Two consecutive terms; may run again after one term out" + ] + }, + "NY": { + "name": "Kathy Hochul", + "party": "D", + "termEnd": "2031-01-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto and pocket veto", + "Grants pardons, except treason and impeachment", + "Appoints Executive Chamber without Senate confirmation", + "Commander-in-chief; can convene the Legislature", + "Four-year terms, no term limit" + ] + }, + "NC": { + "name": "Josh Stein", + "party": "D", + "termEnd": "2029-01-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; General Assembly overrides by three-fifths", + "No line-item veto", + "Director of the state budget", + "Appoints some judges, executive officials and board members", + "Grants pardons; commands the North Carolina National Guard", + "Two consecutive four-year terms" + ] + }, + "ND": { + "name": "Kelly Armstrong", + "party": "R", + "termEnd": "2028-12-15", + "status": "continuing", + "note": "", + "powers": [ + "Veto; Legislative Assembly overrides by two-thirds", + "Line-item veto", + "Can call the Legislative Assembly into emergency session", + "Commander-in-chief of state military forces", + "Limited to two four-year terms" + ] + }, + "OH": { + "name": "Amy Acton", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; General Assembly overrides by three-fifths", + "Line-item veto", + "Drafts the budget proposal for the General Assembly", + "Grants pardons, except treason and impeachment", + "Appointments with Senate consent; fills statewide vacancies", + "Two consecutive four-year terms" + ] + }, + "OK": { + "name": "Mike Mazzei", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto on appropriations", + "Pardons only after a favorable Pardon and Parole Board vote", + "Prepares the state budget; appoints cabinet secretaries", + "Appoints appellate judges from nominating commission lists", + "Two consecutive four-year terms" + ] + }, + "OR": { + "name": "Tina Kotek", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; override by two-thirds in both houses", + "Line-item veto on appropriation and emergency bills", + "Pardons and commutations; only reprieves for treason", + "Commander-in-chief of the Oregon Military Department", + "Calls special sessions; fills vacancies by appointment", + "Two terms in any 12-year period" + ] + }, + "PA": { + "name": "Josh Shapiro", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; General Assembly overrides by two-thirds", + "Line-item veto", + "Two consecutive four-year terms", + "No lifetime limit; may return after a break" + ] + }, + "RI": { + "name": "Helena Foulkes", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; override by three-fifths of members present", + "No line-item veto", + "Grants pardons", + "Submits the annual state budget", + "Commander-in-chief (Captain-General) of the National Guard", + "Two consecutive four-year terms" + ] + }, + "SC": { + "name": "Alan Wilson", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; General Assembly overrides by two-thirds", + "Line-item veto", + "Submits an executive budget each January", + "Appoints 14 cabinet agency directors; shares other appointments", + "Clemency limited to commuting death sentences to life", + "Two consecutive four-year terms" + ] + }, + "SD": { + "name": "Larry Rhoden", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; Legislature overrides by two-thirds", + "Line-item veto; amendatory veto on style or form only", + "Appoints cabinet and many boards and commissions", + "Grants pardons for state offenses", + "Commander-in-chief of the South Dakota National Guard", + "Two consecutive four-year terms" + ] + }, + "TN": { + "name": "Marsha Blackburn", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; General Assembly overrides by simple majority", + "Line-item veto on spending items", + "Appoints judges through the Tennessee Plan nominating commission", + "Appoints most state department heads", + "Commander-in-chief of National Guard and state militia", + "Two consecutive four-year terms" + ] + }, + "TX": { + "name": "Gina Hinojosa", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; Legislature overrides by two-thirds of members present", + "Line-item veto", + "Pardons only on Board of Pardons and Paroles recommendation", + "Weak budget role; Legislative Budget Board leads", + "Commander-in-chief of Texas Military Forces; calls special sessions", + "Four-year terms, no term limit" + ] + }, + "UT": { + "name": "Spencer Cox", + "party": "R", + "termEnd": "2029-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; override by two-thirds of elected members", + "Line-item veto", + "Commander-in-chief of the Utah National Guard", + "Convenes the legislature on extraordinary occasions", + "No term limits (repealed in 2003)" + ] + }, + "VT": { + "name": "Phil Scott", + "party": "R", + "termEnd": "2029-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; override by two-thirds of members present", + "No line-item veto", + "Pardons and remits fines; only reprieves for treason", + "Commissions or appoints state officers", + "Captain-General and Commander-in-Chief of state forces", + "Two-year terms, no term limit" + ] + }, + "VA": { + "name": "Abigail Spanberger", + "party": "D", + "termEnd": "2030-01", + "status": "continuing", + "note": "Term-limited.", + "powers": [ + "Veto; override by two-thirds of members present", + "Line-item and amendatory vetoes", + "Pardons and commutes sentences", + "Fills vacancies not appointed by the legislature", + "Commander-in-chief of the Virginia National Guard", + "Single four-year term; no immediate re-election" + ] + }, + "WA": { + "name": "Bob Ferguson", + "party": "D", + "termEnd": "2029-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; override by two-thirds of members present", + "Section veto on any bill; line-item on spending", + "Commander-in-chief of state military forces", + "Four-year terms, no term limit" + ] + }, + "WV": { + "name": "Patrick Morrisey", + "party": "R", + "termEnd": "2029-01", + "status": "continuing", + "note": "", + "powers": [ + "Veto; Legislature overrides by majority of elected members", + "Line-item and reduction veto", + "Pardons and reprieves, except House impeachment cases", + "Commander-in-chief; can convene the legislature at any time", + "Two consecutive four-year terms" + ] + }, + "WI": { + "name": "David Crowley", + "party": "D", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; Legislature overrides by two-thirds of members present", + "Strong partial veto: strikes words in appropriation bills", + "Pardons, commutations, reprieves, except treason or impeachment", + "Appoints heads of agencies created by the legislature", + "Commander-in-chief of the Wisconsin National Guard", + "Four-year terms, no term limits" + ] + }, + "WY": { + "name": "Eric Barlow", + "party": "R", + "termEnd": "2031-01", + "status": "elected-2026", + "note": "End of term deduced from the term length.", + "powers": [ + "Veto; Legislature overrides by two-thirds of elected members", + "Line-item veto", + "Commander-in-chief of the Wyoming National Guard", + "Eight years in any sixteen-year period" + ] + } + } +} \ No newline at end of file diff --git a/data/house.json b/data/house.json new file mode 100644 index 0000000..81c60f7 --- /dev/null +++ b/data/house.json @@ -0,0 +1,3592 @@ +{ + "meta": { + "mode": "election", + "electionYear": 2026, + "asOf": "2026-11-13T14:35:04+00:00", + "sources": [ + "2026 United States House of Representatives elections" + ] + }, + "data": { + "AL": [ + { + "district": 1, + "name": "Jerry Carl", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Shomari Figures", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Mike Rogers", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Robert Aderholt", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Dale Strong", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Gary Palmer", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Terri Sewell", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "AK": [ + { + "district": 0, + "name": null, + "party": null, + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Not yet called; Nick Begich III (R) vs Eric Hafner (D)." + } + ], + "AZ": [ + { + "district": 1, + "name": "Amish Shah", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Eli Crane", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Yassamin Ansari", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Greg Stanton", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Mark Lamb", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "JoAnna Mendoza", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Adelita Grijalva", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Abraham Hamadeh", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Paul Gosar", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "AR": [ + { + "district": 1, + "name": "Rick Crawford", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "French Hill", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Steve Womack", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Bruce Westerman", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "CA": [ + { + "district": 1, + "name": "Mike McGuire", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Jared Huffman", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Ami Bera", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": null, + "party": "D", + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Not yet called; Mike Thompson (D) vs Eric Jones (D)." + }, + { + "district": 5, + "name": "Tom McClintock", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Richard Pan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Doris Matsui", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "John Garamendi", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Josh Harder", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Mark DeSaulnier", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Scott Wiener", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Lateefah Simon", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Adam Gray", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "Aisha Wahab", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 15, + "name": "Kevin Mullin", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 16, + "name": "Sam Liccardo", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 17, + "name": "Ro Khanna", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 18, + "name": "Zoe Lofgren", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 19, + "name": "Jimmy Panetta", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 20, + "name": "Vince Fong", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 21, + "name": "Jim Costa", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 22, + "name": "Randy Villegas", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 23, + "name": null, + "party": null, + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Not yet called; Jay Obernolte (R) vs Tessa Lynn Hodge (D)." + }, + { + "district": 24, + "name": "Salud Carbajal", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 25, + "name": "Raul Ruiz", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 26, + "name": "Jacqui Irwin", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 27, + "name": "George T. Whitesides", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 28, + "name": "Judy Chu", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 29, + "name": "Luz Rivas", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 30, + "name": "Laura Friedman", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 31, + "name": "Gil Cisneros", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 32, + "name": "Brad Sherman", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 33, + "name": "Pete Aguilar", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 34, + "name": "Angela Gonzales-Torres", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 35, + "name": "Norma Torres", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 36, + "name": "Ted Lieu", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 37, + "name": "Sydney Kamlager-Dove", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 38, + "name": "Hilda Solis", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 39, + "name": "Mark Takano", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 40, + "name": "Ken Calvert", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 41, + "name": "Linda Sánchez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 42, + "name": "Robert Garcia", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 43, + "name": "Maxine Waters", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 44, + "name": "Nanette Barragán", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 45, + "name": "Derek Tran", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 46, + "name": "Lou Correa", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 47, + "name": "Dave Min", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 48, + "name": "Marni von Wilpert", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 49, + "name": "Mike Levin", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 50, + "name": "Scott Peters", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 51, + "name": "Sara Jacobs", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 52, + "name": "Juan Vargas", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "CO": [ + { + "district": 1, + "name": "Melat Kiros", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Joe Neguse", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Jeff Hurd", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Eileen Laubacher", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Jessica Killin", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Jason Crow", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Brittany Pettersen", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Manny Rutinel", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "CT": [ + { + "district": 1, + "name": "Luke Bronin", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Joe Courtney", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Rosa DeLauro", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Jim Himes", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Jahana Hayes", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "DE": [ + { + "district": 0, + "name": "Sarah McBride", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "FL": [ + { + "district": 1, + "name": "Jimmy Patronis", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Austin Rogers", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Kat Cammack", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Aaron Bean", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "John Rutherford", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Randy Fine", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Ryan Elijah", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Mike Haridopolos", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Darren Soto", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Maxwell Frost", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Joe Strada", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Gus Bilirakis", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Anna Paulina Luna", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "Kathy Castor", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 15, + "name": "Laurel Lee", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 16, + "name": "Sydney Gruters", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 17, + "name": "Greg Steube", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 18, + "name": "Scott Franklin", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 19, + "name": "Jim Schwartzel", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 20, + "name": "Debbie Wasserman Schultz", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 21, + "name": "Brian Mast", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 22, + "name": "Pia Dandiya", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 23, + "name": "Lois Frankel", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 24, + "name": "Oliver Gilbert", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 25, + "name": "Jared Moskowitz", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 26, + "name": "Mario Díaz-Balart", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 27, + "name": "María Elvira Salazar", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 28, + "name": "Carlos A. Giménez", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "GA": [ + { + "district": 1, + "name": "Jim Kingston", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Sanford Bishop", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Brian Jack", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Hank Johnson", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Nikema Williams", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Lucy McBath", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Rich McCormick", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Austin Scott", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Andrew Clyde", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Houston Gaines", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "John Cowan", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Rick Allen", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Jasmine Clark", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "Clay Fuller", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "HI": [ + { + "district": 1, + "name": "Ed Case", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Jill Tokuda", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "ID": [ + { + "district": 1, + "name": "Russ Fulcher", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Mike Simpson", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "IL": [ + { + "district": 1, + "name": "Jonathan Jackson", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Donna Miller", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Delia Ramirez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Patty García", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Mike Quigley", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Sean Casten", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "La Shawn Ford", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Melissa Bean", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Daniel Biss", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Brad Schneider", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Bill Foster", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Mike Bost", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Nikki Budzinski", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "Lauren Underwood", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 15, + "name": "Mary Miller", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 16, + "name": "Darin LaHood", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 17, + "name": "Eric Sorensen", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "IN": [ + { + "district": 1, + "name": "Frank J. Mrvan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Rudy Yakym", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Marlin Stutzman", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Jim Baird", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "J. D. Ford", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Jefferson Shreve", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "André Carson", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Mark Messmer", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Erin Houchin", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "IA": [ + { + "district": 1, + "name": "Christina Bohannan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Lindsay James", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Sarah Trone Garriott", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Chris McGowan", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "KS": [ + { + "district": 1, + "name": "Tracey Mann", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Derek Schmidt", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Sharice Davids", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Ron Estes", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "KY": [ + { + "district": 1, + "name": "James Comer", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Brett Guthrie", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Morgan McGarvey", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Ed Gallrein", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Hal Rogers", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Zach Dembo", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "LA": [ + { + "district": 1, + "name": "Steve Scalise", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Troy Carter", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Clay Higgins", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Mike Johnson", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": null, + "party": null, + "termEnd": "2029-01-03", + "status": "runoff", + "note": "Runoff: Patricia Moore (D) vs Gabe Firment (R)." + }, + { + "district": 6, + "name": null, + "party": null, + "termEnd": "2029-01-03", + "status": "runoff", + "note": "Runoff: Chauna Banks (D) vs Blake Miguez (R)." + } + ], + "ME": [ + { + "district": 1, + "name": "Chellie Pingree", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Paul LePage", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "MD": [ + { + "district": 1, + "name": "Andy Harris", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Johnny Olszewski", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Sarah Elfreth", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Glenn Ivey", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Adrian Boafo", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "April McClain Delaney", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Kweisi Mfume", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Jamie Raskin", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "MA": [ + { + "district": 1, + "name": "Richard Neal", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Jim McGovern", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Lori Trahan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Jake Auchincloss", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Katherine Clark", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Dan Koh", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Ayanna Pressley", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Stephen Lynch", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Bill Keating", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "MI": [ + { + "district": 1, + "name": "Jack Bergman", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "John Moolenaar", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Hillary Scholten", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Sean McCann", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Tim Walberg", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Debbie Dingell", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "William Lawrence", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Kristen McDonald Rivet", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Lisa McClain", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Christina Hines", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Jeremy Moss", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Rashida Tlaib", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Donavan McKinney", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "MN": [ + { + "district": 1, + "name": null, + "party": null, + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Not yet called; Brad Finstad (R) vs Jake Johnson (D)." + }, + { + "district": 2, + "name": "Matt Little", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Kelly Morrison", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Betty McCollum", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Ilhan Omar", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Tom Emmer", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Michelle Fischbach", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Pete Stauber", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "MS": [ + { + "district": 1, + "name": "Trent Kelly", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Bennie Thompson", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Michael Guest", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Mike Ezell", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "MO": [ + { + "district": 1, + "name": "Wesley Bell", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Fred Wellman", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Bob Onder", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Mark Alford", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Emanuel Cleaver", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Chris Stigall", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Eric Burlison", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Jason Smith", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "MT": [ + { + "district": 1, + "name": "Sam Forstag", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Troy Downing", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "NE": [ + { + "district": 1, + "name": "Mike Flood", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Denise Powell", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Adrian Smith", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "NV": [ + { + "district": 1, + "name": "Dina Titus", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Teresa Benitez-Thompson", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Susie Lee", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Steven Horsford", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "NH": [ + { + "district": 1, + "name": "Stefany Shaheen", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Maggie Goodlander", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "NJ": [ + { + "district": 1, + "name": "Donald Norcross", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Zack Mullock", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Herb Conaway", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Chris Smith", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Josh Gottheimer", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Frank Pallone", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Rebecca Bennett", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Rob Menendez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Nellie Pou", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "LaMonica McIver", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Analilia Mejia", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Adam Hamawy", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "NM": [ + { + "district": 1, + "name": "Melanie Stansbury", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Gabe Vasquez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Teresa Leger Fernández", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "NY": [ + { + "district": 1, + "name": "Nick LaLota", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Andrew Garbarino", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Tom Suozzi", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Laura Gillen", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Gregory Meeks", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Grace Meng", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Claire Valdez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Hakeem Jeffries", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Yvette Clarke", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Brad Lander", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Nicole Malliotakis", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Micah Lasher", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Darializa Avila Chevalier", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "Alexandria Ocasio-Cortez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 15, + "name": "Ritchie Torres", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 16, + "name": "George Latimer", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 17, + "name": "Cait Conley", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 18, + "name": "Pat Ryan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 19, + "name": "Josh Riley", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 20, + "name": "Paul Tonko", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 21, + "name": "Anthony Constantino", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 22, + "name": "John Mannion", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 23, + "name": "Nick Langworthy", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 24, + "name": "Claudia Tenney", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 25, + "name": "Joseph Morelle", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 26, + "name": "Tim Kennedy", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "NC": [ + { + "district": 1, + "name": "Don Davis", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Deborah Ross", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Raymond Smith Jr.", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Valerie Foushee", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": null, + "party": null, + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Not yet called; Chuck Hubbard (D) vs Virginia Foxx (R)." + }, + { + "district": 6, + "name": "Cyril Jefferson", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": null, + "party": null, + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Not yet called; David Rouzer (R) vs Kimberly Hardy (D)." + }, + { + "district": 8, + "name": "Mark Harris", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Richard Ojeda", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": null, + "party": null, + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Not yet called; Pat Harrigan (R) vs Ashley Bell (D)." + }, + { + "district": 11, + "name": "Jamie Ager", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Alma Adams", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Paul Barringer", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "LaKesha Womack", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "ND": [ + { + "district": 0, + "name": "Julie Fedorchak", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "OH": [ + { + "district": 1, + "name": "Greg Landsman", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "David Taylor", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Joyce Beatty", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Jim Jordan", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Bob Latta", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Michael Rulli", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Brian Poindexter", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Warren Davidson", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Marcy Kaptur", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Kristina Knickerbocker", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Shontel Brown", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Troy Balderson", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Emilia Sykes", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "David Joyce", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 15, + "name": "Don Leonard", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "OK": [ + { + "district": 1, + "name": "Mark Tedford", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Josh Brecheen", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Frank Lucas", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Tom Cole", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Stephanie Bice", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "OR": [ + { + "district": 1, + "name": "Suzanne Bonamici", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Cliff Bentz", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Maxine Dexter", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Val Hoyle", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Janelle Bynum", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Andrea Salinas", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "PA": [ + { + "district": 1, + "name": "Bob Harvie", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Brendan Boyle", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Chris Rabb", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Madeleine Dean", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Mary Gay Scanlon", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Chrissy Houlahan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Bob Brooks", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Paige Cognetti", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Dan Meuser", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Janelle Stelson", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "Lloyd Smucker", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Summer Lee", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "John Joyce", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "Guy Reschenthaler", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 15, + "name": "Glenn Thompson", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 16, + "name": "Mike Kelly", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 17, + "name": "Chris Deluzio", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "RI": [ + { + "district": 1, + "name": "Gabe Amo", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Seth Magaziner", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "SC": [ + { + "district": 1, + "name": "Nancy Lacore", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Joe Wilson", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Sheri Biggs", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "William Timmons", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Wes Climer", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Jim Clyburn", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Russell Fry", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "SD": [ + { + "district": 0, + "name": "Marty Jackley", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "TN": [ + { + "district": 1, + "name": "Diana Harshbarger", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Tim Burchett", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Chuck Fleischmann", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": null, + "party": null, + "termEnd": "2029-01-03", + "status": "uncalled", + "note": "Not yet called; Victoria Broderick (D) vs Scott DesJarlais (R)." + }, + { + "district": 5, + "name": "Charlie Hatcher", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Johnny Garrett", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Matt Van Epps", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "David Kustoff", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Brent Taylor", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "TX": [ + { + "district": 1, + "name": "Nathaniel Moran", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Steve Toth", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Keith Self", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Pat Fallon", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Lance Gooden", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Jake Ellzey", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Lizzie Fletcher", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Jessica Steinmann", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Leticia Gutierrez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Chris Gober", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "August Pfluger", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 12, + "name": "Craig Goldman", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 13, + "name": "Ronny Jackson", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 14, + "name": "Randy Weber", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 15, + "name": "Bobby Pulido", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 16, + "name": "Veronica Escobar", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 17, + "name": "Pete Sessions", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 18, + "name": "Christian Menefee", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 19, + "name": "Tom Sell", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 20, + "name": "Joaquin Castro", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 21, + "name": "Mark Teixeira", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 22, + "name": "Trever Nehls", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 23, + "name": "Katy Padilla Stout", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 24, + "name": "Beth Van Duyne", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 25, + "name": "Roger Williams", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 26, + "name": "Brandon Gill", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 27, + "name": "Michael Cloud", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 28, + "name": "Henry Cuellar", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 29, + "name": "Sylvia Garcia", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 30, + "name": "Frederick Haynes III", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 31, + "name": "John Carter", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 32, + "name": "Jace Yarbrough", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 33, + "name": "Colin Allred", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 34, + "name": "Vicente Gonzalez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 35, + "name": "Johnny Garcia", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 36, + "name": "Brian Babin", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 37, + "name": "Greg Casar", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 38, + "name": "Jon Bonck", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "UT": [ + { + "district": 1, + "name": "Ben McAdams", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Blake Moore", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Celeste Maloy", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Mike Kennedy", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "VT": [ + { + "district": 0, + "name": "Becca Balint", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "VA": [ + { + "district": 1, + "name": "Shannon Taylor", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Elaine Luria", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Bobby Scott", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Jennifer McClellan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "John McGuire", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Ben Cline", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Eugene Vindman", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Don Beyer", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Morgan Griffith", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Suhas Subramanyam", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 11, + "name": "James Walkinshaw", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "WA": [ + { + "district": 1, + "name": "Suzan DelBene", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Rick Larsen", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Marie Gluesenkamp Perez", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Amanda McKinney", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Michael Baumgartner", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Emily Randall", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Pramila Jayapal", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Kim Schrier", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 9, + "name": "Adam Smith", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 10, + "name": "Marilyn Strickland", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "WV": [ + { + "district": 1, + "name": "Carol Miller", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Riley Moore", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "WI": [ + { + "district": 1, + "name": "Mitchell Berman", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 2, + "name": "Mark Pocan", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 3, + "name": "Rebecca Cooke", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 4, + "name": "Gwen Moore", + "party": "D", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 5, + "name": "Scott Fitzgerald", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 6, + "name": "Glenn Grothman", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 7, + "name": "Michael Alfonso", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + }, + { + "district": 8, + "name": "Tony Wied", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ], + "WY": [ + { + "district": 0, + "name": "Chuck Gray", + "party": "R", + "termEnd": "2029-01-03", + "status": "elected-2026", + "note": "" + } + ] + } +} \ No newline at end of file diff --git a/data/legislatures.json b/data/legislatures.json new file mode 100644 index 0000000..f6b15ac --- /dev/null +++ b/data/legislatures.json @@ -0,0 +1,1864 @@ +{ + "meta": { + "mode": "election", + "electionYear": 2026, + "asOf": "2026-11-13T14:35:08+00:00", + "sources": [ + "2026 United States state legislative elections", + "each state chamber's article" + ] + }, + "data": { + "AL": { + "upper": { + "name": "Alabama State Senate", + "seats": 35, + "D": 10, + "R": 24, + "I": 1, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Garlan Gudger", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Alabama House of Representatives", + "seats": 105, + "D": 31, + "R": 74, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Nathaniel Ledbetter", + "party": "R", + "termEnd": "2030-11", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 24 in 2026; 4-year term, Alabama legislators take office on election day (deduced)." + } + } + }, + "AK": { + "upper": { + "name": "Alaska State Senate", + "seats": 20, + "D": 7, + "R": 9, + "I": 0, + "vacant": 0, + "uncalled": 4, + "compositionNote": "Ranked-choice races in districts G, M, O and S not yet called. Before the election the Senate was run by a bipartisan coalition (9 D + 5 R); holdover seats: 5 D, 5 R.", + "leader": { + "title": "President of the Senate", + "name": "Gary Stevens", + "party": "R", + "termEnd": "2027-01", + "note": "Current leader; 2027 leader not yet chosen. Retiring (seat C was up in 2026). Leads the bipartisan coalition. Alaska terms begin in January after a gubernatorial election (deduced).", + "status": "current" + } + }, + "lower": { + "name": "Alaska House of Representatives", + "seats": 40, + "D": 14, + "R": 9, + "I": 5, + "vacant": 0, + "uncalled": 12, + "compositionNote": "12 ranked-choice races not yet called. Before the election a coalition of 14 D, 5 independents and 2 R held the majority.", + "leader": { + "title": "Speaker", + "name": "Bryce Edgmon", + "party": "I", + "termEnd": "2027-01", + "note": "Current leader; 2027 leader not yet chosen. Independent leading the bipartisan coalition; retiring (District 37 race not yet called). Alaska terms begin in January after a gubernatorial election (deduced).", + "status": "current" + } + } + }, + "AZ": { + "upper": { + "name": "Arizona State Senate", + "seats": 30, + "D": 20, + "R": 10, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "President of the Senate", + "name": "Warren Petersen", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Arizona House of Representatives", + "seats": 60, + "D": 37, + "R": 23, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "Speaker", + "name": "Steve Montenegro", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "AR": { + "upper": { + "name": "Arkansas Senate", + "seats": 35, + "D": 7, + "R": 28, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Bart Hester", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). District 33 seat not up in 2026; elected 2024 to a 4-year term (deduced)." + } + }, + "lower": { + "name": "Arkansas House of Representatives", + "seats": 100, + "D": 30, + "R": 70, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Brian S. Evans", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "CA": { + "upper": { + "name": "California State Senate", + "seats": 40, + "D": 32, + "R": 7, + "I": 0, + "vacant": 0, + "uncalled": 1, + "compositionNote": "District 6 not yet called (Wikipedia district table). Holdover odd-numbered seats: 16 D, 4 R.", + "leader": { + "title": "President pro tempore", + "name": "Monique Limón", + "party": "D", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; 2027 leader not yet chosen. District 21 not up in 2026; elected 2024 to a 4-year term (deduced).", + "status": "current" + } + }, + "lower": { + "name": "California State Assembly", + "seats": 80, + "D": 65, + "R": 12, + "I": 0, + "vacant": 0, + "uncalled": 3, + "compositionNote": "Districts 33, 72 and 74 not yet called (Wikipedia district table).", + "leader": { + "title": "Speaker", + "name": "Robert Rivas", + "party": "D", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in District 29 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "CO": { + "upper": { + "name": "Colorado State Senate", + "seats": 35, + "D": 24, + "R": 11, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "James Coleman", + "party": "D", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Chamber member list: next election 2028 (term-limited)." + } + }, + "lower": { + "name": "Colorado House of Representatives", + "seats": 65, + "D": 44, + "R": 15, + "I": 0, + "vacant": 0, + "uncalled": 6, + "compositionNote": "No result yet on Wikipedia for districts 15, 21, 22, 41, 43 and 51; counts from the election article's district table (no chamber totals published).", + "leader": { + "title": "Speaker", + "name": "Julie McCluskie", + "party": "D", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Term-limited; 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + }, + "CT": { + "upper": { + "name": "Connecticut State Senate", + "seats": 36, + "D": 33, + "R": 3, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Martin Looney", + "party": "D", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Connecticut House of Representatives", + "seats": 151, + "D": 116, + "R": 35, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Matthew Ritter", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "DE": { + "upper": { + "name": "Delaware State Senate", + "seats": 21, + "D": 15, + "R": 6, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "David Sokola", + "party": "D", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Delaware House of Representatives", + "seats": 41, + "D": 30, + "R": 11, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Melissa Minor-Brown", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "FL": { + "upper": { + "name": "Florida Senate", + "seats": 40, + "D": 13, + "R": 26, + "I": 1, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Ben Albritton", + "party": "R", + "termEnd": "2028", + "note": "Party deduced from the chamber's majority (not given in the infobox). Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Florida House of Representatives", + "seats": 120, + "D": 50, + "R": 70, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Sam Garrison", + "party": "R", + "termEnd": "2028-11", + "note": "Listed as Speaker from the November 17, 2026 organization session in the Florida House article. Re-elected in District 11 in 2026; Florida House terms begin upon election (deduced end November 2028)." + } + } + }, + "GA": { + "upper": { + "name": "Georgia State Senate", + "seats": 56, + "D": 27, + "R": 29, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Larry Walker III", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Georgia House of Representatives", + "seats": 180, + "D": 92, + "R": 88, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "Speaker", + "name": "Jon G. Burns", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "HI": { + "upper": { + "name": "Hawaii State Senate Ka Aha Kenekoa", + "seats": 25, + "D": 22, + "R": 3, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Ron Kouchi", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Hawaii House of Representatives Hale o nā Luna Makaʻāinana", + "seats": 51, + "D": 44, + "R": 6, + "I": 1, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Nadine Nakamura", + "party": "D", + "termEnd": "2028-11", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 15 in 2026; Hawaii terms run from general election to general election (deduced)." + } + } + }, + "ID": { + "upper": { + "name": "Idaho State Senate", + "seats": 35, + "D": 7, + "R": 28, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Kelly Anthon", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Idaho House of Representatives", + "seats": 70, + "D": 14, + "R": 56, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Mike Moyle", + "party": "R", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). His District 10A result is not shown in the district table; 2-year term to 2028 assumes re-election (deduced)." + } + } + }, + "IL": { + "upper": { + "name": "Illinois Senate", + "seats": 59, + "D": 45, + "R": 14, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Don Harmon", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Illinois House of Representatives", + "seats": 118, + "D": 0, + "R": 0, + "I": 0, + "vacant": 0, + "uncalled": 118, + "compositionNote": "Wikipedia has not published 2026 results for this chamber yet (before the election: 78 D, 40 R).", + "leader": { + "title": "Speaker", + "name": "Chris Welch", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "IN": { + "upper": { + "name": "Indiana Senate", + "seats": 50, + "D": 15, + "R": 35, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Election article: Democrats net +5. R count includes R. Michael Young, a registered Republican outside the Republican caucus (not up in 2026); the election infobox shows 34 R.", + "leader": { + "title": "President pro tempore", + "name": "Chris Garten", + "party": "R", + "termEnd": "2030", + "note": "Lieutenant governor presides. Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Succeeds Rodric Bray. His own District 45 race (narrow lead) was disputed per Wikipedia; 4-year term deduced if confirmed." + } + }, + "lower": { + "name": "Indiana House of Representatives", + "seats": 100, + "D": 46, + "R": 54, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Ben Smaltz", + "party": "R", + "termEnd": "2028", + "note": "Elected Speaker on November 4, 2026 after Todd Huston lost re-election (chamber article and election infobox). Re-elected in District 52 in 2026; 2-year term (deduced)." + } + } + }, + "IA": { + "upper": { + "name": "Iowa Senate", + "seats": 50, + "D": 18, + "R": 31, + "I": 0, + "vacant": 0, + "uncalled": 1, + "compositionNote": "1 seat(s) not yet called on Wikipedia.", + "leader": { + "title": "President of the Senate", + "name": "Amy Sinclair", + "party": "R", + "termEnd": "2029-01", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). District 12 not up in 2026; elected 2024 to a 4-year term, Iowa terms start in January after the election (deduced)." + } + }, + "lower": { + "name": "Iowa House of Representatives", + "seats": 100, + "D": 44, + "R": 56, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Pat Grassley", + "party": "R", + "termEnd": "2029-01", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). District 57; 2-year term, Iowa terms start in January after the election (deduced)." + } + } + }, + "KS": { + "upper": { + "name": "Kansas Senate", + "seats": 40, + "D": 9, + "R": 31, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No regular election for this chamber in 2026; current composition from the chamber article.", + "leader": { + "title": "President of the Senate", + "name": "Ty Masterson", + "party": "R", + "termEnd": "2029-01", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2024 to a 4-year term; Kansas terms begin the second Monday of January (deduced end January 2029)." + } + }, + "lower": { + "name": "Kansas House of Representatives", + "seats": 125, + "D": 57, + "R": 68, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Dan Hawkins", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "KY": { + "upper": { + "name": "Kentucky Senate", + "seats": 38, + "D": 8, + "R": 30, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Robert Stivers", + "party": "R", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). District 25 not up in 2026; elected 2024 to a 4-year term (deduced)." + } + }, + "lower": { + "name": "Kentucky House of Representatives", + "seats": 100, + "D": 26, + "R": 74, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "David Osborne", + "party": "R", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 59 in 2026; 2-year term (deduced)." + } + } + }, + "LA": { + "upper": { + "name": "Louisiana State Senate", + "seats": 39, + "D": 10, + "R": 28, + "I": 0, + "vacant": 1, + "uncalled": 0, + "compositionNote": "No regular election in 2026 (current composition from the chamber's member list; its infobox still shows 27 R). District 14 vacant, special election December 12, 2026.", + "leader": { + "title": "President of the Senate", + "name": "Cameron Henry", + "party": "R", + "termEnd": "2027", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2023 to a 4-year term; next regular election 2027 (deduced)." + } + }, + "lower": { + "name": "Louisiana House of Representatives fr es", + "seats": 105, + "D": 32, + "R": 70, + "I": 0, + "vacant": 3, + "uncalled": 0, + "compositionNote": "No regular election for this chamber in 2026; current composition from the chamber article.", + "leader": { + "title": "Speaker", + "name": "Phillip DeVillier", + "party": "R", + "termEnd": "2027", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2023 to a 4-year term; next regular election 2027 (deduced)." + } + } + }, + "ME": { + "upper": { + "name": "Maine State Senate", + "seats": 35, + "D": 24, + "R": 11, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Mattie Daughtry", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Maine House of Representatives", + "seats": 151, + "D": 87, + "R": 61, + "I": 3, + "vacant": 0, + "uncalled": 0, + "compositionNote": "D/R from the election article infobox; 3 independents per the main 2026 elections page. The House also has 3 non-voting tribal members (not counted).", + "leader": { + "title": "Speaker", + "name": "Ryan Fecteau", + "party": "D", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. His District 132 result is not shown on Wikipedia; current 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + }, + "MD": { + "upper": { + "name": "Maryland Senate", + "seats": 47, + "D": 35, + "R": 12, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Bill Ferguson", + "party": "D", + "termEnd": "2030", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 46 in 2026; 4-year term (deduced)." + } + }, + "lower": { + "name": "Maryland House of Delegates", + "seats": 141, + "D": 106, + "R": 35, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "From the election article infobox (main 2026 elections page not yet filled).", + "leader": { + "title": "Speaker", + "name": "Joseline Peña-Melnyk", + "party": "D", + "termEnd": "2030", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). District 21; 4-year term (deduced)." + } + } + }, + "MA": { + "upper": { + "name": "Massachusetts Senate", + "seats": 40, + "D": 35, + "R": 5, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Karen Spilka", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Massachusetts House of Representatives", + "seats": 160, + "D": 137, + "R": 21, + "I": 1, + "vacant": 0, + "uncalled": 1, + "compositionNote": "2nd Plymouth not yet called (Wikipedia district table). 1 independent (Susannah Whipps).", + "leader": { + "title": "Speaker", + "name": "Ron Mariano", + "party": "D", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in 3rd Norfolk in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "MI": { + "upper": { + "name": "Michigan State Senate", + "seats": 38, + "D": 23, + "R": 15, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Jeremy Moss", + "party": "D", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Michigan House of Representatives", + "seats": 110, + "D": 63, + "R": 47, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "Speaker", + "name": "Matt Hall", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "MN": { + "upper": { + "name": "Minnesota Senate", + "seats": 67, + "D": 39, + "R": 28, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Bobby Joe Champion", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Minnesota House of Representatives", + "seats": 134, + "D": 77, + "R": 57, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Lisa Demuth", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "MS": { + "upper": { + "name": "Mississippi State Senate", + "seats": 52, + "D": 18, + "R": 34, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No regular election for this chamber in 2026; current composition from the chamber article.", + "leader": { + "title": "President pro tempore", + "name": "Dean Kirby", + "party": "R", + "termEnd": "2027", + "note": "Lieutenant governor presides. Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2023 to a 4-year term; next regular election 2027 (deduced)." + } + }, + "lower": { + "name": "Mississippi House of Representatives", + "seats": 122, + "D": 42, + "R": 78, + "I": 2, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No regular election for this chamber in 2026; current composition from the chamber article.", + "leader": { + "title": "Speaker", + "name": "Jason White", + "party": "R", + "termEnd": "2027", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2023 to a 4-year term (chamber lists his session as 2024-2028); next regular election 2027 (deduced)." + } + } + }, + "MO": { + "upper": { + "name": "Missouri Senate", + "seats": 34, + "D": 12, + "R": 22, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Cindy O'Laughlin", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Missouri House of Representatives", + "seats": 163, + "D": 0, + "R": 0, + "I": 0, + "vacant": 0, + "uncalled": 163, + "compositionNote": "Wikipedia has not published 2026 results for this chamber yet (before the election: 52 D, 111 R).", + "leader": { + "title": "Speaker", + "name": "Jon Patterson", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "MT": { + "upper": { + "name": "Montana State Senate", + "seats": 50, + "D": 20, + "R": 30, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Matt Regier", + "party": "R", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). District 5 not up in 2026; elected 2024 to a 4-year term (deduced)." + } + }, + "lower": { + "name": "Montana House of Representatives", + "seats": 100, + "D": 44, + "R": 56, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Katie Zolnikov", + "party": "R", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Succeeds Brandon Ler. Won District 44 in 2026; 2-year term (deduced)." + } + } + }, + "NE": { + "upper": { + "name": "Nebraska Legislature", + "seats": 49, + "D": 17, + "R": 28, + "I": 0, + "vacant": 0, + "uncalled": 4, + "compositionNote": "Unicameral and officially nonpartisan; counts use members' party affiliation as Wikipedia reports it. Districts 4, 14, 18 and 36 not yet called. Holdover odd-numbered seats: 15 R, 9 D (the infobox's 31 R / 16 D / 2 I does not match the district table).", + "leader": { + "title": "Speaker of the Legislature", + "name": "John Arch", + "party": "R", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Nonpartisan chamber; party is his affiliation. Term-limited; District 14 result not yet called. Term ends with the 2026 cycle (deduced).", + "status": "current" + } + }, + "lower": null + }, + "NV": { + "upper": { + "name": "Nevada State Senate", + "seats": 21, + "D": 13, + "R": 8, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Marilyn Dondero Loop", + "party": "D", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Nevada State Assembly", + "seats": 42, + "D": 0, + "R": 0, + "I": 0, + "vacant": 0, + "uncalled": 42, + "compositionNote": "Wikipedia has not published 2026 results for this chamber yet (before the election: 27 D, 15 R).", + "leader": { + "title": "Speaker", + "name": "Steve Yeager", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "NH": { + "upper": { + "name": "New Hampshire State Senate", + "seats": 24, + "D": 15, + "R": 9, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "President of the Senate", + "name": "Rebecca Perkins Kwoka", + "party": "D", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 21 in 2026; 2-year term (deduced)." + } + }, + "lower": { + "name": "New Hampshire House of Representatives", + "seats": 400, + "D": 292, + "R": 107, + "I": 1, + "vacant": 0, + "uncalled": 0, + "compositionNote": "D/R from the election article infobox; 1 independent per the main 2026 elections page. Democrats flipped the chamber; the district table is mostly not filled in yet.", + "leader": { + "title": "Speaker", + "name": "Sherman Packard", + "party": "R", + "termEnd": "2026", + "note": "Current leader; 2027 leader not yet chosen. Democrats won the House. His Rockingham 16 result is not shown on Wikipedia; current 2-year term ends with the 2026 cycle (deduced).", + "status": "current" + } + } + }, + "NJ": { + "upper": { + "name": "New Jersey Senate", + "seats": 40, + "D": 25, + "R": 15, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No regular election for this chamber in 2026; current composition from the chamber article.", + "leader": { + "title": "President of the Senate", + "name": "Nicholas Scutari", + "party": "D", + "termEnd": "2027", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2023 to a 4-year term; next election 2027 (deduced)." + } + }, + "lower": { + "name": "New Jersey General Assembly", + "seats": 80, + "D": 57, + "R": 23, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No regular election for this chamber in 2026; current composition from the chamber article.", + "leader": { + "title": "Speaker", + "name": "Craig Coughlin", + "party": "D", + "termEnd": "2027", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2025 to a 2-year term (deduced)." + } + } + }, + "NM": { + "upper": { + "name": "New Mexico State Senate", + "seats": 42, + "D": 26, + "R": 16, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No regular election for this chamber in 2026; current composition from the chamber article.", + "leader": { + "title": "President pro tempore", + "name": "Mimi Stewart", + "party": "D", + "termEnd": "2028", + "note": "Lieutenant governor presides. Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2024 to a 4-year term (deduced)." + } + }, + "lower": { + "name": "New Mexico House of Representatives", + "seats": 70, + "D": 47, + "R": 23, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Javier Martínez", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "NY": { + "upper": { + "name": "New York State Senate", + "seats": 63, + "D": 48, + "R": 15, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Temporary President", + "name": "Andrea Stewart-Cousins", + "party": "D", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "New York State Assembly", + "seats": 150, + "D": 111, + "R": 39, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Carl Heastie", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "NC": { + "upper": { + "name": "North Carolina Senate", + "seats": 50, + "D": 24, + "R": 26, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Phil Berger", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "North Carolina House of Representatives", + "seats": 120, + "D": 71, + "R": 48, + "I": 1, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "Speaker", + "name": "Destin Hall", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "ND": { + "upper": { + "name": "North Dakota State Senate", + "seats": 47, + "D": 6, + "R": 41, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Kyle Davison", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "North Dakota House of Representatives", + "seats": 94, + "D": 3, + "R": 43, + "I": 0, + "vacant": 0, + "uncalled": 48, + "compositionNote": "Wikipedia has not published results for the 48 odd-district seats up in 2026; D/R are the holdover even-district seats (D = Democratic-NPL).", + "leader": { + "title": "Speaker", + "name": "Robin Weisz", + "party": "R", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. District 14 not up in 2026; elected 2024 to a 4-year term (deduced).", + "status": "current" + } + } + }, + "OH": { + "upper": { + "name": "Ohio Senate", + "seats": 33, + "D": 11, + "R": 22, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Rob McColley", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Ohio House of Representatives", + "seats": 99, + "D": 42, + "R": 52, + "I": 0, + "vacant": 0, + "uncalled": 5, + "compositionNote": "Districts 29, 37, 44, 72 and 75 not yet called (Wikipedia district table).", + "leader": { + "title": "Speaker", + "name": "Matt Huffman", + "party": "R", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in District 78 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "OK": { + "upper": { + "name": "Oklahoma Senate", + "seats": 48, + "D": 8, + "R": 40, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Lonnie Paxton", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Oklahoma House of Representatives", + "seats": 101, + "D": 26, + "R": 75, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Kyle Hilbert", + "party": "R", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 29 in 2026; 2-year term (deduced)." + } + } + }, + "OR": { + "upper": { + "name": "Oregon State Senate", + "seats": 30, + "D": 19, + "R": 11, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Rob Wagner", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Oregon House of Representatives", + "seats": 60, + "D": 39, + "R": 21, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Julie Fahey", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "PA": { + "upper": { + "name": "Pennsylvania State Senate", + "seats": 50, + "D": 26, + "R": 24, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "President pro tempore", + "name": "Kim Ward", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Pennsylvania House of Representatives", + "seats": 203, + "D": 113, + "R": 90, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Joanna McClinton", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "RI": { + "upper": { + "name": "Rhode Island Senate", + "seats": 38, + "D": 36, + "R": 2, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Valarie Lawson", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Rhode Island House of Representatives", + "seats": 75, + "D": 0, + "R": 0, + "I": 0, + "vacant": 0, + "uncalled": 75, + "compositionNote": "Wikipedia has not published 2026 results for this chamber yet (before the election: 64 D, 10 R, 1 I).", + "leader": { + "title": "Speaker", + "name": "Chris Blazejweski", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "SC": { + "upper": { + "name": "South Carolina State Senate", + "seats": 46, + "D": 12, + "R": 34, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No regular election for this chamber in 2026; current composition from the chamber article.", + "leader": { + "title": "President of the Senate", + "name": "Thomas Alexander", + "party": "R", + "termEnd": "2029-01", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Chamber article: all Senate terms expire in January 2029." + } + }, + "lower": { + "name": "South Carolina House of Representatives", + "seats": 124, + "D": 45, + "R": 79, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Murrell Smith", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "SD": { + "upper": { + "name": "South Dakota Senate", + "seats": 35, + "D": 0, + "R": 0, + "I": 0, + "vacant": 0, + "uncalled": 35, + "compositionNote": "Wikipedia has not published 2026 results for this chamber yet (before the election: 3 D, 32 R).", + "leader": { + "title": "President pro tempore", + "name": "Chris Karr", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "South Dakota House of Representatives", + "seats": 70, + "D": 10, + "R": 59, + "I": 1, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Jon Hansen", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "TN": { + "upper": { + "name": "Senate of Tennessee", + "seats": 33, + "D": 6, + "R": 27, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker of the Senate", + "name": "Randy McNally", + "party": "R", + "termEnd": "2028", + "note": "Also lieutenant governor. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Tennessee House of Representatives", + "seats": 99, + "D": 30, + "R": 69, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Cameron Sexton", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "TX": { + "upper": { + "name": "Texas Senate", + "seats": 31, + "D": 12, + "R": 19, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Charles Perry", + "party": "R", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Texas House of Representatives", + "seats": 150, + "D": 83, + "R": 64, + "I": 0, + "vacant": 0, + "uncalled": 3, + "compositionNote": "Counted from the election article's district table (districts 26, 61, 67 not yet called); its infobox shows an older 79 D / 63 R. Democrats flipped the chamber.", + "leader": { + "title": "Speaker", + "name": "Dustin Burrows", + "party": "R", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Democrats won the House. Re-elected in District 83 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "UT": { + "upper": { + "name": "Utah State Senate", + "seats": 29, + "D": 8, + "R": 12, + "I": 0, + "vacant": 0, + "uncalled": 9, + "compositionNote": "Only the Democratic total (8) is published on Wikipedia; the 9 remaining seats up in 2026 (previously R or Forward) are shown as uncalled. R = holdover seats only. Before the election 1 member belonged to the Forward Party.", + "leader": { + "title": "President of the Senate", + "name": "J. Stuart Adams", + "party": "R", + "termEnd": "2027-01-01", + "note": "Current leader; 2027 leader not yet chosen. Lost renomination; new senators take office January 1, 2027 (election article).", + "status": "current" + } + }, + "lower": { + "name": "Utah House of Representatives", + "seats": 75, + "D": 24, + "R": 43, + "I": 2, + "vacant": 0, + "uncalled": 6, + "compositionNote": "Counted from the election article's district table (districts 4, 20, 44, 48, 59, 61 not yet called); 2 independents.", + "leader": { + "title": "Speaker", + "name": "Mike Schultz", + "party": "R", + "termEnd": "2028", + "note": "Current leader; 2027 leader not yet chosen. Re-elected in District 12 in 2026; 2-year term (deduced).", + "status": "current" + } + } + }, + "VT": { + "upper": { + "name": "Vermont State Senate", + "seats": 30, + "D": 20, + "R": 8, + "I": 2, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Philip Baruth", + "party": "D", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Vermont House of Representatives", + "seats": 150, + "D": 102, + "R": 38, + "I": 10, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Jill Krowinski", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "VA": { + "upper": { + "name": "Senate of Virginia", + "seats": 40, + "D": 21, + "R": 19, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No regular election for this chamber in 2026; current composition from the chamber article.", + "leader": { + "title": "President pro tempore", + "name": "L. Louise Lucas", + "party": "D", + "termEnd": "2027", + "note": "Lieutenant governor presides. Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2023 to a 4-year term; next election 2027 (deduced)." + } + }, + "lower": { + "name": "Virginia House of Delegates", + "seats": 100, + "D": 64, + "R": 36, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "No regular election for this chamber in 2026; current composition from the chamber article.", + "leader": { + "title": "Speaker", + "name": "Don Scott", + "party": "D", + "termEnd": "2027", + "note": "Chamber had no regular election in 2026; current leader for the term continuing into 2027. Elected 2025 to a 2-year term (deduced)." + } + } + }, + "WA": { + "upper": { + "name": "Washington State Senate", + "seats": 49, + "D": 31, + "R": 18, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President pro tempore", + "name": "Steve Conway", + "party": "D", + "termEnd": "2028", + "note": "Lieutenant governor presides. Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "House of Representatives of Washington", + "seats": 98, + "D": 66, + "R": 32, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Laurie Jinkins", + "party": "D", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + }, + "WV": { + "upper": { + "name": "West Virginia Senate", + "seats": 34, + "D": 4, + "R": 30, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Randy Smith", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "West Virginia House of Delegates", + "seats": 100, + "D": 21, + "R": 79, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Roger Hanshaw", + "party": "R", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Only candidate listed in District 62; 2-year term (deduced)." + } + } + }, + "WI": { + "upper": { + "name": "Wisconsin Senate", + "seats": 33, + "D": 18, + "R": 15, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "President of the Senate", + "name": "Mark Spreitzer", + "party": "D", + "termEnd": "2030", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 15 in 2026; 4-year term (deduced)." + } + }, + "lower": { + "name": "Wisconsin State Assembly", + "seats": 99, + "D": 53, + "R": 46, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "Democrats flipped the chamber.", + "leader": { + "title": "Speaker", + "name": "Greta Neubauer", + "party": "D", + "termEnd": "2028", + "note": "Named as the post-election leader in the infobox of Wikipedia's 2026 election article (formal vote when the chamber organizes). Re-elected in District 66 in 2026; 2-year term (deduced)." + } + } + }, + "WY": { + "upper": { + "name": "Wyoming State Senate", + "seats": 31, + "D": 2, + "R": 29, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "President of the Senate", + "name": "Bo Biteman", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + }, + "lower": { + "name": "Wyoming House of Representatives", + "seats": 62, + "D": 7, + "R": 55, + "I": 0, + "vacant": 0, + "uncalled": 0, + "compositionNote": "", + "leader": { + "title": "Speaker", + "name": "Chip Neiman", + "party": "R", + "termEnd": "2028", + "note": "Current leader; the leader for the new session may not be chosen yet. Leaders serve one legislative session; end deduced from the next regular election (2028).", + "status": "current" + } + } + } + } +} \ No newline at end of file diff --git a/data/meta.json b/data/meta.json new file mode 100644 index 0000000..1f01184 --- /dev/null +++ b/data/meta.json @@ -0,0 +1,21 @@ +{ + "lastRun": { + "startedAt": "2026-11-13T14:34:53+00:00", + "finishedAt": "2026-11-13T14:35:08+00:00", + "mode": "election", + "requestedMode": "auto", + "electionYear": 2026, + "updated": [ + "governors", + "house", + "legislatures", + "senate" + ], + "warnings": [ + "State legislatures: previous figures kept for 1 chamber(s) whose Wikipedia data did not add up: Louisiana State Senate (infobox seats add up to 37 instead of 39).", + "State legislatures: Wikipedia has no 2026 results yet for 16 chamber(s); the earlier figures were kept: Alaska State Senate, Alaska House of Representatives, California State Senate, California State Assembly, Colorado House of Representatives, Indiana State Senate, Maine House of Representatives, Maryland House of Delegates, Massachusetts House of Representatives, Nebraska Legislature, New Hampshire House of Representatives, North Dakota House of Representatives, Ohio House of Representatives, Texas House of Representatives, Utah State Senate, Utah House of Representatives." + ], + "requests": 9 + }, + "seedFooter": "Data: English Wikipedia (2026 U.S. Senate, House, gubernatorial and state legislative election articles, the current-officeholder lists and each state's “Governor of …” and legislature articles), read on November 13, 2026, ten days after the election. Results that were not final on that date are marked “Not yet called”. State legislature leaders for 2027 are often chosen in December or January; where none was named yet, the current leader is shown and noted." +} \ No newline at end of file diff --git a/data/senate.json b/data/senate.json new file mode 100644 index 0000000..2990e1f --- /dev/null +++ b/data/senate.json @@ -0,0 +1,913 @@ +{ + "meta": { + "mode": "election", + "electionYear": 2026, + "asOf": "2026-11-13T14:35:02+00:00", + "sources": [ + "2026 United States Senate elections", + "List of current United States senators" + ] + }, + "data": { + "AL": [ + { + "name": "Barry Moore", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Katie Britt", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "AK": [ + { + "name": null, + "party": null, + "termEnd": "2033-01-03", + "class": 2, + "status": "uncalled", + "note": "Not yet called; Mary Peltola (D) vs Dan S. Sullivan (R)." + }, + { + "name": "Lisa Murkowski", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "AZ": [ + { + "name": "Ruben Gallego", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Mark Kelly", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "AR": [ + { + "name": "Tom Cotton", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "John Boozman", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "CA": [ + { + "name": "Adam Schiff", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Alex Padilla", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "CO": [ + { + "name": "John Hickenlooper", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Michael Bennet", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "CT": [ + { + "name": "Chris Murphy", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Richard Blumenthal", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "DE": [ + { + "name": "Lisa Blunt Rochester", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Chris Coons", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "FL": [ + { + "name": "Rick Scott", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Ashley Moody", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "elected-2026", + "note": "Won 2026 special election for the remainder of the Class 3 term." + } + ], + "GA": [ + { + "name": "Jon Ossoff", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Raphael Warnock", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "HI": [ + { + "name": "Mazie Hirono", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Brian Schatz", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "ID": [ + { + "name": "Jim Risch", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Mike Crapo", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "IL": [ + { + "name": "Juliana Stratton", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Tammy Duckworth", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "IN": [ + { + "name": "Jim Banks", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Todd Young", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "IA": [ + { + "name": "Josh Turek", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Chuck Grassley", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "KS": [ + { + "name": "Adam Hamilton", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Jerry Moran", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "KY": [ + { + "name": "Andy Barr", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Rand Paul", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "LA": [ + { + "name": "Julia Letlow", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "John Kennedy", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "ME": [ + { + "name": "Angus King", + "party": "I", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "Independent, caucuses with Democrats." + }, + { + "name": "Troy Jackson", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "MD": [ + { + "name": "Angela Alsobrooks", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Chris Van Hollen", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "MA": [ + { + "name": "Elizabeth Warren", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Ed Markey", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "MI": [ + { + "name": "Elissa Slotkin", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Abdul El-Sayed", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "MN": [ + { + "name": "Amy Klobuchar", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "Elected Governor of Minnesota in 2026; the Senate seat will be filled after the new governor takes office." + }, + { + "name": "Peggy Flanagan", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "MS": [ + { + "name": "Roger Wicker", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Scott Colom", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "MO": [ + { + "name": "Josh Hawley", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Eric Schmitt", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "MT": [ + { + "name": "Tim Sheehy", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Kurt Alme", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "NE": [ + { + "name": "Deb Fischer", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Pete Ricketts", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "NV": [ + { + "name": "Jacky Rosen", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Catherine Cortez Masto", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "NH": [ + { + "name": "Chris Pappas", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Maggie Hassan", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "NJ": [ + { + "name": "Andy Kim", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Cory Booker", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "NM": [ + { + "name": "Martin Heinrich", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Ben Ray Luján", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "NY": [ + { + "name": "Kirsten Gillibrand", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Chuck Schumer", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "NC": [ + { + "name": "Roy Cooper", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Ted Budd", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "ND": [ + { + "name": "Kevin Cramer", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "John Hoeven", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "OH": [ + { + "name": "Bernie Moreno", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Sherrod Brown", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "elected-2026", + "note": "Won 2026 special election for the remainder of the Class 3 term." + } + ], + "OK": [ + { + "name": "Kevin Hern", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "James Lankford", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "OR": [ + { + "name": "Jeff Merkley", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Ron Wyden", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "PA": [ + { + "name": "Dave McCormick", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "John Fetterman", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "RI": [ + { + "name": "Sheldon Whitehouse", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Jack Reed", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "SC": [ + { + "name": "Annie Andrews", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "Tim Scott", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "SD": [ + { + "name": "Mike Rounds", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + }, + { + "name": "John Thune", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "TN": [ + { + "name": "Marsha Blackburn", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "Elected Governor of Tennessee in 2026; the Senate seat will be filled after the new governor takes office." + }, + { + "name": "Bill Hagerty", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "TX": [ + { + "name": "Ted Cruz", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "James Talarico", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "UT": [ + { + "name": "John Curtis", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Mike Lee", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "VT": [ + { + "name": "Bernie Sanders", + "party": "I", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "Independent, caucuses with Democrats." + }, + { + "name": "Peter Welch", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "VA": [ + { + "name": "Tim Kaine", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Mark Warner", + "party": "D", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "WA": [ + { + "name": "Maria Cantwell", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Patty Murray", + "party": "D", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "WV": [ + { + "name": "Jim Justice", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Shelley Moore Capito", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ], + "WI": [ + { + "name": "Tammy Baldwin", + "party": "D", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Ron Johnson", + "party": "R", + "termEnd": "2029-01-03", + "class": 3, + "status": "continuing", + "note": "" + } + ], + "WY": [ + { + "name": "John Barrasso", + "party": "R", + "termEnd": "2031-01-03", + "class": 1, + "status": "continuing", + "note": "" + }, + { + "name": "Harriet Hageman", + "party": "R", + "termEnd": "2033-01-03", + "class": 2, + "status": "elected-2026", + "note": "" + } + ] + } +} \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..b3024bc --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +services: + app: + build: . + image: us-officeholders-map:latest + ports: + - "127.0.0.1:8080:8080" + volumes: + - ./data:/data + environment: + UPDATE_MODE: ${UPDATE_MODE:-auto} + restart: unless-stopped