Socratizer

Online learning platform

How to Submit Assignments - Quarto (.qmd) Basics

Assignments should be submitted through Quarto worksheets (.qmd files).

After some classes, a worksheet will be available for download on the course page. This worksheet contains exercises with blanks for you to fill in with your code and answers. Upon completing an assignment, upload your .qmd file via the course page.

What is Quarto?

Quarto is a modern authoring system for data analysis reports. A Quarto document (.qmd) integrates text, code, and the results of code execution (tables, printouts, figures, etc.) into a single, reproducible report.

Start here:

https://quarto.org/docs/get-started/

Essentials of Quarto for assignment submission

    # This is a top-level header (counterpart of <h1> in HTML)
    ## This is a second level header 

    *This text will be in italic*, **this text will be in bold**, ***and this will be in both italic and bold***.


    1. Ordered lists are automatically numbered.
    3. The numbering in the source file is irrelevant 
    * You can create hierarchical lists
      * no biggie
    ```{r}
    hist(rnorm(200)) # histogram of 200 random numbers from a normal distribution
    # The backticks that start and end a code block are typed using the tilde key (`~`), not the single quote key (')
    # Remember, backticks are not apostrophes! 
    ```
    ```{r}
    #| echo: true
    #| warning: false
    hist(rnorm(200))
    ```