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)

Some advice about Shiny

The shiny package requires a server running R. If you want see how to deploy an application online, I suggest you access https://www.shinyapps.io/, sign in, and develop your own app. The basic version is free to use, but it has limited resources, so you must go with a simple app. If you like it and want to improve, you can try the paid version or another data server. The Shiny RStudio gallery (https://shiny.rstudio.com/gallery/) can give you some inspiration and show you how people are using the Shiny app.

If your app is online, it will drain some resources from the server. It's good practice to keep all of the code you really don't need to run every time outside the server function. The code in the UI is executed only when the R section starts, but the codes inside the server function is executed every single time when the user interacts with...