Book Image

Hands-On Data Science with R

By : Vitor Bianchi Lanzetta, Doug Ortiz, Nataraj Dasgupta, Ricardo Anjoleto Farias
Book Image

Hands-On Data Science with R

By: Vitor Bianchi Lanzetta, Doug Ortiz, Nataraj Dasgupta, Ricardo Anjoleto Farias

Overview of this book

R is the most widely used programming language, and when used in association with data science, this powerful combination will solve the complexities involved with unstructured datasets in the real world. This book covers the entire data science ecosystem for aspiring data scientists, right from zero to a level where you are confident enough to get hands-on with real-world data science problems. The book starts with an introduction to data science and introduces readers to popular R libraries for executing data science routine tasks. This book covers all the important processes in data science such as data gathering, cleaning data, and then uncovering patterns from it. You will explore algorithms such as machine learning algorithms, predictive analytical models, and finally deep learning algorithms. You will learn to run the most powerful visualization packages available in R so as to ensure that you can easily derive insights from your data. Towards the end, you will also learn how to integrate R with Spark and Hadoop and perform large-scale data analytics without much complexity.
Table of Contents (16 chapters)

Data extraction, transformation, and load

The previous section looked at the high-level characteristics of data as defined by data types, formats and sources. Data Extraction-Transformation-Load (ETL) is a generic term that signifies the process of extracting (retrieving) data, applying transformations such as cleansing operations and aggregations, and finally loading the data onto a target system, if such is needed.

Basic tools of data wrangling

In this section, we're going to share some of the common data mining and aggregation operations that can be performed on data.frame, dplyr, and data.table.

First, we are going to learn how to use a few functions in Base R to perform basic manipulation operations. We'll then...