C2 - Instructions

Instructions for chapter 2: “Data Analysis Basics”

Introduction

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.

Start a project and import data

Step 1

Briefly check out the exercise sheet for chapter 2 to get an impression of what you need to learn/know to solve it.

Step 2

Watch the following YouTube Video: Import Packages and Load Data

Step 3

Solve Task 1-4 of the exercise sheet.

Step 4

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

Step 5

Solve tasks 6 of the exercise sheet.

Isolating data

Do the “Isolating data with dplyr” tutorial: Isolating data with dplyr

Step 6

Read the following recipe of the posit cloud: The select() command

Solve task 7 of the exercise sheet.

Step 7

Read the following recipe of the posit cloud: The filter() command

Solve task 8-9 of the exercise sheet.

Step 8

Read the following blog post about the pipe operator: The %>% pipe operator

Solve task 10 of the exercise sheet.

Deriving Information

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

Step 9

Read the following recipe of the posit cloud: The summarize() command

Solve Tasks 11 of the exercise sheet.

Step 10

Read the following recipe of the posit cloud: The group_by() command

Solve Tasks 12 of the exercise sheet.

Step 11

Compare your solutions to the sample solution for exercise sheet 2.

Additional Resources

Cheat Sheet: Data Transformation with dplyr -> Nice overview on how to transform data with dplyr