forked from AdamWilsonLabEDU/SpatialDataScience
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCS_08.R
More file actions
28 lines (26 loc) · 1.21 KB
/
CS_08.R
File metadata and controls
28 lines (26 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#' ---
#' title: One Script, Many Products
#' subtitle: RMarkdown to create dynamic research outputs. Publishing to github/word/html/etc
#' week: 8
#' type: Case Study
#' reading:
#' - Browse website about [RMarkdown](https://rmarkdown.rstudio.com/index.html)
#' - Browse [_R Markdown: the Definitive Guide_](https://bookdown.org/yihui/rmarkdown/)
#' tasks:
#' - Create a new RMarkdown Document in Rstudio with `File -> New File -> R Markdown` and save it in the case_study folder for this session
#' - Click "Knit" button or `File -> Knit` Document to generate an HTML document
#' - Adjust the [YAML header](https://bookdown.org/yihui/rmarkdown/html-document.html) to produce a HTML, Word, and PDF version of the document.
#' - Save the outputs in your course folder for this week
#' - Think about how you could use this "one document, several outputs" approach in a project and make a few notes in your README.md file for this session.
#' ---
#'
#'
#' # Reading
#'
## ----reading,results='asis',echo=F---------------------------------------
md_bullet(rmarkdown::metadata$reading)
#'
#' # Tasks
#'
## ----tasks,results='asis',echo=F-----------------------------------------
md_bullet(rmarkdown::metadata$tasks)