Data reporting for investigative journalism
  • Syllabus
  • Schedule
  • Weeks
  • About
  1. Weekly details
  2. 4.2: Creating new from old with mutate
  • Home
  • Updates

  • Syllabus
  • Course schedule

  • Weekly details
    • 1.1: Intros
    • 1.2: Startup potpourri
    • 2: Scripted journalism
    • 3.1: First steps in data analysis
    • 3.2: A quick tour of verbs
    • 4.1: Filter and sort to find stories
    • 4.2: Creating new from old with mutate
    • 5.1: Summarize with group by
    • 6.1: Matchmaking with joins
    • 7: Tablemaking
    • 8: Cognitive bias in data journalism
    • 9: Build your own database
    • 10: Intro to data vis
    • 11: Intro to GIS and mapping
    • 13: OpenRefine and data cleaning
    • 14: Scraping for stories

  • Course textbook
  • Canvas
  • Slack
  • Other links

On this page

  • Agenda
  • Upcoming deadlines
  • Preparation

From old to new with mutate

Data rarely comes the way you need it. Use the mutate verb to create new columns.
Class date

January 31, 2024

Agenda

  • Discussion of replication project story selections.
  • Questions on walkthrough
  • Complete the filter, arrange, and mutate lab

Upcoming deadlines

Sunday, Feb. 4: Sentences for replication project

Preparation

  • Read Chapter 15, Mutate
  • Complete the walkthrough on Mutate
  • If you want to work ahead, start reading the two stories that are choices for your replication project so you know which you want to choose.
4.1: Filter and sort to find stories
5.1: Summarize with group by