Date(s) - 04/11/2019
9:00 am - 1:00 pm

Hodgkin Building
Newcomen St

High quality datasets are essential for statistical analysis. This course is for researchers that need to use the open source R programming language to prepare their data for statistical analysis. The course uses R Studio to illustrate the various techniques that can be used to prepare a data set that is analysable by statistical methods.

Attendees are expected to be familiar with the data collection process using an electronic tool, such as MS Excel.

Course description

The course is a four-hour practical session and will use the open source R Studio software. It will focus on the R data frame and its manipulation. Items that will be covered are:

  • Data frames
  • Factor data types
  • Variable labelling, renaming and dropping
  • Reshaping
  • Recoding
  • Merging
  • Control structures useful for data cleaning.

Learning Objectives

  • Reading MS Excel files into R
  • Creating categorical variables for analysis
  • Recoding free text descriptions into numbers
  • Merging different datasets horizontally and vertically
  • Changing the structure of a dataset for different statistical methods.

Who can attend?

The courses are free for health care professionals employed by organisations associated with the National Institute of Health Research Biomedical Research Centre at Guy’s & St Thomas’ and King’s College London:

  • King’s College London
  • Guy’s and St Thomas’ NHS Foundation Trust
  • South London and the Maudsley NHS Foundation Trust
  • King’s College Hospital NHS Foundation Trust
  • St George’s University of London
  • St George’s Hospitals NHS Foundation Trust

Places are booked on a first come, first served basis. If the module is full, your name will be placed on a waiting list and if a place becomes available you will contacted at the latest 72 hours beforehand.

Non Attendance Policy

The courses in this programme are very popular and are often oversubscribed. If you are unable to attend a course you are booked on to you must notify us 72 hours in advance so we can offer the place to someone else.

If you do not attend on the day and are unable to provide a satisfactory explanation you may be removed from future course bookings.

For further information please contact the NIHR Guy’s and St Thomas’ BRC Research Training Programme at