Definition of OpenData
• 簡單來說,開放資料指的是資料可以被任何人自
由使用,重複使用和散佈 – 在其限制上,最多我
們只能要求使用者標示資料來源與所有人。
11.
Object of OpenData
• 開放資料的最主要目的,在於資料的互通性 (interoperability) 。互通
性代表的是不同的系統與組織可以共同運作 (inter-operate) 的能力,
讓不同的資料集 (datasets) 可以彼此互用或是相互混和的能力。
• Public Data & Open Data?
– 內政部
– 立法院
• Public Data只是”公開”給人“查看”的資料
• Open Data則是”開放“給人”使用”的資料
Case Study
• Wheredoes my money go?
– http://wheredoesmymoneygo.org
• 英國地方政府支出開放資料
– http://bit.ly/ND6OAh
• 公共廁所
– http://bit.ly/P7yYAc
• 舊金山 311與Civic Commons Open311
– http://bit.ly/LTMVRr
• Kenya Open Data Initiative (KODI) and Ushahidi
– http://bit.ly/Pr7vJZ
• World Bank Open Data
– http://bit.ly/NmpnTq
• Open Aid Data
– http://bit.ly/LqlfF5
Code for America
•Code for America official site
– http://codeforamerica.org/
• Code for America創始人兼執行董事Jennifer Pahlka – talk in TED
– http://www.ted.com/talks/lang/zh-tw/jennifer_pahlka_coding_a_better_government.html
Code for Tomorrow
• Code for Tomorrow
– http://codefortomorrow.org/
25.
Open Data Day
•Open Data Day (國際開放資料日),目前已經有5大洲、31個國家、
90個城市響應。而從主辦單位的類別來看,則包括網路社群、地方商
會、非營利組織、以及政府機關,甚至美國的白宮都在當天舉辦活動。
(2013的open data day在台灣時間2/23、2/24)
• g0v hackath0n | 台灣零時政府第零次動員戡亂黑客松
• g0v hackath1n | 台灣零時政府第壹次公地放領黑客松
– 目前成果
26.
“Open” Data &“Use” Data
從自身做起
• 蒐集資料
• 整理資料並提供下載、使用
– 壓縮檔
• CSV
– API (Application programming interface)
27.
How to getit?
• JSON、CSV、XML, etc.
• Basically via Restful API (url)
• Java、python, etc
– (any programming language)
28.
Example- get datavia API with python
• 以美國政府Data.gov之白宮訪客記綠資料為例 (White House Visitor
Records Requests)
– 九千多筆資料
• Python code less than ten lines
Or Easier way
•Go to the website
• https://explore.data.gov/dataset/White-House-Visitor-Records-
Requests/644b-gaut
– Download a copy of the dataset in a static format
• CSV
• JSON
• PDF
• RDF
• RSS
• XLS
• XLSX
• XML
– Manipulate on web UI
Data visualization
• 台灣社會事件信息圖表
– http://prometheusis.blogspot.tw
• Make Data More Human
– http://www.ted.com/talks/jer_thorp_make_data_more_human.html
• Refresh Bpm
– http://ec2-54-248-114-149.ap-northeast-
1.compute.amazonaws.com/refreshbpm/publicfeed/emotionBalls