Data importing and tidy data II

Quantitative Methods for
International Politics

IPOL 3270 • Fall 2026

September 22, 2026

  • Reading data
  • Tidy data
  • Pivoting data

Making and reading data

Download some tidy tuesday datasets

Make some data in Google Sheets, then download and read_csv

CSV vs. Excel

Practice

Tidy data

Each variable forms a column. Each observation forms a row. Each type of observational unit forms a table.

Column headers are variables/values

Extra information in a table

Pivoting

tidyexplain animations