Fundamentals of Programming for Digital Health Winter Term 2024/2025

Fundamentals of Programming for Digital Health Winter Term 2024/2025

This is a past course: please register in the current course version.

Basic concepts of programming in Python and R for Digital Health.

This course is open to anyone interested in learning to code, also outside of the field or the HPI master program. Some of the exercises are health-related :)

Self-paced since March 31, 2025
Language: English

Course information

This is a past course: please register in the current course version.

Welcome to the course "fundamentals of programming for digital health" by Berry Boessenkool at the chair of Bert Arnrich, Digital Health Cluster, Hasso Plattner Institute in Potsdam.

This course is open to anyone at anytime if you want to write good code. With the videos and autograded exercises, you can learn a lot!

The tutorial sessions are primarily aimed at the Digital Health master students, but usually some seats are still available, so while the course is running, feel free to join :).

Topics include data structures, program control statements (conditional execution, loops, etc.), data input/output, analysis and visualization for Python (6 weeks, 2024-10-14 to 11-18) and R (9 weeks, 2024-11-25 to 2025-02-04), see details below.

The course is set up to technically require no previous programming skills. However, if you have little coding experience, you'll have to spend more time on this course than expected by the credit points. The weekly time requirement is between 7 and 11 hours for most participants in past years.

You can prepare for R ahead of the semester with my short R course if wanted.

The lectures are presented in short online videos accompanied by interactive programming exercises through CodeOcean. They can be watched / solved at your own time and pace.

The tutorial sessions take place in person on Mondays (13:30-15:00) in G2.U.10 (Campus III, Digital Health Center, basement floor).

The Tuesday timeslot is not used on our side.

The tutorials are designed to:

  • answer your questions and those posed by others
  • look at your code for things that may be optimizable or even bad habits

Grading is based 50/50 on separate Python (November 25) and R (February 10/17) exams.

Course contents

  • P1: intro & functions:

    Python intro, syntax, data types, character strings, writing functions
  • P2: objects:

    Collections (overview), lists, sets, tuples, dictionaries
  • P3: loops:

    conditional code execution, loops, list comprehension
  • P4: programming:

    managing errors, writing classes, unit tests
  • P5: data science:

    numpy, pandas, missing values, applications
  • Python exam:

    Nov 25
  • R1: intro:

    welcome, showcase, configuration (R & Rstudio), interactive exercises, syntax, help, vectors
  • R2: basics:

    statistics, functions, conditions, packages
  • R3: data types:

    logicals, charstrings, categories, overview
  • R4: objects:

    data.frame, matrix, list, array
  • R5: real data:

    read, merge, missing values, sources
  • R6: plots:

    scatterplots, line plots, barplots, low level commands
  • R7: figures:

    composition, histograms, boxplots, exporting, outlook
  • R8: flow control:

    debugging functions, loops
  • R exam:

    Feb 17

Enroll me for this course

You must be invited to enroll in this course.

Learners

Current
Today
178
Course End
Mar 31, 2025
146
Course Start
Oct 14, 2024
36

Our teachers