g0v / councilor-voter-guide Goto Github PK
View Code? Open in Web Editor NEW縣市長 / 議員 投票指南
Home Page: http://councils.g0v.tw/
縣市長 / 議員 投票指南
Home Page: http://councils.g0v.tw/
解法:候選人在與議員做關聯時,不要跨縣市尋找
excel => 正確名字
102年至12月底議員建議事項
羅文幟 => 羅文熾
101年度截至101年12月底對議員所提地方建設建議事項處理明細表
郭昭嚴 => 郭昭巖
闕梅莎 => 闕枚莎
林亦華 => 林奕華
102年度截至102年12月底對議員所提地方建設建議事項處理明細表
周建榮 => 找不到相似議員姓名
汪志銘 => 汪志冰
簡余宴 => 簡余晏
103年度截至103年6月底對議員所提地方建設建議事項處理明細表
周佑威 => 周威佑
黃洋 => 黃平洋
對議員所提地方建設建議事項處理明細表-101年度1-6月
周玲玟 => 周玲妏
畢竟 Django 1.5 已經沒有官方支援了。隨便掃了一下好像沒什麼會衝突的地方,只要把 South 換掉(現在好像也沒有 migrations?)就可以了。
不過說真的沒測試不敢確定。好像應該先補寫測試才能開始做這個?
The repo size alreay reached 1.2Gb. Is there any plan to purge some binaries?
$ git clone https://github.com/g0v/councilor-voter-guide
$ du -sh councilor-voter-guide
1.2G councilor-voter-guide
$ du -mh councilor-voter-guide | sort -nr | head -n 20
616K councilor-voter-guide/voter_guide/static/admin
603M councilor-voter-guide/meeting_minutes
554M councilor-voter-guide/meeting_minutes/tccc
544M councilor-voter-guide/.git/objects/pack
544M councilor-voter-guide/.git/objects
544M councilor-voter-guide/.git
500K councilor-voter-guide/crawler
376K councilor-voter-guide/voter_guide/static/admin/js
316K councilor-voter-guide/voter_guide/static/rest_framework
300K councilor-voter-guide/voter_guide/static/css
244K councilor-voter-guide/voter_guide/templates
236K councilor-voter-guide/data/pretty_format/tncc
232K councilor-voter-guide/data/pretty_format/tncc/tnccp
184K councilor-voter-guide/crawler/kcc
176K councilor-voter-guide/crawler/kcc/kcc
剛剛完成在 Mac 上的安裝步驟,請問有計畫幫 Mac 加上環境安裝說明嗎?
I'm not sure if it's the format you want. Please try it.
可參考 立委投票指南
實作可能要從 PDF 之中擷取出來。
地方議會議事錄檢索系統 (http://mcc.digital.tpa.gov.tw) 的 open-data 比較不 open ,要開網頁,點「進入系統」,才會使用一個 guest 帳號登入,之後才可下載 open-data 。
假如要 crawl 這些資料,我需要
sudo apt-get install xvfb sudo pip install pyvirtualdisplay
配合 python-selenium 把視窗丟進虛擬畫面。線上系統可以支援這個嗎?
或者是否可以讓我 crawl 的時候,在線上系統開 FireFox 視窗?
因為 #48
需要先加入基本tests
可參考 立委投票指南的tests
以台南北區為例:
http://councils.g0v.tw/candidates/2014/%E8%87%BA%E5%8D%97%E5%B8%82/11/
許至椿 是 2014-04-07 遞補成為議員的,因為前市議員黃郁文遭到判刑4年定讞
相關消息: http://www.chinatimes.com/realtimenews/20140407004418-260407
首屆台南市議會,議員出事率特別高,現任議員王錦德(民進黨)、蔡育輝(國民黨)、趙昆原(無黨籍)、許至椿(國民黨)等4人都是遞補就任,許至椿還是該選區的第2位遞補者(前兩任李宗富、黃郁文皆因賄選案去職),另前台南縣議長吳健保(無黨籍)因賭博案去職,因未被判褫奪公權,所以未有議員遞補。
http://councils.g0v.tw/councilors/suggestor/b318a34db2e74e98ae5d83153035e686/2010/
parameter: 1.委託技術服務費:張尚德建築師事務所 2.施工費:凱達營造
From 使用者留言
http://logbot.g0v.tw/channel/g0v.tw/2014-04-04/89
johnny__> 怒開councilor-voter-guide議員投票指南,希望藉著在此聲明,督促拖延許久的自己做出來.....以免我又自己偷偷把repo刪了XD
2014-04-04 12:20 AM
建立術語對照表,方便寫程式時可以參考
如選區在此專案的英文是 constituency
表格可能像是
選區 => constituency
from 意見回饋區
看來裝 PostgreSQL 對某些人可能會是問題,local 開發要不要直接用 SQLite 就好?docker 是很不錯,不過感覺又是引入了另外一層的複雜度。可以直接把弄好的 SQLite database 檔案放在 dropbox 上面讓大家下載。這部份 @thewayiam 有什麼 concern 嗎?
以下s請自行帶入 http://www.cyscc.gov.tw/chinese/Discussing_Detail.aspx?s=
參數s | 問題 |
---|---|
188 | 連署人跟案由一樣 |
198 | 連署人姓名分隔錯誤 |
209 | 類別跟案號一樣 |
210 | 類別跟案號一樣 |
213 | 類別為0 |
214 | 類別為0 |
215 | 類別為0 |
216 | 類別為0 |
217 | 類別為0 |
219 | 類別為0 |
221 | 類別為0 |
222 | 類別為0 |
236 | 連署人名稱有空白介入 |
292 | 類別跟案號一樣 |
322 | 提案人名稱錯誤(縣張花冠 -> 縣長張花冠) |
聯絡電話:05-3620076
話說這網站可以用關鍵字找議案 http://councils.g0v.tw/bills/%E6%96%B0%E5%8C%97%E5%B8%82/normal/ 本來想就幾個關鍵字 譬如停車 護樹 核安 看看議員們都提了什麼政見 可惜沒辦法只限縮在板橋 所以會跑出一堆 新店 三重 和我們較無關的
From 網友留言
中選會縣市議員候選人 標示為 李姸慧
議會及wiki皆為李妍慧
導致候選人與議員沒做到對應
台北市 http://www.tcc.gov.tw/iFrame.aspx?n=26921E80F6DC89B5
"卓榮泰";"1958-01-22"
"卓榮泰";"1959-01-22"
"張建邦";"1929-03-15"
"張建邦";"1929-01-15"
"張秋雄";"1937-08-11"
"張秋雄";"1936-08-11"
"盧林素妴";"1939-05-06"
"盧林素妴";"1937-05-06"
"蔣乃辛";"1947-06-24"
"蔣乃辛";"1948-09-24"
"陳嘉銘";"1949-05-02"
"陳嘉銘";"1962-05-02"
"黃義清";"1943-10-22"
"黃義清";"1943-10-12"
"黃金如";"1922-01-02"
"黃金如";"1932-01-02"
剛剛 google 蘇逸凱發現的新聞,是否撤下該候選人?
蘇逸凱表示,他本來要選縣議員,登記後發覺自己起步太晚,才再去登記鄉代,讓自己喪失候選人資格,等未來有機會再參選。
You should commit!
councilor-voter-guide/councilors.json at master · g0v/councilor-voter-guide
$ cd crawler/tccc
$ scrapy crawl councilors -o /tmp/test.json
$ head -n1 /tmp/test.json
...
"contact_details": [{"type": "address", "value": "\u81fa\u4e2d\u5e02\u540e\u91cc\u5340\u540e\u91cc\u91cc
After tccc utf-8 json · 44b8438 · y12studio/councilor-voter-guide
$ scrapy crawl councilors -o /tmp/test.json
$ head -n1 /tmp/test.json
...
"contact_details": [{"type": "address", "value": "臺中市豐原區圓環南路..
Why this UnicodeJsonItemExporter to be commented out from councilor-voter-guide/settings.py?
不知是否有人做過類似的功能,目前將議員 json 匯入 Elasticsearch 後由 kibana 輸出圖表,歡迎討論。
Prerequirements :
y12docker/g0v-voter-guide Repository | Docker Hub Registry - Repositories of Docker Images
Notice : the download of y12docker/g0v-voter-guide is a very large file size (1~Gb).
Run a prebuild image with kibana http://docker_host:8080/
$ sudo docker pull y12docker/g0v-voter-guide:v141002
$ sudo docker run -p 8080:8080 -p 9200:9200 -d y12docker/g0v-voter-guide:v141002
councilor-voter-guide/utils/elk at elk · y12studio/councilor-voter-guide
案號、提案人似乎相反了
http://www.hlcc.gov.tw/case-2-data.php?index_no=927&keyword1=&keyword2
總機:(03)8226111-5(五線)
資料來源:監察院廉政專刊,parser
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.