1 + 1Introduction to Quantitative Analysis and Data Visualisation Using R
Welcome!
Welcome to the course materials for the Introduction to Quantitative Analysis and Data Visualisation Using R course.
This course is designed to equip you with the essential skills to leverage the power of R and Tidyverse. The course begins with a gentle introduction to the user-friendly RStudio interface and the basics of the R coding language, or syntax. This makes it ideal for anyone with little or no prior coding experience, or those looking for a refresher of the basics.
Through this course, you will learn how to manipulate, transform, and clean data efficiently, and how to create compelling visualisations to communicate your findings effectively. Throughout the course, we will discuss best practices for reproducible coding.
How to use this book
This book provides a combination of written explanations, code examples, and practical exercises to allow you to practice what you have learned.
Code examples will be provided in code blocks, such as this one:
Code in these blocks can be copied and pasted into your R session to save time when coding. We recommend typing the code yourself to familiarise yourself with the coding process and use the copy option if you are really stuck!
Throughout the book, you will see colour-coded boxes which are used to highlight important points, give warnings, or give tips such as keyboard shortcuts.
These boxes will be used to highlight important messages, supplementing the main text.
These boxes will contain useful hints, such as keyboard shortcuts, that can make your coding life a little easier!
These boxes will contain warnings and highlight areas where you need to be more cautious in your coding or analysis.
Accessibility options
These notes are available in dark mode by toggling the
button.
Notes are also available to download as a PDF file using the
button.
Data used for the course
The examples and exercises in these materials are based on real world data. This data relates to the Core Spending Power (CSP) of English local authorities between 2015 and 2020.
Data for this course can be downloaded from the data folder of this course’s repository.
For more information about this data, including variable descriptions and sources, see the appendix.
Feedback and issues
If you spot a bug or mistake in these notes, please let me know by raising an issue.
Contact Me
If you enjoyed this course and would like me to run a session for your organisation, or if you would like to engage me as a consultant on a project get in touch at deanmarchiori.com
Licence and Attribution
I believe that science should not be behind a paywall, that is why these materials are available for free online, in accordance with the licence.
This work is an adaptation of original work “Introduction to R with Tidyverse”. The material has been modified, to compare against the original works see here.
Regressions with R short course by Sophie Lee is licensed under Creative Commons Attribution-ShareAlike 4.0 International

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International.