10 Data Wrangling

20200607 Data will need to be transformed in many different ways to get it ready for visualisation and analysis. This chapter provides a comprehensive catalogue of different tasks useful for wrangling our data. The goal is to transform the acquired raw and untidy data into a tidy dataset.

Chapter 8 presented an approach to data wrangling based on a template that utilises many of the transformations presented here. The template provides the basic steps which in any project will be combined with transformations found in this current chapter. What is to be transformed is usually determined through our data exploration as presented in Chapter 9.

We will also find ourselves coming back to the data wrangling after visualising (Chapter 11) and building machine learning models from the data.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0