5.0 / 5
We will cover the following tasks in 1 hour and 2 minutes:
Fundamental components in Shiny
In this chapter, we will understand the fundamental components playing part in an interactive Shiny application: - app.R : R code to be written by a developer that dictates the functioning of the application. - An open R session : supports the Shiny application in real time.
Basic architecture of Shiny app
In this chapter, we will look at the basic architecture of a Shiny application including : - The R library “shiny” - The ui object : dictates the appearance of the Shiny application - The server object : determines the back-end calculations and functioning of the application - Shinyapp function : knits together the ui and server objects to bring to life an interactiv Shiny application using an open R session
Exploring the data
In this chapter, we will read the prices of most popular crypto coins from a CSV file into R. We will inspect and analyze the data to determine how best to display the information on a graph.
Layout and input widgets
In this chapter, we will design the application layout - the placement of various components on the application interface. We will also learn about “input widgets” which allow users to “reach out” to the data and insights behind an application.
In this chapter, we will utilize the “select input” widget readily available in Shiny. It allows users to select one of the multiple options from a list. In response, the application changes output.
Date Range Input
In this chapter, we will use “date range input” which will allow our application users to select a desired period of time for analysis of the crypto currency prices. By doing so, we will familiarize ourselves with placing available widgets in Shiny onto our user interface.
In this chapter, we will code the server object of our application. This code will direct how each widget placed on our user interface will function. Using the server object code, our application will synchronize the input widgets and the output objects.
In this chapter, we will review every concept discussed in this session. We will also discuss the similarities and dissimilarities between components and share tips and tricks that will help you readily create web applications in R Shiny!