Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Shiny
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning Shiny

Learning Shiny

By : Hernan Resnizky
2.9 (7)
close
close
Learning Shiny

Learning Shiny

2.9 (7)
By: Hernan Resnizky

Overview of this book

Make the most of R’s dynamic capabilities and implement web applications with Shiny About This Book Present interactive data visualizations in R within the Shiny framework Construct web dashboards in a simple, intuitive, but fully flexible environment Apply your skills to create a real-world web application with this step-by-step guide Who This Book Is For If you are a data scientist who needs a platform to show your results to a broader audience in an attractive and visual way, or a web developer with no prior experience in R or Shiny, this is the book for you. What You Will Learn Comprehend many useful functions, such as lapply and apply, to process data in R Write and structure different files to create a basic dashboard Develop graphics in R using popular graphical libraries such as ggplot2 and GoogleVis Mount a dashboard on a Linux Server Integrate Shiny with non-R-native visualization, such as D3.js Design and build a web application In Detail R is nowadays one of the most used tools in data science. However, along with Shiny, it is also gaining territory in the web application world, due to its simplicity and flexibility. Shiny is a framework that enables the creation of interactive visualizations written entirely in R and can be displayed in almost any ordinary web browser. It is a package from RStudio, which is an IDE for R. From the fundamentals of R to the administration of multi-concurrent, fully customized web applications, this book explains how to achieve your desired web application in an easy and gradual way. You will start by learning about the fundamentals of R, and will move on to looking at simple and practical examples. These examples will enable you to grasp many useful tools that will assist you in solving the usual problems that can be faced when developing data visualizations. You will then walk through the integration of Shiny with R in general and view the different visualization possibilities out there. Finally, you will put your skills to the test and create your first web application! Style and approach This is a comprehensive, step-by-step guide that will allow you to learn and make full use of R and Shiny’s capabilities in a gradual way, together with clear, applied examples.
Table of Contents (13 chapters)
close
close
Free Chapter
1
1. Introducing R, RStudio, and Shiny
12
Index

What this book covers

Chapter 1, Introducing R, RStudio, and Shiny, is a brief introduction to R, RStudio, and Shiny, and it contains the necessary information to install them.

Chapter 2, First Steps towards Programming in R, is a general introduction to some key concepts and basic operations in R.

Chapter 3, An Introduction to Data Processing in R, covers some techniques to clean and process data in R using the functions of specific packages. Data processing is definitely one of the key aspects to take into account in order to produce a successful application.

Chapter 4, Shiny Structure – Reactivity Concepts, introduces the reader to Shiny's internal structure and logic.

Chapter 5, Shiny in Depth – A Deep Dive into Shiny's World, examines the different possibilities within the Shiny structure for each of its components. For the user interface section, it presents the different elements available, and for the backend section, it gives some hints about how to optimally organize code.

Chapter 6, Using R's Visualization Alternatives in Shiny, covers the most important graphical packages in R and how to include their outcomes in a Shiny application. This is a key aspect when developing an application, as graphics are usually one of the most common ways to present information in a web application.

Chapter 7, Advanced Functions in Shiny, introduces some advanced functions to control more complex interactions and explains how to use them.

Chapter 8, Shiny and HTML/JavaScript, explains how to include custom JavaScript, HTML, and CSS code in a Shiny application, as Shiny's frontend is HTML-based/JavaScript-based.

Chapter 9, Interactive Graphics in Shiny, covers two topics, whose common root is interaction with graphics. Firstly, the newly released functionality of Shiny's event listener within R's standard graphics and then the generation of custom JavaScript visualizations, and how to include them in a Shiny application.

Chapter 10, Sharing Applications, introduces different possibilities to publish applications right from passing the entire code to uploading it to a server and making it accessible via URL.

Chapter 11, From White Paper to a Full Application, simulates a real-world situation where a web application is needed and explains the whole process from scratch in a holistic way. It not only explains the code, but also gives some tips about how to structure it and how to communicate with data.

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY