Data Science: Introduction to Text Mining with R

Course code
Course fee (excl. housing)
Course Level
This course is closed and you can't apply anymore. Please check our other courses.

NOTE: this course is almost fully booked! 

Government employees with a LOC code can still apply for this course.

Applications of text mining are everywhere: social media, web search, advertising, emails, customer service, healthcare, marketing, etc. In this course, students will learn how to apply text mining methods on text data and analyse them in a pipeline with statistical learning algorithms. The course has a strongly practical hands-on focus, and students will gain experience in using and interpreting text mining on data examples from humanities, social sciences, and healthcare.

Nowadays, from social sciences to humanities and healthcare, a major portion of data is inside text. However, text is considered as a kind of unstructured information, which is difficult to process automatically. Therefore, text mining can be applied to create a more structured representation of a text, making its content more accessible to researchers. Therefore, this course offers an elaborate introduction into text mining with R. The course has a strongly practical hands-on focus, and students will gain experience in using text mining on real data from for example social sciences and healthcare domains and interpreting the results. Through lectures and practicals, the students will learn the necessary skills to design, implement, and understand their own text mining pipeline. The topics in this course include regular expressions, text preprocessing, text classification and clustering, and word embedding approaches for text data

The course deals with the following topics:

  • Understand and explain the fundamental approaches to text mining;
  • Understand and apply current methods for analyzing texts;
  • Understand how text is handled, manipulated, preprocessed and cleaned;
  • Define a text mining pipeline given a practical data science problem;
  • Implement generic text mining tools such as regular expression, text clustering, text classification, sentiment analysis, and word embedding.

The course starts at a very basic level and builds up gradually. At the end of the course, participants will master text mining skills with R. Participants should have a basic knowledge of scripting in R.

Participants are requested to bring their own laptop computer. Software will be available online

This course is part of a series of 5 courses in the Summer School Data Science specialisation taught by UU’s department of Methodology & Statistics. Please see here for more information about the full specialisation. This course can also be taken separately.

Summer School Data Science specialisation:

Upon completing 3 out of 5 courses in the specialisation (no more than one text mining course), students can obtain a certificate. Each course may also be taken separately.

Please note that there is always the possibility that we have to change the course pending COVID19-related developments. The exact details, including a day-to-day program, will be communicated 6 weeks prior to the start of the course.

Download the day-to-day programme (PDF)
Course director
Dr. Ayoub Bagheri


Dr. Dong Nguyen 

Dr. José de Kruif

Dr. Ayoub Bagheri 

Target audience

This course is for R users who are interested in practical natural language processing and statistical learning on text data. Participants should have a basic knowledge of scripting and programming in R. Participants from a variety of fields, including sociology, psychology, education, human development, marketing, business, biology, medicine, political science, and communication sciences, will benefit from the course.

A maximum of 80 participants will be allowed in this course. Please note that the selection for this course will be done on a first-come-first-served basis.

Aim of the course

The course teaches students the necessary skills to understand how basic text mining techniques work, and how to use R for a variety of text analysis in many domains of science. The skills addressed in this course are:

  • Text mining definitions;
  • R environment;
  • Regular expressions;
  • Preprocessing text data;
  • Stemming;
  • Text visualisation;
  • Text classification;
  • K-fold cross validation;
  • Sentiment analysis;
  • Text clustering;
  • Word embedding.

For an overview of all our summer school courses offered by the Department of Methodology and Statistics please click here.

Study load

Three full days. A typical course day starts at 9.00 and ends at 17.00 with breaks for coffee, lunch and tea.

Please note that there are no graded activities included in this course. Therefore, we are not able to provide students with a transcript of grades. You will obtain a certificate upon completion of this course.


Course fee:
Fee covers
Course + course materials
Housing fee:
Housing cost
Housing provider:
Utrecht Summer School

Extra information about housing

You can choose between two options for participating in this course, but please note that there is always the possibility that we have to change the course pending COVID19-related developments: 

  1.  If you choose the livestream option, you will get a discount on the course fee since we will not provide lunch then. The lectures will be broadcasted in Central European Summer Time via a livestream (not recorded). Participants can ask questions via the chat which will be moderated by a second lecturer who will either directly answer your questions via the chat or ask your questions to the first lecturer during class. You will also receive online support during the group computer labs from our team. Additionally, Q&A sessions will be organised so you will benefit from our normal high level expertise while enjoying the class from the comfort of your own chair.
  2. If you choose the campus option, you will be able to attend the lectures and computer labs at our campus. Of course, we will follow all COVID19-guidelines that hold at the time of the start of your course. We will keep you updated about the newest developments (see also

Update: The campus option for this course is fully booked.

If you are interested in the campus option, let us know via a message in the application form under ‘Student Comment’. You will be placed on the waitinglist.

The physical course costs €510, but if you participate via the livestream you will get a 60 euro discount.

Tuition fee for PhD students from the Faculty of Social and Behavioural Sciences from Utrecht University will be funded by the Graduate School of Social and Behavioural Sciences.

There are no scholarships available for this course.

More information

Irma Reyersen | E:

For frequently asked questions about how we organize our summer school courses during the pandemic, please click here

Recommended combinations


Application deadline: 
Registration deadline
28 June 2021