Importing and recoding data

Lecture 10

Dr. Elijah Meyer

Duke University
STA 199 - Summer 2023

2023-09-28

Checklist

– Clone ae-09

– Keys are posted

– Exam I released today ~ 5:00 PM

Exam Quesstions

– You can still reference old Slack conversations

– Open Notes; Individual assessment

– Turned in exactly like a hw

Questions

Warm Up

Why should we bother with writing code to edit data rather than just editing the Excel file?

Warm Up

fisheries |>
  group_by(continent) |>
  summarise(
    min_aq_prop = min(aq_prop),
    max_aq_prop = max(aq_prop),
    mean_aq_prop = mean(aq_prop)
  )

Warm Up

In ae-09

ae-09 sales data

ae-09 sales data

ae-09 sales data

Recap

Review

Review

Review

Review