Giter VIP home page Giter VIP logo

dataset-election-62-candidates's People

Contributors

c4n avatar hereblur avatar microbenz avatar p16i avatar phoneee avatar phongsathorn1 avatar verticall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dataset-election-62-candidates's Issues

Add Google Analytics for tracking postcode submission

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.

Adding "Debate Portal"

คิดว่าน่าจะดีเรามีหน้าไว้รวม video จากการดีเบตต่างๆ ไว้ในเว็บ เช่น ดีเบตของช่อง 9

New repo for all Election Commission datasets

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.

Wrong party and logo for the candidate

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.

image

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? 😄

https://github.com/codeforthailand/dataset-election-62-candidates/blob/6f48e697dd6cac88e4da81a2f8952630f7b31255/data/election-62-candidates.csv#L221

PS. Do you have any channel to report wrong data? It seems there are more that is not my zone.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.