Twinkle HubTwinkle Hub

立法院院會表決查詢(各黨怎麼投)

tw_ly_vote_lookup

更多工具 · 同一族🇹🇼 台灣唯讀

關鍵字 / Keywords: 立法院 院會 表決 記名表決 投票 贊成 反對 棄權 各黨 黨團 三讀 roll call vote party Taiwan Legislative Yuan

【Region】Taiwan (ROC · 中華民國) 立法院。

【何時用】想知道某一案院會記名表決的結果:誰贊成、誰反對、誰棄權、各黨怎麼投、 哪些委員當天在任卻沒有投票紀錄。(某位委員自己投過什麼 → tw_ly_legislator_profile 的 votes 區塊)

兩步:

  1. 搜尋:給 query(案由關鍵字,例「罷免法 三讀」,空白分隔 = 全部要出現)及 / 或 term、日期 → 表決清單(新到舊),每筆有官方票數與 vote_id;
  2. 明細:給 vote_id → 各黨各選項人數(by_party)、依選項列出委員(legislators)、no_record。

Args: query: 案由關鍵字(子字串比對,100 字以內)。 vote_id: 搜尋結果裡的 vote_id;給了就不要再給其他條件(query 留空或不給)。 term: 屆別(例 11)。 date_from / date_to: 西元 YYYY-MM-DD(表決日)。 limit: 搜尋一次回幾筆(1–50)。 cursor: 上一次回傳的 next_cursor(條件要相同)。 vote_kind: 只看某一類表決:final_passage(全案表決 = 三讀通過與否)、motion_third_reading(提議三讀,程序)、 amendment / re_amendment(修正 / 再修正動議,條文)、reconsideration(復議)、other。

⚠ 使用者問「某法三讀誰贊成」→ 先找 vote_kind="final_passage"(案由含「全案表決」或「全案付表決」); 查不到時不加 vote_kind,用日期把那天的表決全部列出來再判斷(案由寫法不一)。同一天同一法案常有 修正動議、提議三讀、全案表決好幾筆,票數不同 —— 列出來說明差別,不要挑一筆冒充三讀。

Returns: 搜尋:{total, votes: [{vote_id, date, meeting, issue, term, vote_kind, official: {agree, against, abstain}}], next_cursor, coverage} 明細:{vote: {vote_id, date, meeting, issue, term, vote_kind, vote_kind_label, re_vote}, official, named, unmatched, unresolved, by_party: {黨: {贊成, 反對, 棄權}}, legislators: {agree, against, abstain: [{id, name, party}]}, no_record: {count, legislators, unknown_tenure?, note}, coverage} 官方票數(official)與名單人數(named)可能不一致,差額在 unmatched;回答時兩個都要照實說。 by_party 與 legislators 依名單計,不含對不到委員名錄的票(那些的數量在 unresolved)。 搜尋最多翻到前 200 筆;要找更舊的表決請加關鍵字或日期縮小範圍。 黨籍取自委員名錄最近一次登記,不一定是表決當時的黨籍。 資料來源為立法院開放資料 #370,收錄自第 10 屆第 7 會期(2023-02-21)起;上游並非每場院會都有釋出記名表決, 查無結果不代表當天沒有表決 —— 要說「官方開放資料沒有收錄」。

參數

參數型別說明
querystring—
vote_idstring—
terminteger—
date_fromstring—
date_tostring—
limitinteger—
cursorstring—
vote_kindstring—
原始 JSON schema
{
  "properties": {
    "query": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Query"
    },
    "vote_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Vote Id"
    },
    "term": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Term"
    },
    "date_from": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Date From"
    },
    "date_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Date To"
    },
    "limit": {
      "default": 10,
      "title": "Limit",
      "type": "integer"
    },
    "cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Cursor"
    },
    "vote_kind": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Vote Kind"
    }
  },
  "title": "tw_ly_vote_lookupArguments",
  "type": "object",
  "additionalProperties": false
}

呼叫​方式

起手式——參數見上表
tw_ly_vote_lookup({ query: "…" })