Six demos + one hackathon

Assignments

Weekly assignments are checked for completion. The final hackathon assesses the quality of the group’s analysis and report.

Assignments begin in Week 2. Nothing assessed is due before Session 1. Demo 1 is due Sep. 24 at 17:00. Swirl and the first DataCamp block are due when Session 2 begins on Sep. 25 at 09:15.

What you will do

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.

  1. Complete the short “Before class” items on the session page.
  2. Follow the demonstrated Orange workflow or the required R-track equivalent.
  3. Save the workflow or script under the exact filenames listed. Include the required outputs, settings, and text checks.
  4. Commit and push the work. Verify every required file on github.com.

R foundations

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
How completion is recorded
DataCamp work is checked through the course classroom dashboard. Do not upload DataCamp screenshots. For Swirl, upload one screenshot as r-learning/swirl-r-programming.png. If DataCamp access is not active, use the local fallback and submit its three listed files.

BA2 review alternatives

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.

Weekly demos

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.

Submission expectations

Every weekly submission must contain the following items.

  1. A short README.md recording the corpus, software track, relevant settings, and completed tasks.
  2. A workflow or script that opens from the repository.
  3. The specifically named figures, tables, screenshots, or text-check files.
  4. A final commit pushed before the deadline and visible on github.com.

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.

Completion scale

2 points

Complete

Every requested task and usable file is present by the deadline.

1 point

Partial

One or more checklist items are missing or unusable, or the submission arrives within seven days after the deadline.

0 points

Missing

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.

Attendance and deliverables (30%)

Final hackathon (70%)

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.

Submission check

Complete these checks before every deadline.

  1. Open the repository on github.com.
  2. Navigate to the correct folder.
  3. Open the workflow/script and every required output.
  4. Compare the folder against the published checklist.
  5. Confirm the latest commit time is before the deadline.