NHS-R Community introduction to R and R Studio

17th January - 19th January
3 half days

3 half days (9.30 am -1.00 pm)

  • January 2024
    Registration closed

Intro to R and RStudio

Summary of the course

Based on the hugely popular Introduction to R and R Studio course run by NHS-R Community volunteers, the one day course has been extended into 3 half days and covers the principles of data manipulation.

No previous knowledge of R is expected.

The concepts covered in the course, and even some function names, will be familiar to those who use SQL and this course is aimed at those who have not used R/RStudio before or used only very little of it (perhaps running other people’s work for example).

As we work through the course we will be using and exploring Quarto to see how reports that mix text and code can be produced in R as well as be used as a way of managing analysis workflow.

Learning outcomes:

  • To introduce RStudio as an IDE (integrated development environment)
  • Introduce familiar concepts of data manipulation but using R
  • Practice these concepts and bring them together in a Quarto report

Detailed Programme

Session 1: Introduction and getting started

  • Course agenda and aims
  • Introducing and getting started with RStudio
  • Introducing what packages are in R
  • Projects
  • Opening Quarto

Session 2: Data Manipulation

  • Import a csv
  • Import a messy csv
  • Import a csv from the web
  • {dplyr} data wrangling with a selection of main functions
  • {dplyr} showcase more functions
  • Creating new objects
  • Introducing vectors
  • Joining data together
  • How to style your R code

Session 3: Categorical Variables

  • Finding help on functions using RStudio and the internet
  • Ongoing learning resources
  • Introducing chart visualisations using {ggplot2}
  • Using {datapasta}
  • Using {janitor} to remove blank rows/columns and tidy column names
  • Using {stringr} for cleaning with strings (for example % wildcard searches)


The course will be run through Posit Cloud but if you would like to use your own computer please ensure that you have the latest R and R Studio installed. No previous knowledge of R is expected.


Your training will be led by:

Zoë Turner, Senior Data Scientist, The Strategy Unit.

Data Analysts, and anyone interested in learning about R, in Integrated Care Systems in the Midlands

This course is free and available to all those working in health and care in the Midlands  e.g. NHS, public health, local authority, ICBs, ICSs etc

Duration and start date

3 half days (9.30 am -1.00 pm)


January 2024

3 half days (9.30 am -1.00 pm)

  • 17/01/24
  • 18/01/24
  • 19/01/24


Registration now closed.

Please email charlotte.henderson2@nhs.net if you would like to be notified of future dates.

The NHS-R Community run monthly webinars and workshops, including Intro to R and RStudio – visit https://nhsrcommunity.com

For more information about this course, please contact the Training & Development Operational Lead, Rachel Caswell (rachel.caswell@nhs.net)