Assignments

Assignments are posted here as they are assigned. Not every week has an assignment; some weeks involve only in-class work. Refer to the Syllabus for the complete schedule.

Standing policy: All assignments are due by the beginning of the next class unless otherwise specified.


Week 1: R Programming with Swirl

Assigned: Feb. 02 Due: Feb. 09 (before class)

Complete the following Swirl R Programming lessons:

Lesson Topic
1 Basic Building Blocks
2 Workspace and Files
4 Vectors
6 Subsetting Vectors
7 Matrices and Data Frames
12 Looking at Data

How to complete:

  1. Open RStudio
  2. Type library(swirl) then swirl() in the console
  3. Select “R Programming” and work through each lesson listed above

Submission: You will confirm completion via an in-class poll at the start of Week 2. No screenshots or documentation required.

Week 2: R Programming & Orange Data Mining

Assigned: Feb. 09 Due: Feb. 16 (before class)

R Programming:

Complete DataCamp: Introduction to Text Analysis in R – Chapter 1: Wrangling Text.

Optional: Replicate the in-class Orange demo

For extra practice, replicate the in-class demo by loading the presidential speeches corpus into Orange Data Mining and exploring it with the Corpus widget.

Download the corpus from the Data page.

Steps:

  1. Download the presidential speeches CSV from the Data page
  2. Add it to a subfolder in your repo (e.g., /data/president_speeches/)
  3. Commit and push via GitHub Desktop
  4. Open Orange Data Mining
  5. Add a Corpus widget and load the CSV from your data folder
  6. Explore the corpus – browse speeches, filter, search
  7. Save your workflow (.ows file)

Submission: Upload your .ows file and a screenshot of your Orange workflow to your GitHub repository.


Uploading Your Work

Unless otherwise noted, coursework must be documented with screenshots and relevant files, then uploaded to your individual GitHub repository. See the Getting Started guide for repository setup and structure.


Optional: Supplementary R Programming

For students interested in developing deeper R programming skills:

Swirl R Programming:

Swirl Exploratory Data Analysis:

DataCamp: