June 10, 2015, 3121 Snedecor
Eric Hare, erichare@iastate.edu.
Andee Kaplan, ajkaplan@iastate.edu.
Carson Sievert, cpsievert@iastate.edu.
Howdy R users! Unorganized and unruly data got you in a pickle? Come on down to the Data Wrasstlin' portion of the Week of R and we'll help you learn the tools to quickly and painlessly organize, clean, manipulate, and summarize your data. You can put the trials of manipulating data in Excel out of your mind and use your ace in the hole, the dplyr, tidyr, and stringr packages, to get your data into order in minutes. Learn how to read data in directly from Excel files and other common formats. If it takes forever to get records re-formatted from rows to columns, this is the course for you! Yeehaw!
The course will be data centric, with lots of different data sets that illustrate examples of the different techniques used for different problems.
Please contact Heike Hofmann (hofmann@iastate.edu) for fees in case you are not affiliated with the university.
Date | Notes | Lecture and Resources |
---|---|---|
1:00 - 1:30 | Setting Up | This will make sure that everybody's system is up and running
00-setup.R |
1:30 - 2:00 | Reading Files | Excel files vs text, data organization 01-files.R, midwest.csv, midwest.xls, usa.xls, Your turn solutions |
2:00 - 3:10 | Intro to dplyr | for-loops, intro to dplyr, summarize 03-dplyr-intro.R, PDF slides Your turn solutions |
3:10 - 3:30 | Break | |
3:30 - 4:50 | More dplyr: an example | tidyr, dplyr verbs, lubridate 04-more-dplyr.R, PDF slides |
4:50 - 5:00 | Feedback | We very much appreciate any feedback you can give us. You can find a form here: survey. |
After the end of the this one course, we expect you to be able to do the following:
You can bring your own laptop and work on it, if you like to. In order to keep up with everybody else, we're asking that you start installing the following pieces of software ahead of coming to the workshop:
install.packages("ggplot2", dependencies=TRUE) # installs a few other packages as well install.packages("dplyr") install.packages("tidyr") install.packages("reshape2") install.packages("lubridate")
Recommended Reading: