Class 4

Elisabeth Gawthrop

Today

  • Check-ins: name, how you’re doing, a win for this week

  • Guest speaker: Tom Hamburger

Break

  • Quiz

  • Go through quiz answers and discuss

  • Review/discussion of reading/homework

  • Overall coding review and preview for upcoming notebook

  • Group time to discuss story ideas so far (if time)

Break

  • Notebook time

  • Check out

Class 4 Quiz

    1. As of the time of the article, about how much money had the Clintons raised (both political and foundations donations combined)? (1 pt)

      A: $3 million
      B: $30 million
      C: $3 billion
      D: $30 billion

    2. What year in the (updated) police shooting database recorded the the highest number of police shootings? (1 pt)

      A: 2016
      B: 2018
      C: 2020
      D: 2024

  1. Which federal agency did you download data from in your homework? (1 pt)

    A: National Oceanic and Atmospheric Administration (NOAA)
    B: Dept of Energy (DOE)
    C: Dept of Transportation (DOT)

  2. What is the function we used to pull a csv file into our R notebook/workspace? (1 pt)

    A: pull.csv
    B: write.csv
    C: read.csv

Quiz con’t

    1. Were there any Clinton donors that surprised you? Who and why? (3 pts)
    1. Name at least one pro and one con for data being hosted/provided by the government? (3 pts)

Review and discussion

  • Reading reactions
  • Homework review

Coding review

  • Basic R orientation
  • Projects
  • Objects
  • Data types
  • Operators
  • Functions and arguments
  • Problem solving:
    • Documentation
    • Break it down and reverse engineer
    • Reading errors

Dataframes

Concepts for this week

  • More data types: dates and logical
  • Group by
  • Summarise
  • Join

Story ideas so far

Check in with your group

Break

Coding lab

Time to work on Notebook 04 together

Tasks before next week

  • Reading to be announced - will send an email via Canvas

  • Coding notebook: Due Feb 10 @ 5PM (on Canvas)

  • Story-based checkpoint:

    • Add two more sources (and accompanying notes) to each of the three clips and research sections. (So at least six total new clips/articles.) Fill in any notes you may have neglected before.

    • The following week, you’ll be looking for datasets you might use in your story, so look for sources with an eye towards this.

Checkout

  1. Do you feel behind, on-track, or ahead?
  2. About how long did the reading take you?
  3. About how long did the coding notebook take you?
  4. About how long did story-based assignment take you (including research time)?
  5. Any other feedback, notes on how you’re feeling, etc?