Programming

Week 7 (28 Oct 2024 - 01 Nov 2024)

Writing custom functions and coding iteration loops.

Lectures

No.
Title
Slides
Additional
13 Programming: Functions Raw
14 Programming: Iterations Raw

Lecture Recordings
Lecture recordings are only available for IDS students via the University of Edinburgh virtual learning environment. To access the recordings, go to the Introduction to Data Science area on LEARN ULTRA and select Lecture Recordings under the Course Content section. This will open echovideo where you will find a list of all lecture recordings to watch once they become available.

Tasks

  1. Watch the Videos and readings.
  2. Complete the Assignments.

Videos and reading

Some of this material is required and some of it is optional. We expect you to watch the required videos and read the required reading. This required material is part of the course so it may be assessed in the assignments and it may not be covered in the lectures. The optional material is extra reading for those that are interested!

R4DS: Chp 19 - Functions Required
R4DS: Chp 21 - Iteration Required

Workshop

The lab sheet can be accessed the day before the workshop, and the solutions the day after the workshop.

Laboratory Title
Links
Date
Lab06: Functions and iterations
  • Instructions
  • Repository
  • Solutions(Raw)
  • Fri, 01 Nov

    Assignment

    The second homework assignment (hw-02) is due by the end of this week. You will find more information about the assignment here.

    If you are having difficulty accessing your homework or lab repository, see troubleshooting advice here.