- Learners can apply the skills obtained during the course to write a short data analysis project report.
ds4owd - data science for openwashdata
ETH Zurich
Nov 13, 2025
Q: How do I successfully complete the course?
You successfully complete the course and you will receive a certificate of completion if you:
hand in a complete capstone project report that uses a dataset of your choice by 4th December 2025
Required items: <https://ds4owd-002.github.io/website//project/>
This is the only requirement to successfully complete the course, independent of how many classes you attended or how many homework assignments you completed.
Metadata: YAML
Text: Markdown
Code: Executed via knitr
or jupyter
Weave it all together, and you have beautiful, powerful, and useful outputs!
Literate programming is writing out the program logic in a human language with included (separated by a primitive markup) code snippets and macros.
“Yet Another Markup Language” or “YAML Ain’t Markup Language” is used to provide document level metadata.
Indentation matters!
:
There are multiple ways of formatting valid YAML:
:
format: html
with selections made with proper indentationLint, or a linter, is a static code analysis tool used to flag programming errors, bugs, stylistic errors and suspicious constructs.
RStudio + VSCode provide rich tab-completion - start a word and tab to complete, or Ctrl + space
to see all available options.
Sit back and enjoy!
10:00
Many YAML fields are common across various outputs
But also each output type has its own set of valid YAML fields and options
Definitive list: quarto.org/docs/reference/formats/html
Markdown Syntax | Output |
---|---|
|
italics and bold |
|
superscript2 / subscript2 |
|
|
|
verbatim code |
Markdown Syntax | Output |
---|---|
|
Header 1 |
|
Header 2 |
|
Header 3 |
|
Header 4 |
|
Header 5 |
|
Header 6 |
There are several types of “links” or hyperlinks.
Markdown
Output
You can embed named hyperlinks, direct urls like https://quarto.org/. The syntax is similar for embedding an inline image: .
Unordered list:
Output
Ordered list:
Markdown:
> Let us change our traditional attitude to the construction of programs: Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do.
> - Donald Knuth, Literate Programming
Output:
Let us change our traditional attitude to the construction of programs: Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do. - Donald Knuth, Literate Programming
md-08-markdown-syntax.qmd
file and click on it to open it in the top left window.15:00
Please get up and move! Let your emails rest in peace.
10:00
Image generated with DALL-E 3 by OpenAI
Metadata: YAML
Text: Markdown
Code: Executed via knitr
or jupyter
Weave it all together, and you have a beautiful, reproducible journal article!
Important: The period is after the citation.
Tilley, E., & Kalina, M. (2021). “My flight arrives at 5 am, can you pick me up?”: The gatekeeping burden of the african academic. Journal of African Cultural Studies, 33(4), 538–548. https://doi.org/10.3929/ethz-b-000493677
author-date: Many visitors still expect a personal pick-up, despite the availability of taxi services (Tilley & Kalina, 2021).
numeric Many visitors still expect a personal pick-up, despite the availability of taxi services [1].
Photo by Christian Erfurt on unsplash.com
Photo by Sincerely Media on unsplash.com
Quarto supports
a standardized schema for authors and affiliations that can be expressed once int the source document,
the use of Citation Style Language (CSL) to automate the formatting of citations and bibliographies, and
outputting to pdf
, html
, and docx
with custom formatting,
according to the styles required for various journals,
and creating the LaTeX required for submission to multiple journals.
Quarto provides a rich set of YAML metadata keys to describe the details required in the front matter of scholarly articles.
scholarly-writing.qmd
file and click on it to open it in the top left window.15:00
Clone the repository from GitHub
docs
folder, then click on index.qmd
.20:00
index.qmd
index.qmd
needs to be stored in docs
folderPlease get up and move! Let your emails rest in peace.
10:00
Image generated with DALL-E 3 by OpenAI
10:00
10:00
10:00
Content was re-used from a workshop hosted by Mine Çetinkaya-Rundel at the 2025 Symposium on Data Science and Statistics and stored at https://github.com/mine-cetinkaya-rundel/quarto-sdss. The original content is licensed under a Creative Commons Attribution 4.0 International License.
Slides created via revealjs and Quarto: https://quarto.org/docs/presentations/revealjs/ Access slides as PDF on GitHub