Hands-on Data Science
My learning DE

Learning path

Data transformation with R and dplyr

You break a question about a data set down into basic operations and carry them out in R with select() and filter(), even when values are missing or cannot be right.

The content of this path is being written right now.

About this path

This path starts without code. The first part is about what it means to transform data, which few basic operations are enough for it, and which shape a table should have so that it is easy to analyse. That holds for every tool, whether R, Python, SQL or Excel. To begin with, the slides show all six verbs and the pipe in one go, while the lessons after them go into the details step by step.

In the second part you put the ideas into practice in R with the package dplyr. Every code box is a small editor in which R runs right in your browser, so there is nothing to install. All examples use a small excerpt from a survey on milk and milk alternatives. If you do not know R yet, start with the path Getting started with R; that is also where you get to know the data set.

Further parts on arrange(), mutate(), summarize() and group_by() and on joining tables will follow.

For whom
Everyone who wants to analyse data, without programming experience
Level
Beginner
Code
8715
Status
published

    A four-digit code takes you straight to the item.