Remember to:

  • Consider removing the dplyr package so you can demonstrate installing it.
    • Linux users: you may not want to do this because the source install is slow

Introduction to tabular data

surveys <- read.csv("surveys.csv")
species <- read.csv("species.csv")
plots <- read.csv("plots.csv")

Packages

Basic dplyr

surveys <- read.csv("surveys.csv")
select(surveys, year, month, day)
select(surveys, month, day, year)
filter(surveys, species_id == "DS")
mutate(surveys, hindfoot_length_cm = hindfoot_length / 10)
surveys_plus <- mutate(surveys,
                       hindfoot_length_cm = hindfoot_length / 10)
surveys <- mutate(surveys,
                  hindfoot_length_cm = hindfoot_length / 10)

Do Shrub Volume Data Basics.