Web Application Development with R Using Shiny - Second Edition

Integrate the power of R with the simplicity of Shiny to deliver cutting-edge analytics over the Web

Web Application Development with R Using Shiny - Second Edition

This ebook is included in a Mapt subscription
Chris Beeley

4 customer reviews
Integrate the power of R with the simplicity of Shiny to deliver cutting-edge analytics over the Web
$0.00
$16.00
$39.99
$29.99p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781782174349
Paperback194 pages

Book Description

R is a highly flexible and powerful tool for analyzing and visualizing data. Most of the applications built using various libraries with R are desktop-based. But what if you want to go on the web? Here comes Shiny to your rescue!

Shiny allows you to create interactive web applications using the excellent analytical and graphical capabilities of R. This book will guide you through basic data management and analysis with R through your first Shiny application, and then show you how to integrate Shiny applications with your own web pages. Finally, you will learn how to finely control the inputs and outputs of your application, along with using other packages to build state-of-the-art applications, including dashboards.

Table of Contents

Chapter 1: Getting Started with R and Shiny!
Installing R
The R console
Code editors and IDEs
Learning R
Loading data
Data types and structures
Base graphics and ggplot2
Advanced tasks with dplyr and ggvis
Installing Shiny and running the examples
Summary
Chapter 2: Building Your First Application
Types of Shiny application
A minimal example of a fully Shiny application
Widget types
The Google Analytics application
Advanced layout features
Summary
Chapter 3: Building Your Own Web Pages with Shiny
Running the applications and code
Shiny and HTML
Custom HTML links in Shiny
A minimal HTML interface
JavaScript and Shiny
jQuery
Exercise
Bootstrap 3 and Shiny
Summary
Chapter 4: Taking Control of Reactivity, Inputs, and Outputs
What's new in our application?
Downloading data from RGoogleAnalytics
Animation
Streamline the UI by hiding elements
Naming tabPanel elements
Beautiful tables with DataTable
Reactive user interfaces
Progress bars
Advanced reactivity and data handling
More advanced topics in Shiny
Advanced graphics options
Downloading graphics and reports
Downloadable reports with knitr
Downloading and uploading data
Debugging
Summary
Chapter 5: Advanced Applications I – Dashboards
Applications in this chapter
Version one – sidebar layout
Adding icons to your UI
Using shinyBS to add pop-ups and tooltips
Adding a pop-up window to an output
Using shinythemes
Version two – grid layout (A)
Version two – grid layout (B)
Version three – navigation bar
Version four – dashboard
Notifications
Info boxes
Google Charts gauge
Resizing the google chart
Summary
Chapter 6: Advanced Applications II – Using JavaScript Libraries in Shiny Applications
The htmlwidgets package
The application framework
Dygraphs
Dygraphs with a prediction
rCharts
d3heatmap
threejs
Summary
Chapter 7: Sharing Your Creations
Sharing with the R community
Using Git and GitHub within Rstudio
Summary

What You Will Learn

  • Build interactive applications using Shiny's built-in widgets
  • Use the built-in layout functions in Shiny to produce user-friendly applications
  • Integrate Shiny applications with web pages and customize them using HTML and CSS
  • Harness the power of JavaScript and jQuery to customize your applications
  • Engage your users and build better analytics using interactive plots
  • Debug your applications using Shiny's built-in functions
  • Deliver simple and powerful analytics across your organization using Shiny dashboards
  • Share your applications with colleagues or over the Internet using cloud services or your own server

Authors

Table of Contents

Chapter 1: Getting Started with R and Shiny!
Installing R
The R console
Code editors and IDEs
Learning R
Loading data
Data types and structures
Base graphics and ggplot2
Advanced tasks with dplyr and ggvis
Installing Shiny and running the examples
Summary
Chapter 2: Building Your First Application
Types of Shiny application
A minimal example of a fully Shiny application
Widget types
The Google Analytics application
Advanced layout features
Summary
Chapter 3: Building Your Own Web Pages with Shiny
Running the applications and code
Shiny and HTML
Custom HTML links in Shiny
A minimal HTML interface
JavaScript and Shiny
jQuery
Exercise
Bootstrap 3 and Shiny
Summary
Chapter 4: Taking Control of Reactivity, Inputs, and Outputs
What's new in our application?
Downloading data from RGoogleAnalytics
Animation
Streamline the UI by hiding elements
Naming tabPanel elements
Beautiful tables with DataTable
Reactive user interfaces
Progress bars
Advanced reactivity and data handling
More advanced topics in Shiny
Advanced graphics options
Downloading graphics and reports
Downloadable reports with knitr
Downloading and uploading data
Debugging
Summary
Chapter 5: Advanced Applications I – Dashboards
Applications in this chapter
Version one – sidebar layout
Adding icons to your UI
Using shinyBS to add pop-ups and tooltips
Adding a pop-up window to an output
Using shinythemes
Version two – grid layout (A)
Version two – grid layout (B)
Version three – navigation bar
Version four – dashboard
Notifications
Info boxes
Google Charts gauge
Resizing the google chart
Summary
Chapter 6: Advanced Applications II – Using JavaScript Libraries in Shiny Applications
The htmlwidgets package
The application framework
Dygraphs
Dygraphs with a prediction
rCharts
d3heatmap
threejs
Summary
Chapter 7: Sharing Your Creations
Sharing with the R community
Using Git and GitHub within Rstudio
Summary

Book Details

ISBN 139781782174349
Paperback194 pages
Read More
From 4 reviews

Read More Reviews