Plays from YouTube. Watch on YouTube
What can data wrangling with r and dplyr tell us, and when can it mislead?
Meet data wrangling with r and dplyr through original animated explanations and reproducible statistical reasoning.
We start with analysis begins with a data definition and clarify cleaning choices influence the question answered.
From there, we investigate understand tidy data, then select columns and filter rows.
We work through mutate for new quantities using labelled diagrams, numerical examples or R as appropriate.
Then we examine group, summarize, and remember the denominator and the assumptions that make the interpretation defensible.
Finally, we consider joins can multiply rows unexpectedly before connecting the lesson to make a reproducible final analysis table.
The R demonstrations cover select, filter, mutate, group_by, summarise, joins and missingness, including the difference between trip-weighted and participant-weighted averages.
The big idea: Saving code is part of scientific communication.
Statistics and data science explained visually, one concept at a time.