Weekly slides
Slides open directly in your browser — use the ← and → keys to move between them.
-
Week 1 Sep 14, 2026
Lab policy and grading · data types · vectors, matrices and data frames · indexing · create / read / update / delete · first steps with
dplyr -
Week 2 Sep 21, 2026
The pipe operator revisited · vertical merges with
rbind()andbind_rows()· horizontal merges withfull_join(),left_join(),right_join(),inner_join(),semi_join()andanti_join() -
Week 3 Sep 28, 2026 No class
教師節快樂 · Happy Teachers’ Day
No lab this week — Taiwan marks Confucius’s birthday, so the computer room takes the day off too. Rest up, and we will pick things back up with
ggplot2on October 5. -
Week 4 Oct 5, 2026
Data visualisation with ggplot2
The grammar of graphics · the Gapminder data · collapsing data with
summarize()andacross()· aesthetics — shape, size, colour, linetype and alpha · titles and axis labels withlabs()· themes · trend lines withgeom_smooth()· reference lines · global versus local mapping -
Coming up Updated weekly
Later sessions cover more data wrangling with
dplyrandtidyr, and regression in practice — OLS and fixed effects, difference-in-differences, and instrumental variables. Links appear here as each session is posted.