Book Image

Introduction to R for Business Intelligence

By : Jay Gendron
Book Image

Introduction to R for Business Intelligence

By: Jay Gendron

Overview of this book

Explore the world of Business Intelligence through the eyes of an analyst working in a successful and growing company. Learn R through use cases supporting different functions within that company. This book provides data-driven and analytically focused approaches to help you answer questions in operations, marketing, and finance. In Part 1, you will learn about extracting data from different sources, cleaning that data, and exploring its structure. In Part 2, you will explore predictive models and cluster analysis for Business Intelligence and analyze financial times series. Finally, in Part 3, you will learn to communicate results with sharp visualizations and interactive, web-based dashboards. After completing the use cases, you will be able to work with business data in the R programming environment and realize how data science helps make informed decisions and develops business strategy. Along the way, you will find helpful tips about R and Business Intelligence.
Table of Contents (19 chapters)
Introduction to R for Business Intelligence
About the Author
About the Reviewers
R Packages Used in the Book
R Code for Supporting Market Segment Business Case Calculations

Deploying your Shiny app

Once you have created Shiny apps, you will want to share them with a broader audience. The following are three ways that are available to you:

  • Located on GitHub

  • Hosted on RStudio

  • Hosted on a private web server

Each of these three options has its advantages and disadvantages based on your desired implementation, but you should typically find that one of the three suits your needs better than the others.

Located on GitHub

First, you might want to share with another R-savvy user. There are three options to run an app from a location online or a locally-cloned repository. For example, you can run the online version of the campaign creator Shiny app by opening R and running a code block pointing to its location on GitHub:

shiny::runGitHub(repo = "", 
     username = "jgendron", 
     subdir = "Chapter8-ShinyDashboards/Ch8-CampaignCreatorApp") 

This method is extremely helpful when exploring various applications that others have created and you would like...