Setup

library(tidyr)
library(dplyr)

Slides from today

Download the following datasets:

  1. mammal_count_data.csv

  2. mammal_site_data.csv

  3. mammal_physiology_data.csv

Time to read these data files into R.

# We'll have to make several tweaks here. 
counts <- read.csv('datasets/mammal_count_data.csv')
sites  <- read.csv('datasets/mammal_site_data.csv')
phys   <- read.csv('datasets/mammal_physiology_data.csv')

Post reading data warm-up option 1:

Post reading data warm-up option 2:


Data mashups!

You are often going to collect some data that you then want to join up data from multiple tables/data.frames.