# R Lab — Ders 2 / Student package v1.0

This is independent tutoring material, not an official UCL module or assessment.
All 12 records are fictional. Base R only.

## Start
1. Unzip without changing folder structure: keep data/ and scripts/.
2. In RStudio, set your working directory to this extracted folder.
3. Check with `file.exists("data/class_synthetic.csv")`.
4. Run `source("scripts/check_setup.R")`.
5. Run `source("scripts/lesson02_demo.R")`, then edit `scripts/lesson02_practice.R`.
6. For full local acceptance: `source("scripts/acceptance_test.R")`.

Expected messages after actual R execution:
- `R LAB LESSON 2 SETUP CHECK PASS`
- `R LAB LESSON 2 ACCEPTANCE TEST PASS`

## Package files
- index.html, workbook.html: offline-readable lesson pages
- worksheet.md: printable/plain-text student exercises
- data/class_synthetic.csv: 12 synthetic records
- scripts/lesson02_demo.R: teacher-led walkthrough, no graded answers
- scripts/lesson02_practice.R: TODO exercises without solutions
- scripts/check_setup.R: CSV self-check
- scripts/acceptance_test.R: parse/source/numeric/plot acceptance test

Teacher's full answer key is NOT included in the public package.
The R scripts have not yet been executed in a real R runtime by the author of this release.
