R is a powerful language for data science in many disciplines of research with a steep learning curve. The tidyverse group of packages provide a dialect that greatly simplifies:

  • data importing
  • cleaning
  • processing
  • visualization as well as providing reproducible workflows using pipelines (%>%)

Adopt Hadley Wickham, Chief Scientist at RStudio, philosophy: take each step of data science and replace many intricacies of R with clear, consistent and easy to learn syntax. RStudio will be the software to use since it eases package management, scripting, plotting and data handling.

The four day course provides a complete introduction to data science in R with the tidyverse. The course will not go deep into statistics but rather getting data ready, some exploratory analysis, visualization and handling models.

Preparing data takes up to 80% of the time spent in analysis — speeding this up is the mission of this course.


The tidyverse is an official CRAN package and here is its manifesto. Hadley proposed the following workflow described in his must-read book R for data science

H. Wickham - R for data science, licence CC

In terms of R packages, the workflow is nicely depicted as in this picture, by David Robinson


Prior knowledge

Participants should have basic experience in programming environments such as Matlab, Octave or other programming languages or complete a simple free online course.


Each student must bring their own laptop with R and Rstudio installed with recent versions. Please look at install tutorial to set it up prior to the course.


Dates and time

From: 14th to 17th May 2019.

Each day, the workshop will be a mixture of lectures and practicals from:

  • 9:00 - 9:30 welcome coffee
  • 9:30 - 12:30 course work with a coffee break
  • 12:30 - 13:30 lunch breaks from
  • 13:30 - 17:30 course work with a coffee break

  • Coffee will be served the course room


Date Time Session Teacher Notes
2019-05-14 09:30 Introduction AG
11:00 Tidy data RK
11:45 String manipulation RK stringr
13:30 RMarkdown AG knitr
14:30 Import AG readr
2019-05-15 09:30 Data transformation RK dplyr, tidyr
13:30 Visualization AG ggplot
18:00 Dinner with participants RK
2019-05-16 09:30 Functional programming AG purrr
13:30 Tidy models AG broom
15:30 Advanced Programming AG tidyeval
2019-05-17 09:30 Practical All


The course will be held at:

Maison du Savoir

University of Luxembourg

Belval Campus

2, avenue de l’Université

L-4365 Esch-sur-Alzette



View Larger Map

In the room 4.510, Maison du Savoir, 4th floor.

room 4.510

room 4.510


the course is limited to 25 participants. Register through this form


PhD students that enrolled through the doctoral school will receive 2 ECTS in category 1, which requires handing in a short project and practicals as Rmd files that students miss. For example if you are absent the first day, you must do and send back:

  • practical introduction with datasauRus
  • practical string manipulation
  • practical import data


This event is supported by ELIXIR-Luxembourg