Skip to content

Data Dictionary

Rapee Suveeranont edited this page Oct 25, 2019 · 1 revision

What is this about?

Following dataset are used in this project

  1. People - politician profile
  2. Party - party profile
  3. VoteLog - logs of vote session
  4. PeopleVote - votes by each politician

Dictionary

1. People

Field Description Notes
id ID
title คำนำหน้าชื่อ
name ชื่อ
lastname สกุล
en.title ภาษาอังกฤษ
en.name ชื่อ (อังกฤษ)
en.lastname สกุล (อังกฤษ)
is_mp ส.ส.
is_senator ส.ว.
is_cabinet ครม.
party พรรค
party_faction ฝ่ายรัฐบาล/ค้าน
mp_type ประเภท ส.ส.
[object Object]
vote คะแนนโหวต
party_position ตำแหน่งในพรรค
senator_method การได้เป็นซึ่ง ส.ว.
cabinet_position.0 ตำแหน่งใน ครม.
cabinet_position.1 field20
cabinet_position.2 field21
committee.0 คณะกรรมาธิการ
committee.1 field23
gender เพศ
birthdate วันเกิด (YYYY-MM-DD)
[object Object] การศึกษา (กกต
graduation.0 สถานบันการศึกษา (เรียงจากล่าสุดก่อน)
graduation.1 field28
graduation.2 field29
graduation.3 field30
[object Object] อาชีีพเดิม (แจ้ง กกต
en.occupation field32
occupation group กลุ่มอาชีพ
prev_polit_pos.0 ตำแหน่งการเมืองก่อนหน้านี้
prev_polit_pos.1 field35
prev_polit_pos.2 field36
prev_polit_pos.3 field37
prev_polit_pos.4 field38
quotes field39
quotes_url field40
asset ทรัพย์สิน
debt หนี้สิน
facebook field43
twitter field44
email field45
phone field46
is_active ยังดำรงสถานะมั้ย
inactive_reason สาเหตุที่เลิก เช่น เสียชีวิต
active_since วันที่เริ่มตำแหน่งปัจจุบัน
inactive_since วันที่เลิกตำแหน่ง
note หมายเหตุ รายละเอียดน่ารู้
bio บรรยาย ชีวประวัติ

2. Party

Field Description Notes
id ID
name ชื่อกลุ่ม/พรรค
en.name field3
short_name อักษรย่อ
en.short_name field5
color field6
party_type ประเภทกลุ่ม
[object Object] ชุดที่ / คณะที่ (สำหรับ สส
party_faction ฝ่าย
description ประวัติย่อ
en.description field11
established_date วาระ/วันเริ่มตั้ง (YYYY-MM-DD)
total_member จำนวน ส.ส.
speaker ประธานสภา
first_deputy_speaker รองประธานสภา คนที่ 1
second_deputy_speaker รองประธานสภา คนที่ 2
prime_minister นายกรัฐมนตรี
deputy_prime_minister รองนายกรัฐมนตรี
party_leader หัวหน้าพรรค
party_secretary เลขาธิการพรรค
website เว็บไซต์
facebook เฟซบุ้ค
twitter ทวิตเตอร์
email อีเมล
phone โทร
ratchakitcha ราชกิจจานุเบกษา

3. VoteLog

Field Description Notes
id ID
title ชื่อมติที่เข้าใจง่าย
en.title field3
legal_title ชื่อวาระการลงมติ
en.legal_title field5
meeting ประเภทการประชุม
type ประเภทมติ
vote_date วันที่โหวต
prayuth โหวตประยุทธ์
thanathorn โหวตธนาธร
passed ผ่าน/ไม่ผ่าน
approve เห็นด้วย
disprove ไม่เห็นด้วย
abstained งดออกเสียง
absent ขาดประชุม
total_voter จำนวนคะแนนโหวตรวม
description_th คำอธิบายการประชุมลงมติ
description_en field18
document.0.title ชื่อเอกสาร 1
document.0.link ลิงค์ไปที่เอกสาร 1
document.1.title ชื่อเอกสาร 2
document.1.link ลิงค์ไปที่เอกสาร 2
document.2.title ชื่อเอกสาร 3
document.2.link ลิงค์ไปที่เอกสาร 3
reference Reference

4. PeopleVote

votelog.* is how each politician cast a vote to each vote session: '*' part refers to VoteLog ID

  1. Approve - เห็นด้วย
  2. Disprove - ไม่เห็นด้วย
  3. Abstained - งดออกเสียง
  4. Absent - ไม่ได้ลงคะแนน

The only exception is votelog.key__1 which stands for "Prime Minister Approval" vote session, the choices are (พิจารณาให้ความเห็นชอบบุคคลซึ่งสมควรได้รับแต่งตั้งเป็นนายกรัฐมนตรี ตามมาตรา 272 ของรัฐธรรมนูญแห่งราชอาณาจักรไทย)

  1. Prayuth Chan-o-cha - โหวต พลเอก ประยุทธ์
  2. Thanathorn Juangroongruangkitโหวตธนาธร - โหวต ธนาธร จุงร่วงเรืองกิจ ขรับ
  3. Approve - เห็นด้วย
  4. Disprove - ไม่เห็นด้วย
Field Description Notes
id ID
title คำนำหน้าชื่อ
name ชื่อ
lastname สกุล
votelog.key__1 นายกฯ
votelog.key__2 LGBT
votelog.key__3 BTS
votelog.key__4 EEC
votelog.key__5 พรก กำลังพล
votelog.key__6 พรบ งบ
votelog.key__NN ชื่อย่อมติ
Clone this wiki locally