Instructions for chapter 2: “Data Analysis Basics”
In this chapter you will learn how to
To meet this chapter’s learning objectives, please complete the respective exercise sheet. The instructions below will guide you through the process of solving the exercise sheet.
Briefly check out the exercise sheet for chapter 2 to get an impression of what you need to learn/know to solve it.
Watch the following YouTube Video: Import Packages and Load Data
Solve Task 1-4 of the exercise sheet.
Watch the following video that introduces you to the DPLYR package: Introduction to the DPLYR package
Do the “Working with Tibbles” tutorial: Working with Tibbles
Solve tasks 6 of the exercise sheet.
Do the “Isolating data with dplyr” tutorial: Isolating data with dplyr
Read the following recipe of the posit cloud: The select() command
Solve task 7 of the exercise sheet.
Read the following recipe of the posit cloud: The filter() command
Solve task 8-9 of the exercise sheet.
Read the following blog post about the pipe operator: The %>% pipe operator
Solve task 10 of the exercise sheet.
Do the first three subchapters of the “Deriving Information with dplyr” tutorial (The most popular names, summarize() and group_by() and summarize() ): Deriving Information with dplyr
Read the following recipe of the posit cloud: The summarize() command
Solve Tasks 11 of the exercise sheet.
Read the following recipe of the posit cloud: The group_by() command
Solve Tasks 12 of the exercise sheet.
Compare your solutions to the sample solution for exercise sheet 2.
Cheat Sheet: Data Transformation with dplyr -> Nice overview on how to transform data with dplyr