Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.06 KB

note-20140907-c4hk-workshop.md

File metadata and controls

26 lines (19 loc) · 1.06 KB

Introduction

Data source: http://www.legco.gov.hk/general/english/counmtg/yr12-16/mtg_1213.htm

  • Voting records in XML.
  • Many other materials, e.g. hansards, in DOC or PDF

Main problems:

  • Scraping: the file naming convention is not very good; no full list; reverse engineering from its own JS.
  • Cleaning: e.g. member name prefix "Dr", "Prof".
  • Principal Component Analysis:

Online viewer of the notebook: http://nbviewer.ipython.org/github/hupili/legcohk/blob/master/LegCoHK.ipynb

Further readings