nodejs in naypyitaw

44
NodeJS in Naypyitaw Open Data in Myanmar’s 2015 Election Nick Doiron Senior Application Developer, The Asia Foundation

Upload: nicholas-doiron

Post on 22-Jan-2018

104 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: NodeJS in Naypyitaw

NodeJS in NaypyitawOpen Data in Myanmar’s 2015 Election

Nick Doiron Senior Application Developer, The Asia Foundation

Page 2: NodeJS in Naypyitaw

မဂ#လ%ပ' mingalaba

Page 3: NodeJS in Naypyitaw

About Us

• The Asia Foundation

• improving lives, expanding opportunities, and helping societies flourish

• offices in 20 nations across Asia

• some connections to Taiwan

Page 4: NodeJS in Naypyitaw

About Us

• Digital Media and Technology Program

• small, cross-department office

• handles high-tech initiatives in multiple countries

Page 5: NodeJS in Naypyitaw

About Myanmar

country in Southeast Asia, also known as Burma

Page 6: NodeJS in Naypyitaw

first openly-contested national election in 25 years

2015 Election

Page 7: NodeJS in Naypyitaw

• Inspired by 2014 project in Indonesia

• Now data is published by govt

Page 8: NodeJS in Naypyitaw

database of candidates, parties, and current parliament apps by local designers and developers

Page 9: NodeJS in Naypyitaw

Partnership with UEC• Union Election Commission, in Naypyitaw

Page 10: NodeJS in Naypyitaw

Naypyitaw

Page 11: NodeJS in Naypyitaw

Where do we get data?

6,072 candidates; 91 political parties

Page 12: NodeJS in Naypyitaw
Page 13: NodeJS in Naypyitaw

Candidate Form 6

• Name, constituency, address, voter registration

• Constituency name, number are still new

• Education, occupation, religion, ethnicity

• Parents’ information

Page 14: NodeJS in Naypyitaw

What fields are public interest?

• Candidate and parents’ information

• Won’t share NID, contact info

Page 15: NodeJS in Naypyitaw

Scan and OCR ?

Google Drive OCR versus handwriting

Page 16: NodeJS in Naypyitaw

Type and Compare

Page 17: NodeJS in Naypyitaw

Scan, Type, and Compare

Page 18: NodeJS in Naypyitaw

Building data-entry-app• NodeJS, Express framework

• SQLite database (easy backups)

• PassportJS authentication

• Polymer frontend

!

• Future: KoaJS, DB sessions

Page 19: NodeJS in Naypyitaw

Offline server

• Windows Server

• Install NodeJS, SQLite, git, while online

• Install custom app

• Network drive to transfer code and images

Page 20: NodeJS in Naypyitaw

Entering data

Page 21: NodeJS in Naypyitaw

Comparing answers

Page 22: NodeJS in Naypyitaw

Finding faces - OpenCV

Page 23: NodeJS in Naypyitaw

node_modulesnpm install myanmar-numbers!- convert numerals !

npm install myanmar-names!!

- sort names - match names - match despite common errors

- ထ and လ - ဂ and ဝ

Page 24: NodeJS in Naypyitaw

unfinished work Myanmar calendar

Page 25: NodeJS in Naypyitaw

Official Candidate Lists

20% Unicode 80% Win Inwa font

Page 26: NodeJS in Naypyitaw

Writing in Myanmar

*မန,မ% မ ြ န ် မ ာ

Page 27: NodeJS in Naypyitaw

node_modules

github.com/Rabbit-Converter!- added to local development !

npm install my-winresearcher!!

- convert programmatically - files from the command line

Page 28: NodeJS in Naypyitaw

Election is Coming

Page 29: NodeJS in Naypyitaw

Launch the Hackathon

Page 30: NodeJS in Naypyitaw

Two-Week Hackathon?Pre-hackathon: three training events!Saturday noon: launch!Sunday: hacking + 1 week: Slack support Saturday: hacking Sunday: election workshop + 1 week: Slack support Saturday: final stretch Sunday: final presentations and judging

Page 31: NodeJS in Naypyitaw

All Nighters not for everyone

Page 32: NodeJS in Naypyitaw

More TimeMore TeamworkBetter Results

• “this hack challenge took 2 weeks unlike two previous intense 48-hour hackathons.So everybody got a fair play and well enough time.”— Poe Poe Myint Swe

Page 33: NodeJS in Naypyitaw

Open Election Q&A

Page 34: NodeJS in Naypyitaw

Final Presentations

Page 35: NodeJS in Naypyitaw

Did it work?

• 137 attendees at launch

• 23 teams in final presentations

• largest event ever for PhanDeeYar coworking space

Page 36: NodeJS in Naypyitaw

Winner mVoter!

2015

Page 37: NodeJS in Naypyitaw

Promote Multiple Apps

Page 38: NodeJS in Naypyitaw
Page 39: NodeJS in Naypyitaw

App Reviews

Page 40: NodeJS in Naypyitaw

Election Day

Page 41: NodeJS in Naypyitaw

MaePaySoh API Stats

• 211,000 app downloads (Android + iOS)

• > 1,181 simultaneous users on Google Analytics

• requests for 289 of 323 voting townships

Page 42: NodeJS in Naypyitaw

Future for Civic Tech• Can civic tech succeed in Myanmar?

• future is bright

• winning team ~18 yrs old

Page 43: NodeJS in Naypyitaw

Improvements

• Include Mandalay events

• Coordinate with Geek Girls Myanmar

• New environment: opens door to promotion by candidates, parties, students

Page 44: NodeJS in Naypyitaw

Thank you!