Week 5

Joining data & communicating results with Quarto

Learning Objectives

  1. Learners can use Quarto and Netlify to publish an HTML file
  2. Learners can add literature references to Quarto files using the navigation menu of RStudio visual editor
  3. Learners can cross-reference figures and tables within an Quarto file
  4. Learners can apply functions from the dplyr R Package to join multiple data sets

Slides

đź–Ą Lecture 5 - Joining data & Communicating results - HTML

đź–Ą Lecture 5 - Joining data & Communicating results - Download PDF

Readings

đź“– Read R for Data Science - Section 13 - Relational data

đź“– Read R for Data Science - Section 15 - Factors

Homework assignment

Practice

This week’s homework programming assignment is an assignment with four sections, which let you practice the functions you have learned during the course. The assigment is contained in a sub-folder of week 5 titled “hw-05a-practice”.

Slides

This part of the homework programming assignment does not have a starter file. It is your task to create this file yourself.

  1. Create a new Quarto file by navigating to the menu: File -> New File -> Quarto Presentation
  2. Add a title and author, and use the default Reveal JS format
  3. Save the file in “course-material/wk-05/slides” with the name index.qmd
  4. Click Render and inspect the output in the Presentation pane on the bottom right
  5. Delete all content besides the YAML header (at the top of the document)
  6. Use your own creativity and the Quarto Guide for Revealjs slides to prepare a minimum of five slides.
  7. Add the line self-contained: true to the YAML header
  8. Render the slides
  9. Export (download) the “slides” directory as “slides.zip” from RStudio Cloud and store the ZIP file on your computer
  10. Navigate to the folder where you stored the “slides.zip” file and unzip the compressed directory
  11. Log into your Netlifly account you created during class
  12. Upload the “slides” directory to Netlifly
  13. Wait until the site has been deployed
  14. Share the created link that shows your slides with the course instructor

Learning reflection

Complete the learning reflection that is in your project folder for week 5 on RStudio Cloud (learning-05.qmd).