Voting
We collect voting data from both the House of Representatives and the Senate using VoteEvent to represent voting events and Vote to represent the casting of votes by each Person.
The voting options (property option in Vote) in parliamentary votes generally have 5 formats:
- Agree (เห็นด้วย)
- Disagree (ไม่เห็นด้วย)
- Abstain (งดออกเสียง)
- No Vote (ไม่ลงคะแนนเสียง)
- Absent (ลา / ขาดลงมติ)
For example, the draft Budget Act 2021 (Section 3) and the voting of the 20 sample participants.
VoteEvent
Person
Vote
VoteEvent
การลงมติ
- id: fd854f98-a9c0-4ef2-b007-58821da695dc
- title: ร่างพระราชบัญญัติงบประมาณรายจ่ายประจำปีงบประมาณ พ.ศ. 2564
- nickname: ร่าง พ.ร.บ. งบประมาณ 2564 (วาระ 3)
- publish_status: PUBLISHED
- start_date: 2020-09-18
- result: ผ่าน
- votes:
- Abstain
- Absent
- Agree
- Agree
- Agree
- Disagree
- Agree
- Disagree
- Absent
- Agree
- Agree
- Disagree
- Agree
- Agree
- Disagree
- Disagree
- Agree
- Agree
- Agree
- Agree
*Only showing nodes, properties, and relationships from the query see full schema
query VoteEvents( $where: VoteEventWhere $limit: Int $votesWhere2: VoteWhere $votesLimit2: Int) { voteEvents(where: $where, limit: $limit) { id title nickname publish_status start_date result votes(where: $votesWhere2, limit: $votesLimit2) { id option_en voters { id name name_en } } }}{ "where": { "id_EQ": "fd854f98-a9c0-4ef2-b007-58821da695dc" }, "votesWhere2": { "voters_ALL": { "NOT": { "firstname_en_EQ": null } } }, "votesLimit2": 20}{ "data": { "voteEvents": [ { "__typename": "VoteEvent", "id": "fd854f98-a9c0-4ef2-b007-58821da695dc", "title": "ร่างพระราชบัญญัติงบประมาณรายจ่ายประจำปีงบประมาณ พ.ศ. 2564", "nickname": "ร่าง พ.ร.บ. งบประมาณ 2564 (วาระ 3)", "publish_status": "PUBLISHED", "start_date": "2020-09-18", "result": "ผ่าน", "votes": [ { "__typename": "Vote", "id": "c4b3c81d-4093-4c42-9cdc-117848a78f7f", "option_en": "Disagree", "voters": [ { "__typename": "Person", "id": "4f99563f-23d5-4602-8eeb-8eb8a0e1504d", "name": "นิคม บุญวิเศษ", "name_en": "Nikhom Boonvises" } ] }, { "__typename": "Vote", "id": "0d700825-7bb7-424b-8aea-e89c16af24c8", "option_en": "Agree", "voters": [ { "__typename": "Person", "id": "0f7b2f13-62e8-40d6-8b1b-45c6afc3ee2c", "name": "นันทนา สงฆ์ประชา", "name_en": "Nantana Songpracha" } ] }, { "__typename": "Vote", "id": "fd4a0403-f4e4-44bf-9ce4-bb3a89f3f922", "option_en": "Agree", "voters": [ { "__typename": "Person", "id": "fafe1fa2-345b-4dcc-b830-386bf159cc72", "name": "สุรทิน พิจารณ์", "name_en": "Surathin Phichan" } ] }, { "__typename": "Vote", "id": "6849d263-1203-4b3c-b82a-c9bcd084ac80", "option_en": "Agree", "voters": [ { "__typename": "Person", "id": "95de0377-402b-40f9-8427-8fa5a116f8ef", "name": "ปรีดา บุญเพลิง", "name_en": "Preeda Boonplerng" } ] }, { "__typename": "Vote", "id": "9aea9967-1703-452c-b917-36e38a758046", "option_en": "Agree", "voters": [ { "__typename": "Person", "id": "3e76b149-a768-48d7-a344-874da9e22341", "name": "สุพล จุลใส", "name_en": "Supol Jullasai" } ] }, { "__typename": "Vote", "id": "07db5ea6-cfd1-4c91-8ca7-a515166f8912", "option_en": "Abstain", "voters": [ { "__typename": "Person", "id": "7d79aa62-12f9-4055-9bf5-f8c5b21118de", "name": "ปิยะรัฐชย์ ติยะไพรัช", "name_en": "Piyarat Tiyapairat" } ] }, { "__typename": "Vote", "id": "46e6f9fd-f399-4258-8106-a98cc92f250d", "option_en": "Agree", "voters": [ { "__typename": "Person", "id": "d3e6aad2-6268-4910-8fc3-1512dd2d6eb8", "name": "ชัชวาลล์ คงอุดม", "name_en": "Chuctchawan Kongudom" } ] }, { "__typename": "Vote", "id": "5f879317-c0a3-4fd1-9248-6bb4da3d5afa", "option_en": "Agree", "voters": [ { "__typename": "Person", "id": "d60b6907-fd1a-4e22-8b85-830e047712bb", "name": "นิยม วิวรรธนดิฐกุล", "name_en": "Niyom Wiwattanadittakun" } ] }, { "__typename": "Vote", "id": "66b28b70-b8ad-49aa-bc35-a82a7ac32359", "option_en": "Absent", "voters": [ { "__typename": "Person", "id": "47f5cbd9-248b-4152-b350-ea7ae21a803b", "name": "กมลศักดิ์ ลีวาเมาะ", "name_en": "Kamonsak Leewamoh" } ] }, { "__typename": "Vote", "id": "96c062b0-ac2c-4a81-bfa4-3569d07693a2", "option_en": "Disagree", "voters": [ { "__typename": "Person", "id": "cd82a600-1703-42c5-ad6d-e97e4cd62ebe", "name": "อับดุลอายี สาแม็ง", "name_en": "Abdul-ayee Samang" } ] }, { "__typename": "Vote", "id": "65546b6b-3670-4da3-9ca5-68e0c1ed811b", "option_en": "Disagree", "voters": [ { "__typename": "Person", "id": "d72a4fff-2622-472e-9144-43d9658f19bb", "name": "สมมุติ เบ็ญจลักษณ์", "name_en": "Sommut Benjalak" } ] }, { "__typename": "Vote", "id": "4b3fdd93-ef4d-4992-8a3b-8d59e24e2908", "option_en": "Disagree", "voters": [ { "__typename": "Person", "id": "f1ba25da-9e84-4b53-8f2a-bdc719b3440b", "name": "ทวี สอดส่อง", "name_en": "Tawee Sodsong" } ] }, { "__typename": "Vote", "id": "c621376f-485c-4f9a-8226-92ffff3750eb", "option_en": "Disagree", "voters": [ { "__typename": "Person", "id": "54385e70-51f5-4722-8938-e5ad47e104e3", "name": "ซูการ์โน มะทา", "name_en": "Sugarno Matha" } ] }, { "__typename": "Vote", "id": "08e109aa-46ad-4a0a-966c-57a030bb451f", "option_en": "Absent", "voters": [ { "__typename": "Person", "id": "a68652fc-431a-4417-80ab-3428cd792613", "name": "พาณุวัฒณ์ สะสมทรัพย์", "name_en": "Panuwat Sasomsub" } ] }, { "__typename": "Vote", "id": "9bea25e4-3035-4050-9e58-be88fc607bb1", "option_en": "Agree", "voters": [ { "__typename": "Person", "id": "07d7a333-df24-4002-a40f-675e92dba30c", "name": "อนุรักษ์ จุรีมาศ", "name_en": "Anurak Chureemas" } ] }, { "__typename": "Vote", "id": "c9ef5171-aef9-4078-b495-b7c34c40511b", "option_en": "Agree", "voters": [ { "__typename": "Person", "id": "0a370038-6b31-4068-9deb-78b07bb266c9", "name": "เสมอกัน เที่ยงธรรม", "name_en": "Samerkun Thiengtham" } ] }, { "__typename": "Vote", "id": "134dcc2b-5de8-4c59-9d05-cd2f0a2d219b", "option_en": "Agree", "voters": [ { "__typename": "Person", "id": "af1fc473-0017-4e66-a19a-e1c753e9d491", "name": "สรชัด สุจิตต์", "name_en": "Sorachud Suchitta" } ] }, { "__typename": "Vote", "id": "864b8156-9713-4d04-8f89-65fe5e32bfb4", "option_en": "Agree", "voters": [ { "__typename": "Person", "id": "2c49c559-6f66-4053-af47-31288e4cc155", "name": "วราวุธ ศิลปอาชา", "name_en": "Varawut Silpa-archa" } ] }, { "__typename": "Vote", "id": "e5a6a119-a6c2-49d2-9ad1-9e1d384ed618", "option_en": "Agree", "voters": [ { "__typename": "Person", "id": "bdd3732d-e8c6-4c67-9c1c-24cc615680cd", "name": "ประภัตร โพธสุธน", "name_en": "Prapat Pothasuthon" } ] }, { "__typename": "Vote", "id": "dd25cdd5-13b4-4e85-aab6-d35cedbd30b6", "option_en": "Agree", "voters": [ { "__typename": "Person", "id": "f5d01274-f884-40ed-a591-a8a9a6a7c457", "name": "นพดล มาตรศรี", "name_en": "Noppadol Martsri" } ] } ] } ] }}Data Updates and Publish Status
Section titled “Data Updates and Publish Status”The House Representatives’ votes are automatically retrieved from the Parliament Secretariat Database and Records System every week by the automation system.
- The data is scraped, OCR’d, and checked for inconsistencies. If it passes verification, the vote will have a
publish_statusof PUBLISHED and will be made publicly available. - However, if errors are found, the
publish_statuswill be ERROR, and it will not be displayed to the public until the team fixes it and changes the status back to PUBLISHED.
The Senate’s votes are not yet publicly available online, so we will not be able to update the data consistently.