Module 5

Conditions & Dates & Tables

Author
Affiliation

Lars Schöbitz

ETH Zurich

Learning Objectives

  1. Learners can apply functions from dplyr to change specific values of a variable in a dataframe.
  2. Learners can apply functions from the lubridate package to convert dates not in ISO 8601 to the date class in R.
  3. Learners can apply functions from knitr and gt package to display and cross-reference tables in HTML output reports.

Slides

View slides in full screen | Download slides as PDF

Readings

  1. Read R for Data Science - Section 16 - Factors
  2. Read R for Data Science - Section 6 - Workflow: Scripts and projects

Assignments

Due date: October 29, 2025

Thank you for working through this assignment.

Quiz

Due date: November 05, 2025

Complete this quiz after you have worked through the assignments. Completing the quiz of each week is required to receive a course certificate at the end of the course.

Access the quiz here: https://u4x6xe-lars-sch0bitz.shinyapps.io/md-05-quiz/

You can verify your submissions using our Live Quiz Checker.

Session Recording

You can access the Zoom recording of Module 5 on October 23, 2025. To watch the recording, you will need to register for it.

Register for the recording at this link: https://ethz.zoom.us/rec/share/UBzPyxx_m1u2G2ByHm64BbFkG4WXPJXZ_88AN2q2tTOXBuePaK1Drsx7SlAg5TOT.dJmY3XmLeck4nLez

Note: The video will show once the recording has been processed.