g0v / twly_crawler

Crawl Taiwan Congress Data by Scrapy
24 stars 15 forks source link

選區(constituency)資料衝突檢查 #4

Open thewayiam opened 10 years ago

thewayiam commented 10 years ago

需要全半形轉換function

clkao commented 10 years ago

any example?

thewayiam commented 10 years ago

台北市第1選舉區 (data from npl.ly.gov.tw) 台北市第1選舉區 (data from ly.gov.tw)

clkao commented 10 years ago

js 的話可以用這個轉全半型: https://github.com/audreyt/node-uax11

選區目前我是先 normalize 成 ISO3166-2:TW (twlyparser/mly.ls)