Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 551 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 551 Bytes

undi-info

Scraped listing of Malaysian Electoral Districts from Undi.info

Dependencies

  • Python
  • lxml
  • mechanize

How do I use it?

Retrieve Parliment and State Electoral Districts

$ ./undi-info.py > list.txt

Retrieve Parliment Election Results

CSV: parliament-code,election-year,name,party,votes

$ ./undi-info-results-parliment.py > parliment.csv

Retrieve State Election Results

CSV: parliament-code,state-code,election-year,name,party,votes

$ ./undi-info-results-state.py > state.csv