Learn R!

Materials for an online R bootcamp offered each summer at the University of Pennsylvania. All materials are freely available, except for access to Datacamp exercises which are for UPenn graudate students only

Setting up your software environment

Module 1 • 2hrs

In the first half of this lecture we'll discuss the open-source, cross-platform R programming language. Then each student will set-up their own laptop with the newest version of R and RStudio.

Introduction to R

Module 2 • 4hrs

In this module, you'll master the basics of data analysis in R, including working with vectors, lists, and data frames. You'll also practice using R by working with real datasets.

Introduction to the Tidyverse

Module 3 • 4hrs

Get started on the path to exploring and visualizing your own data with the tidyverse, a powerful and popular collection of data science tools within R.

Introduction to plotting with ggplot2

Module 4 • 4hrs

Learn to create detailed, publication-quality plots using ggplot2, a system for declaratively creating graphics, based on The Grammar of Graphics

Tracking the global animal trade

Module 5 • 6hrs

Think you know how to wrangle and plot data? We'll put your skills to the test using a dataframe with millions of rows. To illustrate the general utility of the methods you've learned thus far, we'll explore the import of animals and animal products into US port cities over a 14 year period.