MTH 190: Intro to Data Science

Author

Nicholas Schwab

Published

December 12, 2022

Schedule

Day 26: Final project work.

Just working the final project today.

Day 25: More maps with leaflet.

UMass $10,000 dollar/year scholarship to study Informatics, let me know if you want more info.

  • more maps
  • provider tiles
  • slides

Final Project due Tuesday Dec 20 at midnight. Presentation of project is Wednesday Dec 21 at 10:30am.

Day 24: Maps with ggplot2 and leaflet.

We’ll be working from this site today.

Day 23: SQL Project Day

Time to work on Project 3

Day 22: More SQL

  • Review problems 1,2,3 and 5 from chapter 15
  • Short Lecture?
  • Project 3

Day 21: Intro to SQL and dbplyr()

Day 20: Scraping Data

Day 19: Tidy Data Pivot Practice

Just Pivot practice with this assignment Clone the assignment by visiting the link above.

Day 18: Tidy Data

  • 45 minutes on tidy data with hw-05
  • 30 minutes on project
  • No class on Friday Nov 11th or Nov 23rd

Day 17: Continue working on Project 2

  • Comment your data with #
  • Use pull to save data to avoid retyping.
  • I’ll continue to check slack and github to give feedback.

Day 16: Project 2

Github:

  • Together: Push to github HW-03, HW-04, and Project-1.

Remember:

  • pull new changes
  • make edits on your computer
  • commit your local changes
    • this step may be repeated
  • pull again to avoid merge conflicts
  • push your commit(s) to GitHub

FEC Data Lecture

Project 2

Project 2 teams:

  • Ajani, Ida, Magdalena

  • James & Kathrine

Day 15: Work on HW 4.

Questions on HW 4

Point out the tidyverse Coding Style Guide

Practice: Merge Conflicts with github together

In preparation for Project 2: install.packages("remotes") remotes::install_github("baumer-lab/fec20")

Day 14: Ok Really Start HW 4

Discuss Problems 1 and 3 from Chapter 5

Start work on HW 4

Problem 3 solution

Day 13: More Practice

Push HW 3 to Github

Discuss Problems 1 and 3 from Chapter 5

Day 12: Joins

The Joins

Try Chapter 5 problems 1, 3 and 4 start in class continue for homework we’ll discuss Friday

Day 11: Project 1 workday and group_by()

group_by() (and rename)

Project_time

Day 10: Project 1

Discuss exercises 1,2,3,5 and 6 from chapter 4.

On Coding

learning to code

Project 1

Copy it from github. Here’s the outline

Day 9: The verbs

The Verbs The Verbs

Discuss exercises 1,2,3 from chapter 4.

Problem 5 and 6 for Classwork

Chapter 3: Problem 3 and 7

Day 8: Class is cancelled but…

I expect you to do the reading and try problem 1,2, and 3 from chapter 4.

I made you the dataframe for exercise 4.4 number 1 so you can play with the code. You can copy it from here. We’ll discuss this problem, number 2 and also 3 on Friday.

Day 7: Discuss Homework

Go over interesting bits from the homework:

  • HW2

    • load(), inline code, nrow()
    • question 4 and 5
  • HW3

    • brief analysis of code
    • stuck anywhere?

Practice:

Chapter 3: Problem 3 and 7

Day 6: Color and Grammar of Graphics

Color lecture

Grammar of graphics

Activity

Day 5: Digestion Day

Let us talk about these

Color exercise

Day 4: Using GGplot

Activity: Intro to ggplot2

Lab_01

Day 3: Check in and Taxonomy

Updates:

  • Issues with some packages installing on Server: ‘coronavirus’, ‘ggimage’, ‘dsbox’
  • What times of the day do you do your homework. When would AJ’s office hours work for you?

Check in on HW 1

HW 1 Take Aways

HW 1 due by midnight tonight.

Taxonomy

Lecture on Taxonomy

Activity on Taxonomy

Let’s look at HW 2

HW 02 should be shared with you through github You have to clone the repo and use your token as a password.

Get a NYTimes account

You get this free through HCC

Day 2: Practicing with github and Rstudio

The Knit-ty Gritty

When you come to class:

  • Log into HCC email account
  • Go to course website
  • Log into RStudio
  • Open Slack

Share with me your github username if you have not already.

Summarize Reading

Preface to 1.4 document

See Tips & Tricks

The six-fixes

Help us help you: take screenshots of your screen and post them to Slack.

  • macOS: Command+Shift+3 to take shot of whole screen, Command+Shift+4 to take subportion

  • Windows: Shift-Windows Key-S and Snip & Sketch

Activity

UNvotes

or

COVID-19

HW 1 should be shared with you via github.

Day 1: First Day of Class

RStudio

To sign in:

  • username: Your HCC email with @hcc.edu

  • password: Your HCC password

Slack

This class has a Slack channel. Its invite only. Check your e-mail I invited you to the channel on Monday. If you’ve got questions post them to Slack. I’ve introduced myself on Slack, you should do that too.

Lecture

Intro to R

Meet AJ! 12:00

  • See slack for zoom link.
  • When could you meet AJ?

General Questions and Comments