What Is a Shiny App?
Shiny is an R package for developing interactive web applications, or apps. Shiny apps are just webpages!
Webpages are made up of two main components.
-
HTML/CSS: what your app looks like (the form)
-
JavaScript: what your app does (the function)
The difference between Shiny apps and regular webpages: Shiny apps are powered by an R session.
Creating a Shiny app
To create a Shiny app, we need:
- Regular R stuff: writing code to manipulate and analyze data, visualize with graphs, etc…
-
To create a user interface
-
To connect 1 to 2 with reactive logic