###################################################################
############### Module 6, Basics of data wrangling ################
###################################################################
## Lesson 11, Part 3: The split-apply-combine procedure:


# First load the tidyverse packages upload the tree data from the previous part of the lesson:
library("tidyverse")
tree_data <- read_csv("data/tree_data.csv")

###################################
##### SPLIT-APPLY-COMBINE (GROUP_BY and SUMMARIZE)
# One of the most common procedures for working with
# and preparing data for analyses is called the 
# split-apply-combine procedure.



###################################
##### SUMMARY
# - split-apply-combine procedure using group_by and summarize or mutate
#
# In the next lesson in this module we will go over combining datasets, but first
# a set of exercises to review this and the previous lessons.
