什麼是 RMarkdown?

在 Tidyverse 中以資料溝通

Timo Grossenbacher

Data Journalist

目前你已完成

  • ……已載入必要的函式庫
  • ……用 mutate()filter() 前處理資料
  • ……自訂主題
  • ……建立點狀圖
  • ……潤飾圖表並讓它適配手機螢幕
在 Tidyverse 中以資料溝通

1 Taken from rmarkdown.rstudio.com (http://rmarkdown.rstudio.com/images/RMarkdownOutputFormats.png)
在 Tidyverse 中以資料溝通

在 Tidyverse 中以資料溝通

幕後運作

1 R for Data Science (http://r4ds.had.co.nz/r-markdown.html)
在 Tidyverse 中以資料溝通

可重現性

優點

  • 他人可重現並檢視你的工作
  • 你可以自動化工作流程

先決條件

  • 程式碼必須可執行
  • 資料必須提供,或至少提供連結
  • (需知道軟體環境)
在 Tidyverse 中以資料溝通

一起來練習吧!

在 Tidyverse 中以資料溝通

Preparing Video For Download...