| Session | Titel | Dauer |
|---|---|---|
| 1 | Installing R and RStudio | 06:13 |
| 2 | Installing Quarto | 02:55 |
| 3 | R Studio desktop workflow (2022) | 08:16 |
| 4 | Customizing Rstudio | 08:03 |
| 5 | Quarto visual editor [Part 1] | 10:20 |
| 6 | Quarto visual editor [Part 2] | 13:19 |
| 7 | Quarto visual editor [Part 3] | 10:39 |
| 8 | Quarto visual editor [Part 4] | 04:28 |
| 9 | Quarto visual editor [Part 5] | 12:10 |
| 10 | RStudio Working with Code: Part 1 | 07:41 |
| 11 | RStudio Working with Code: Part 2 | 14:08 |
| 12 | RStudio Working with Code: Part 3 | 08:44 |
| 13 | RStudio Working with Code: Part 4 | 06:47 |
| 14 | RStudio Working with Code: Part 5 | 07:07 |
| 15 | RStudio Working with Code: Part 6 | 05:48 |
| You can also play the videos as a YouTube playlist. | ||
Introduction
Please watch all the videos in the tutorial series on Introduction to R, RStudio & Quarto and Practical Work with R by December 1st, 2024 at the latest. The content conveyed in the videos (e.g., knowledge and application of certain functions to filter, summarize, or edit data) will be assumed as a foundation for session 7 of the seminar.
If you have questions and/or problems, please write a post in the forum of the
StudOn course so that everyone can benefit from the answers. Use the prefix “Question/Problem R:” in the subject line and tag/add me. If available, please always include the material/video to which your question refers.
- It is possible that another student has already asked a similar question, so please check the existing posts (e.g., by searching for the prefix) before adding a new question. If you know the answer to a question, feel free to respond!
Background
Practical work with R, RStudio, and Quarto is an integral part of the Digital Behavioral Data course. To accommodate different levels of prior knowledge while establishing a common “basic knowledge” for the course, we would like to provide you with a series of introductory videos to facilitate your (re)entry. Specifically, this consists of a mix of YouTube tutorials by
Introduction to R, RStudio & Quarto
- This video tutorial series was created by
Andy Field to acompany his books An Adventure in Statistics (Field and Iles 2016) and Discovering Statistics Using R (Field, Miles, and Field 2012), and deals with the use of RStudio and Quarto for interacting with R. - The videos cover the installation of R, RStudio, and Quarto, the differences between them, a tour of RStudio, good workflows in RStudio, installing and loading packages, and using Quarto.
- Most of the exercises shown in the tutorial can be easily reproduced, either by manually entering the data or variables or by using your own files (e.g., when embedding graphics).
- However, some data used (e.g., in the session
RStudio Working with Code: Part 3) is unfortunately not available publically. In this case, you can either use your own “data” to reproduce the examples or rely on built-in R datasets (such asairquality,mtcars,iris, etc.) by loading them with thedata()command (e.g.,data(mtcars)).
Practical Work with R
CCS.Amsterdam is a group of “Computational” communication scientists from the University of Amsterdam and the Vrije Universiteit Amsterdam. In various research projects, these scientists aim to use and develop computational methods to answer social science research questions. This includes, among other things, the study of news streams, polarization, political microtargeting, fake news, and recommender design. A main goal of the group is to disseminate knowledge among a growing community of enthusiastic “Computational” communication scientists.
The series of tutorials curated by CCS.Amsterdam aims to teach the use of tidyverse functions for data cleaning, transformation, visualization, etc. The tutorials consist of both handouts, i.e., documents explaining the most important commands, and video tutorials covering the same material.
The table also lists chapters from Computational Analysis of Communication [CAC] and R for Data Science [R4DS], two 100% free and openly accessible books that also cover and possibly deepen the material of the respective session.
- The video tutorials may be slightly older than the handouts. In case of doubt, follow the content of the handouts rather than the videos.
- Please note that the CAC offers R and Python examples side by side. You may need to actively select the R code examples.
| Session | Video-Tutorial | Materialien | Literatur | Dauer |
|---|---|---|---|---|
| 1 | R basics: commands, objects, and functions | [Handout] | [CAC] [R4DS] | 29:30 |
| 2 | R Tidyverse: Data transformation | [Handout] | [CAC] [R4DS] | 22:19 |
| 3 | R Tidyverse: Data summarization | [Handout] | [CAC] [R4DS] | 11:00 |
| 4 | R ggplot2: Basics of data visualization | [Handout] | [CAC] [R4DS] | 35:14 |
| You can also play the videos as a YouTube playlist. | ||||