Instructors' public repository for Quantitative Social Science: An Introduction in tidyverse
This repository contains the original R Markdown
(Rmd) and Quarto
(qmd) files, and pdf slides (contained in pdf_slides
folders) used for
teaching the tidyverse syntax of R programming with QSS-tidyverse textbook at the University of Tokyo in 2022 Summer. Topics covered in each chapter are listed below and all materials are put together by the teaching assistants of QSS UTokyo 2022. Please feel free to use them for your
teaching.
- Introduction: introduction to
tidyverse
- Causality:
dplyr
,tidyr
and themagrittr
pipe operator - Measurement:
ggplot2
andtidymodels
- Prediction:
stringr
,lubridate
,tidyr
,broom
andmodelr
- Probability: column-wise operations with
dyplr
, writing mathematics (LaTeX
) and inline codes inR Markdown
- Uncertainty:
purrr
, data types in R, code style, for loops, functionals and review oftidyverse
We welcome your contributions too. Please help us improve the existing teaching materials so that more instructors can use them. To do this, create a fork, make changes, and then open a pull request.
In addition, you might want to look at the following resources:
-
QSS main repository contains all the data sets used in the manuscript
-
QSS learnr repository contains interactive learnr exercises tutorials based on Quantitative Social Science: An Introduction by Kosuke Imai from Princeton University Press. Currently, the exercises are only availble in baseR.
-
QSS learnr-tidyverse repository contains interactive learnr exercises tutorials based on Quantitative Social Science: An Introduction in tidyverse by Kosuke Imai and Nora Webb Williams from Princeton University Press. This repository contains both baseR and tidyverse version of the exercises.
-
Instructor Resources for Quantitative Social Science: An Introduction in tidyverse on Princeton University Press webpage.