Week 9

Developing an exploratory data analysis with {sf} and the {tidyverse}

weeks
Published

March 25, 2026

Overview

This week combines the topic originally scheduled for week 7 with the topic for week 9.

On thee topic of functions:

  • Introduce process of refactoring code to write functions
  • Practice naming functions and adding comments to functions
  • Introduce the concept of reproducible data analysis pipelines

Required readings

Optional readings

  • Sam Leon “Accounting for Methods: Spreadsheets, Scripts and Programming Notebooks,” in The Data Journalism Handbook: Towards A Critical Data Practice, ed. Liliana Bounegru and Jonathan Gray, 2nd ed. (Amsterdam University Press, 2021), 128–137, doi:10.2307/j.ctv1qr6smr.
  • Welcome to Quarto Workshop! (Posit PBC, 2022), https://www.youtube.com/watch?v=yvi5uXQMvu4.

How do you understand a dataset? Descriptive statistics, tables, and interactive tools can be helpful in a preliminary analysis for any dataset.

Required readings

  • Ch. 11 Exploratory Data Analysis in Wickham, Grolemund, and Çetinkaya-Rundel R for Data Science.
  • Natalia Mazotte “Working Openly in Data Journalism,” in The Data Journalism Handbook: Towards A Critical Data Practice, ed. Liliana Bounegru and Jonathan Gray, 2nd ed. (Amsterdam University Press, 2021), 138–142, doi:10.2307/j.ctv1qr6smr.

Optional readings

🖥️ Exploratory analysis with R