Book Image

Web Application Development with R Using Shiny Second Edition - Second Edition

By : Chris Beeley
Book Image

Web Application Development with R Using Shiny Second Edition - Second Edition

By: Chris Beeley

Overview of this book

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 (14 chapters)
Web Application Development with R Using Shiny Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Chapter 3. Building Your Own Web Pages with Shiny

So, we built our own application to query our site's data on Google Analytics. You learned about the basic setup of a Shiny application and saw a lot of the widgets. It will be important to remember this basic structure because we are going to cover a lot of different territories in this chapter, and as a consequence, we won't have a single application at the end, as we did in the previous chapter, but lots of bits and pieces that you can use to start building your own content from.

Building one application with all of these different concepts would create several pages of code, and it would be difficult to understand which part does what. As you go through the chapter, you might want to rebuild the Google Analytics application or another of your own if you have one, using each of the concepts. If you do this, you will have a beautifully styled and interactive application by the end that you really understand. Otherwise, you might like to...