timothy leffel, spring 2017


agenda for the day:

  • prep for next week
  • week1 exercises
  • quick R Studio tips + tricks
  • looking at some real datasets
  • packages
  • reading ("loading/importing") and writing ("saving/exporting") data
  • common operations for data cleaning and transformation
  • writing pipe-chains via magrittr::'s forward pipe %>% (if time)
  • writing your own functions (if time)

all materials on the course website:


prep for next week

for next week: everyone obtain a dataset and send it to me!

(see sec 0 of week2 notes for details + some tips)

week1 exercises

a couple R Studio tips + tricks

  1. multiple cursors in find+replace
  2. "import dataset" functionality

multiple cursors