electinth / dataset-election-62-candidates Goto Github PK
View Code? Open in Web Editor NEWThailand Election'62 Candidate Information Browsing Website
Home Page: http://elect.in.th/candidates
License: Other
Thailand Election'62 Candidate Information Browsing Website
Home Page: http://elect.in.th/candidates
License: Other
เพื่อไม่ให้เสียเวลากด Back อยากให้การกดค้นประวัติ เป็นการเปิดหน้าใหม่ครับ
หน้า candidates ไม่มีลิงค์ให้กดกลับไปหน้าหลักครับ
It would be good if we know how many each postcode is input by users.
This can be done by using the following function:
# from https://github.com/codeforthailand/dataset-election-62-candidates/blob/master/election62/templates/zone.html#L167
gtag('event', 'input', {
'event_category': 'postcode',
'event_label': <POSTCODE>,
'transport_type': 'beacon'
});
The function should be added to https://github.com/codeforthailand/dataset-election-62-candidates/blob/master/election62/statics/main.js#L24.
We should also add a condition that submits the GA event when the postcode is actually valid, this.state.codeToZones[v] != undefined
.
Thai Election Commission (กกต) hosts records of election results and party financials (รายรับ รายจ่าย พรรคการเมือง) on their website
The problem is (1) hosting is unreliable, (2) EC may tamper with old documents (อาจมีการดัดแปลงข้อมูลเก่า)
Several days ago, the EC decided to not ban 31 parties, citing that they did not borrow more than 10 million baht. However, it was discovered that at least one party borrowed more than 10 million baht, but the EC edited old documents to remove those entries.
(เมื่อ 2-3 ที่แล้ว กกต ตัดสินไม่ยุบ พรรคการเมือง 31 พรรค โดยอ้างว่า ไม่ได้ยืมเงินเกิน 10 ล้านบาท แต่ว่ามีคนพบว่ามีการไปดัดแปลงเอกสารเก่า เพราะเอกสารเคยระบุว่าบางพรรคยืมมากกว่า 10 ล้านบาทจริง)
It would not be hard to scrape all documents from the EC website and host it on a repo. This is better for record-keeping.
Further projects:
Working with OCR (optical character recognization), we could create templates to automatically turn EC PDFs into machine readable data.
I've seen this from a Facebook post of a candidate in my zone. I have checked this page out and it's actually wrong as seen below.
Data in the file used to render seems to be correct but I still can't figure it out myself what is going wrong. Could you guys have a look at this? 😄
PS. Do you have any channel to report wrong data? It seems there are more that is not my zone.
คิดว่าน่าจะดีเรามีหน้าไว้รวม video จากการดีเบตต่างๆ ไว้ในเว็บ เช่น ดีเบตของช่อง 9
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.