Book Image

Mastering RStudio: Develop, Communicate, and Collaborate with R

4 (1)
Book Image

Mastering RStudio: Develop, Communicate, and Collaborate with R

4 (1)

Overview of this book

RStudio helps you to manage small to large projects by giving you a multi-functional integrated development environment, combined with the power and flexibility of the R programming language, which is becoming the bridge language of data science for developers and analyst worldwide. Mastering the use of RStudio will help you to solve real-world data problems. This book begins by guiding you through the installation of RStudio and explaining the user interface step by step. From there, the next logical step is to use this knowledge to improve your data analysis workflow. We will do this by building up our toolbox to create interactive reports and graphs or even web applications with Shiny. To collaborate with others, we will explore how to use Git and GitHub and how to build your own packages to ensure top quality results. Finally, we put it all together in an interactive dashboard written with R.
Table of Contents (17 chapters)
Mastering RStudio – Develop, Communicate, and Collaborate with R
About the Authors
About the Reviewer

Building your own KPI dashboard

Let's imagine we are working for a company called FantasticFutureTec. This company manufactures and sells products such as Hoverboards, Lightsabers, Neuralizers, and all the cool stuff from the future, which we would like to have right now. FantasticFutureTec is a pure online business, which means people can buy their products on the company website only.

We get a job to build a central company dashboard with all the relevant key performance indicators. Of course, we create this dashboard with R, RStudio, the Shiny framework, and the shinydashboard package.

Creating our data architecture

First of all, we need to bring the expressed requirements and their feasibility under one roof. FantasticFutureTec uses Google Analytics as a website analytics tool, and furthermore, writes all customer details automatically from the website into a MySQL database. The current product inventory gets manually written into a Google Sheets file. The company is also very active on...