My sharing material on satRdays Taiwan 2020.
You can find detailed information of the event on its official website.
- Code - igraph.R & tutorial.R (main)
- Slide https://dennishi0925.github.io/satRdays_sharing_2020/sharing_slide
Tidy Network Analysis: Legislative cosponsorship networks in Taiwan
如果是接觸過網絡分析 (network analysis) 的朋友,可能用過 gephi 跑分析,或是用 R 的套件 igraph 畫圖。這次想跟大家分享,如何利用善於處理網絡資料的 tidygraph,以及遵循 ggplot2 體系的繪圖套件 ggraph,在 R 裡面做網絡分析,並將結果視覺化。
分享中會以台灣立法委員的提案與連署資料為例,跟各位朋友一起走一遍獲取資料、清理資料、資料變形、網絡分析、視覺化的流程,其中將會著重在 tabulated data 與 network data 的互相轉換以及 network visualization ,另外也會用網絡分析的概念,對提案網絡進行簡單的詮釋。
- 網絡分析的基本概念
- 套件介紹: tidygraph 以及 ggraph
- 以台灣立法委員提案與連署網絡資料為例
- 適合對 R 語言有基礎且不排斥 tidyverse 的人
- 適合對 network analysis 有了解想在 R 裡面將結果視覺化的人
- 適合用過 igraph 但對它不夠滿意的人
- 不適合想產出設計師等級超精美圖表的人
- 不適合想聽學術政治分析的人
Dennis,台大新聞所在學生,目前在一間科技公司擔任實習分析師,對統計、商業分析、資料分析、資料新聞、資訊視覺化都很有興趣,超級喜歡 R!