Set up your computer

Installation

Installation Verification

  1. Launch RStudio and you should see a program window like this:
  2. Click the File menu, select New Project…, then Version Control and Git;
  3. Copy & paste this URL: https://github.com/cities/datascience2017.git into the the Repository URL textbox;
  4. Click Create Project.

If you see a popup box that says “Clone Repsitory” with a progress bar and then RStudio refreshes, then your installation is working.

Why R

Introduction to R and RStudio

  1. Introduction to R and RStudio
  2. Project Management With RStudio
  3. Seeking help

Class project

For the class project, you are expected to create a R package with the following requirements and commit it to GitHub: 1. Contains at least one self-contained function; 1. Completed with necessary documentation; 1. Passes R package check and test(s); 1. [Advanced] includes a vignette that demonstrates the usage of the package.

You can take and/or re-organize code from your current work or start from scratch. Take the feasibility of completing in a week into consideration when selecting project ideas.

If you don’t have a feasible project idea at the moment, consider writing a R package that reads and visualizes the bike counts on Hawthorne Bridge and Tilikum Crossing. Daily traffic counts data for these two bridges can be found here. At the minimum, your package should be able to: