Class 2: Coding continued + the why of climate change

Elisabeth Gawthrop

Today

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

  • Announcements

  • Quiz

  • Go through quiz answers and discuss

  • Review/discussion of reading/homework

Break

  • Group activity on data-based vs data-decorated story

  • Lecture - climate change

  • Group time to discuss story ideas so far

Break

  • Lecture - coding

  • Notebook time

  • Check out

Announcements

  • If you turned something in, full credit. I will start grading more rigorously, but I gave it week to get used to each other.
  • Call me Elisabeth
  • Office hours
  • Google/Slack
  • Last week’s self-ratings:
    • Journalism average = 7 (range of 4.5-10)
    • STEM average = 5 (range of 3 to 7)
  • Groups:
    • Tanka, Mari, Hannah
    • Max, Marissa, Mia
    • Annika, Audrey
    • Dylan, Joseph, Sam

Class 2 Quiz

  1. What is technochauvinism as described by the author? (1 pt)

    A: Using technology to show someone up
    B: Thinking technology is always the answer
    C: Being chauvanistic on a dating app

  2. The author seems pretty negative about technochauvinism. What is your opinion? (3 pt)

  3. What is the difference between general AI and narrow AI? (2 pt)

  1. Do you think ChatGPT is general or narrow AI, and why? (2 pt)

  2. What is the function we used in the homework to create a list of numbers? (1 pt)

    A: ls()
    B: create_list()
    C: c()

  3. What is the function we used in the homework to add a list of numbers together? (1 pt)

    A: addup()
    B: add()
    C: sum()

Data-driven vs Data-decorated Journalism

Read or skim each article (especially the first half) to determine if each one is data-driven or data-decorated.

From Grist, How Climate Action Fizzled in Cascadia: https://grist.org/climate/washington-oregon-and-british-columbia-failed-climate-pledges/

From AP, One year old, US climate law is already turbocharging clean energy technology: https://apnews.com/article/inflation-reduction-act-renewable-energy-policy-economy-d5b0a7f15659930c6c15f0d180b193e8

From KUOW, Despite state law, Washington takes 3+ years to reveal its climate pollution: https://www.kuow.org/stories/despite-state-law-washington-takes-3-years-to-reveal-its-climate-pollution :::

Climate

How did we get here?

Source: Carbon Brief. Click here for link.

Climate

Emissions in America

Total U.S. Greenhouse Gas Emissions by Economic Sector

Source: EPA. Click here for link.

Climate

What are we doing about it?

  • Mitigation

  • Adaptation

  • Geoengineering

  • Loss and Damage

Coding

  • Projects - a way to organize your files

    • Suggestion: have one project for homework files and another project for your story. So, first create a folder for your homework files that the project can go in, and same for story files.
  • Pipes - a primary syntax for modifying a dataset

    • Can be typed as %>% or more updated version |>

Coding

  • Documentation + stack overflow - another source for help

    • If you get an error, copy and paste the error and google it

    • On stack overflow, don’t spend too much time trying to understand the original poster’s question. See if it’s in line with your question, and then skip to first answer or answer with green check mark next to it.

Tasks before next week

  • Read second section of Artificial Unintelligence book (Chapters 5 to 9)

  • Coding notebook: Due Jan 27 @ 5PM (on Canvas)

  • Story-based checkpoint: In your Masterfile, fill in the following sections: story idea + related issues + at least 3 articles for each clip search. Copy those sections into Canvas to submit (doesn’t have to be well formatted - I will look at the Google sheets version). Due at beginning of week 3 class.

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?