進階 YAML 設定

在 Tidyverse 中以資料溝通

Timo Grossenbacher

Data Journalist

YAML

 ---
 receipt:     Oz-Ware Purchase Invoice
 date:        2012-08-06
 customer:
     first_name:   Dorothy
     family_name:  Gale
 ---
1 摘自 Wikipedia (https://en.wikipedia.org/wiki/YAML#Example)
在 Tidyverse 中以資料溝通

RMarkdown 文件中的 YAML 標頭

 ---
 title: "The reduction in weekly working hours in Europe" 
 subtitle: "Looking at the development between 1996 and 2006"
 author: "Timo Grossenbacher"

output: html_document: theme: paper highlight: tango
     pdf_document:
         ...
 ---

更多設定選項請見此處的 RMarkdown 參考資料(http://rmarkdown.rstudio.com/html_document_format.html)!

在 Tidyverse 中以資料溝通

來自訂你的報告吧!

在 Tidyverse 中以資料溝通

Preparing Video For Download...