Complete
Every requested task and usable file is present by the deadline.
Six demos + one hackathon
Weekly assignments are checked for completion. The final hackathon assesses the quality of the group’s analysis and report.
Sessions 1–6 each produce one individual demo. You begin it during class, finish any remaining checklist items afterward, and push the named files to your private GitHub repository by the deadline. The final is a four-hour group hackathon completed and submitted in class.
Everyone completes the six blocks below. Each block is worth one completion mark. DataCamp materials are managed through the online course classroom and are listed here without public course links. Everyone will be added by the start of the course, and some invitations may arrive earlier. DataCamp will send an email notification when you are added.
| Assignment | For lesson | Complete | Due |
|---|---|---|---|
| Swirl · R Programming | Session 2 · Text Preprocessing | Lessons 1 Basic Building Blocks, 2 Workspace and Files, 4 Vectors, 6 Subsetting Vectors, 7 Matrices and Data Frames, and 12 Looking at Data | Sep. 25 · 09:15 |
| DataCamp · Introduction to R · Block 1 | Session 2 · Text Preprocessing | Chapter 1 Intro to basics | Sep. 25 · 09:15 |
| DataCamp · Introduction to R · Block 2 | Session 3 · Descriptive Patterns | Chapters 2 Vectors and 3 Matrices | Oct. 2 · 09:15 |
| DataCamp · Introduction to R · Block 3 | Session 4 · Clustering and Similarity | Chapters 4 Factors, 5 Data frames, and 6 Lists | Oct. 9 · 09:15 |
| DataCamp · Intermediate R · Block 4 | Session 5 · Classification and Sentiment Analysis | Chapters 1 Conditionals and Control Flow and 2 Loops | Oct. 16 · 09:15 |
| DataCamp · Intermediate R · Block 5 | Session 6 · Topic Modeling | Chapters 3 Functions, 4 The apply family, and 5 Utilities | Oct. 30 · 09:15 |
r-learning/swirl-r-programming.png. If DataCamp access is not active, use the local fallback and submit its three listed files.
Students who completed these activities in BA2 may repeat both complete DataCamp courses as review. With advance approval, the instructor may assign equivalent Swirl or DataCamp work for additional learning. Alternative work follows the same five weekly deadlines and is worth the same six completion marks. The weekly R scripts and R-only hackathon remain required.
Demos 1–4 and Demo 6 are due at 17:00 on the Thursday before the next class. Demo 5 is due on Thursday, Oct. 22, as though a regular class followed the next day.
| Demo and lesson | Due | Repository folder | What must be evident | Details |
|---|---|---|---|---|
| Demo 1 · Session 1 · Introduction to Text as Data | Sep. 24, 17:00 | demos/01-setup/ |
Repository structure, README, provenance record, and two pushed commits | View exact filenames and checklist |
| Demo 2 · Session 2 · Text Preprocessing | Oct. 1, 17:00 | demos/02-preprocessing/ |
Preprocessing workflow, settings record, before-and-after output, and text inspection | View exact filenames and checklist |
| Demo 3 · Session 3 · Descriptive Patterns | Oct. 8, 17:00 | demos/03-descriptive-patterns/ |
Bag-of-words workflow, count and TF-IDF outputs, and a short comparison | Exact checklist opens Sep. 25 |
| Demo 4 · Session 4 · Clustering and Similarity | Oct. 15, 17:00 | demos/04-clustering/ |
Clustering workflow, dendrogram, membership output, and three text checks | Exact checklist opens Oct. 2 |
| Demo 5 · Session 5 · Classification and Sentiment Analysis | Oct. 22, 17:00 | demos/05-sentiment/ |
Sentiment workflow, score output, and manual checks of six texts | Exact checklist opens Oct. 9 |
| Demo 6 · Session 6 · Topic Modeling | Nov. 5, 17:00 | demos/06-topic-modeling/ |
Topic-model workflow, topic and document outputs, three text checks, and shared hackathon scope | Exact checklist opens Oct. 16 |
All deadlines are in Leiden local time. This overview names the lesson, expected output, and deadline from the beginning of the course. Each session page supplies the exact filenames and completion checklist.
Every weekly submission must contain the following items.
README.md recording the corpus, software track, relevant settings, and completed tasks.Files saved only on your computer, empty placeholder files, broken workflows/scripts, or links you have not granted the instructor permission to open do not count as submitted. Use the recommended repository structure and never commit restricted corpus files unless the instructions explicitly permit it.
Every requested task and usable file is present by the deadline.
One or more checklist items are missing or unusable, or the submission arrives within seven days after the deadline.
No required files are submitted, or the submission arrives more than seven days late.
The weekly demo score records whether you did what was requested. It does not reward originality, sophistication, or the quality of the interpretation. Technical feedback prepares you for the hackathon. Each R foundation block is scored separately. Complete work earns 1 mark, partial work earns 0.5, and missing work earns 0.
The final project is completed in class on Nov. 13 from 09:15 to 13:15 in groups of two or three. Each group uses one prepared course corpus and one main method. The group must also inspect at least three passages. The submission is a private group repository with a reproducible workflow or script, two or three figures or tables, provenance and contribution records, and an 800–1,200-word PDF report. The complete brief and approved corpus menu open Oct. 30.
Complete these checks before every deadline.