Module 5

Conditions & Dates & Tables

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.
  4. Learners can understand the relevance a data dictionary to describe variable names in a data set.

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

Please complete the following assignment by Wednesday, 27th March 2024.

  • Assignment 1: Complete survey of five peers and analyse data

Thank you for working through this assignment.