Hands-On Dashboard Development with Shiny - Chris Beeley - E-Book

Hands-On Dashboard Development with Shiny E-Book

Chris Beeley

0,0
20,39 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

Although vanilla Shiny applications look attractive with some layout flexibility, you may still want to have more control over how the interface is laid out to produce a dashboard. Hands-On Dashboard Development with Shiny helps you incorporate this in your applications.
The book starts by guiding you in producing an application based on the diamonds dataset included in the ggplot2 package. You’ll create a single application, but the interface will be reskinned and rebuilt throughout using different methods to illustrate their uses and functions using HTML, CSS, and JavaScript. You will also learn to develop an application that creates documents and reports using R Markdown. Furthermore, the book demonstrates the use of HTML templates and the Bootstrap framework.
Moving along, you will learn how to produce dashboards using the Shiny command and dashboard package. Finally, you will learn how to lay out applications using a wide range of built-in functions.
By the end of the book, you will have an understanding of the principles that underpin layout in Shiny applications, including sections of HTML added to a vanilla Shiny application, HTML interfaces written from scratch, dashboards, navigation bars, and interfaces.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 66

Veröffentlichungsjahr: 2018

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Hands-On Dashboard Development with Shiny
A practical guide to building effective web applications and dashboards
Chris Beeley
BIRMINGHAM - MUMBAI

Hands-On Dashboard Development with Shiny

Copyright © 2018 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

Commissioning Editor: Sunith ShettyAcquisition Editor:Karan JainContent Development Editor:Karan ThakkarTechnical Editor: Sagar SawantCopy Editor: Safis EditingProject Coordinator: Nidhi JoshiProofreader: Safis EditingIndexer:Mariammal ChettiyarGraphics:Jisha ChirayilProduction Coordinator:Shraddha Falebhai

First published: August 2018

Production reference: 1310818

Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK.

ISBN 978-1-78961-155-7

www.packtpub.com

mapt.io

Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.

Why subscribe?

Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals

Improve your learning with Skill Plans built especially for you

Get a free eBook or video every month

Mapt is fully searchable

Copy and paste, print, and bookmark content

Packt.com

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packt.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details.

At www.packt.com, you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.

Contributors

About the author

Chris Beeley is the author of Web Application Development with R Using Shiny. He has been using R and other open source software for 10 years to better capture, analyze, and visualize data in the healthcare sector in the UK. He works full-time developing software to store, collate, and present questionnaire data using open technologies (MySQL, PHP, R, and Shiny), with a special emphasis on using the web and Shiny to produce simple and attractive data summaries. He is attempting to expand the use of R and Shiny both within his own organization and throughout the rest of the health sector, as well as enabling his organization to better use a variety of other data science tools. He has also delivered talks about Shiny all over the country.

Packt is searching for authors like you

If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.

Table of Contents

Title Page

Copyright and Credits

Hands-On Dashboard Development with Shiny

Packt Upsell

Why subscribe?

Packt.com

Contributors

About the author

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Download the color images

Conventions used

Get in touch

Reviews

HTML and Shiny

Shiny functions to produce HTML

Creating a UI using HTML

Adding HTML using the tag() function

Using CSS

Dynamic downloadable reports in Shiny

Using HTML templates

Summary

Layout Functions in Shiny

Bootstrap framework

Uses of Bootstrap

Adding themes to Bootstrap

Producing layout in rows and columns

fluidPage()

bootstrapPage()

fixedPage()

Navigation bar and the navigation list based layout

Navbar panel application

NavlistPanel application

Summary of layout functions

flowlayout

sidebarlayout

splitlayout

verticallayout

fluidrow

navbar and navlist

Conditional UI

Summary

Dashboards

Building your first dashboard

Laying out a dashboard

Adding icons to your dashboards

Adding notifications, messages, and tasks

Info boxes and value boxes

Adding Google Charts to your dashboard

Summary

Other Books You May Enjoy

Leave a review - let other readers know what you think

Preface

Shiny is a framework for the R language that allows you to very easily produce powerful and attractive applications over the web. This allows your user to explore, analyze, and download data and analyses straight from their web browser. In this book, you will learn how to create flexible layouts and have full control over the layout of the dashboard and application.

This book helps you to create, reskin, and rebuild your application using methods such as HTML, CSS, JavaScript, and style sheets. You will learn how to produce dashboards using the Shiny command and dashboard package and how to use HTML templates and the Bootstrap framework. Finally, you will learn how to lay out applications using a wide range of built-in functions.

By the end of the book, you will have an understanding of the principles that underpin layout in Shiny applications, including sections of HTML added to a vanilla Shiny application, HTML interfaces written from scratch, dashboards, navigation bars, and interfaces.

Who this book is for

If you have some experience writing Shiny applications and want to use HTML, CSS, and Bootstrap to make custom interfaces, then this book is for you.

What this book covers

Chapter 1, HTML and Shiny, explains how to modify Shiny applications with built-in functions, HTML, and CSS. You will also learn how to create a application to download reports using R Markdown.

Chapter 2, Layout Functions in Shiny, covers the use of the Bootstrap framework and explains more about laying out your application. You will be building an application from scratch using Shiny Bootstrap-based functions.

Chapter 3, Dashboards, goes through the creation of dashboards using Shiny functions and the shiny dashboard package. We make use of notifications, messages, tasks, icons, and info boxes to build our dashboard.

To get the most out of this book

You require a basic knowledge of HTML, CSS, and RStudio, and vanilla Shiny installed on your system.

Download the example code files

You can download the example code files for this book from your account at www.packt.com. If you purchased this book elsewhere, you can visit www.packt.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

Log in or register at

www.packt.com

Select the

SUPPORT

tab

Click on

Code Downloads & Errata

Enter the name of the book in the

Search

box and follow the onscreen instructions

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

WinRAR/7-Zip for Windows

Zipeg/iZip/UnRarX for Mac

7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub athttps://github.com/PacktPublishing/Hands-On-Dashboard-Development-with-Shiny.