ECPR

Install the app

Install this application on your home screen for quick and easy access when you’re on the go.

Just tap Share then “Add to Home Screen”

ECPR

Install the app

Install this application on your home screen for quick and easy access when you’re on the go.

Just tap Share then “Add to Home Screen”

Your subscription could not be saved. Please try again.
Your subscription to the ECPR Methods School offers and updates newsletter has been successful.

Discover ECPR's Latest Methods Course Offerings

We use Brevo as our email marketing platform. By clicking below to submit this form, you acknowledge that the information you provided will be transferred to Brevo for processing in accordance with their terms of use.

virtual

Introduction to R

Course Dates and Times

Monday 24 – Friday 28 July 2023
Minimum 2 hours of live teaching per day
10:00 – 12:00 CEST

Akos Mate

aakos.mate@gmail.com

Centre for Social Sciences

This course offers an interactive online learning environment using advanced pedagogical tools, and is specifically designed for advanced students, researchers, and professional analysts. The course is limited to a maximum of 16 participants, ensuring that the teaching team can address the unique needs of each individual.

Purpose of the course

The goal of this course is to make R more accessible to beginners and provide them with the skills and confidence needed to perform common analysis tasks in R. The course covers important topics such as data cleaning, exploratory data analysis, visualization, and academic writing using RMarkdown. By the end of the course, learners should feel comfortable approaching these tasks with R.

While R has a reputation for being difficult to learn, the course aims to dispel this myth by showcasing recent developments that have made R more accessible to newcomers. By the end of the course, learners should be able to use R effectively and confidently for their data analysis needs.

ECTS Credits

4 credits - Engage fully in class activities and complete a post-class assignment


Instructor Bio

Akos Mate is a research fellow at the Centre for Social Sciences in Hungary. His key research area is the political economy of the European Union and its members’ fiscal governance.

He uses a wide variety of methods in his research, particularly automated text analysis (and attached various machine learning approaches), network analysis and more traditional econometric techniques.

@aakos_m

Key topics covered

The guiding logic of the course is to give practical knowledge of the whole data analysis workflow:

Day 1 – Importing data
Day 2 – Data wrangling / cleaning
Day 3 – Visualisation | Exploratory analysis
Day 4 – Analysis | Writing our own functions
Day 5 – Reporting the results

R can read in any file format. A range of the most commonly used types, including plain txt, csv, Excel xlsx, Stata, Sas, and SPSS, will be covered over the duration of the course.

Reflecting on the realities of typical research projects, the course focuses on data cleaning and getting data into a shape which allows us to analyse and visualise it properly. The exploratory analysis and data visualisation parts are closely intertwined. 

You will learn how to make descriptive statistics, how to group data, and how to explore a given dataset. The course puts strong emphasis on visualisation components, and you will learn to use the ggplot2 package to produce wonderful looking graphs (as an example, most of the Financial Times' charts are made with R in ggplot2). 

As part of learning a programming language, it is inevitable that you must learn how to write your own functions. This is not the most intuitive part, and you will focus on making it as accessible as possible without relying on too much computer science / programming jargon. Alongside this, you’ll explore some statistical applications in R (t-test and OLS regression).

At the end of the course, you will export your results from R and have the opportunity to write an academic paper or report using RMarkdown.


How the course will work online

R is one of the subjects that can work well in an online setting for teaching and learning. You will be provided with an RStudio Cloud account, and all R codes and data will be uploaded into the Learning Management System for you.

The live element of the class is around 10 hours in total across the week: this includes live coding, Q&A with the Instructor and Teaching Assistants, coffee breaks and getting-to-know-each-other sessions.

You will work through coding challenges using the knowledge gained from the ‘live’ course elements. Solutions can be presented during the live sessions, if needed.

This course assumes no knowledge of R, or of any other programming languages.

You will be required to complete one short reading ahead of the course.