Week 1) Start coding in R, use the terminal, and make your first Git commit
Learning Goals
- Coding: use base R and the Setup-Input-Transform-Output (ITO) logic for simple data tasks.
- Collaboration: use
git status,git add, andgit committo create your first clear version history. - Automation: run scripts from the command line using terminal/command prompt and
Rscript.
Preparation before class
- Please complete the software installation (see → Preparation before the course starts)
- Please read chapters 1-2 of “Marketing Analytics: A Modern Toolkit” (and optionally the Appendix: R - A Gentle Introduction)
- Please complete the code quests for week 1 (Shell Quest and R Quest - Basics)
Opening lecture and R bootcamp
- Introduction to the course
- In-class tutorial: R Bootcamp
After the lecture
- Complete all exercises from the tutorial shared with students this week.
Optional practice
- Work through R for Social Scientists chapters 1-4.