class: center, middle, inverse, title-slide .title[ # Semillero R ] .subtitle[ ## Sesión 7: Introducción a
shiny
] .institute[ ### Universidad Nacional - Universidad de Antioquia ] .date[ ### 2021-05-31 ] --- class: inverse, center, middle # [`shiny`](https://shiny.rstudio.com/) <center> <img src = "https://diegokoz.github.io/intro_ds_bookdown/img/shiny_logo.png" width=350/> </center> [Hoja guÃa `shiny` (español)](shiny_Spanish.pdf) --- class: inverse, center, middle # ¿Qué es `shiny`? > *"Shiny es un paquete de código abierto que proporciona un marco elegante y potente para crear aplicaciones web utilizando R. Shiny le ayuda a convertir sus análisis en aplicaciones web interactivas sin necesidad de conocimientos de HTML, CSS o JavaScript."* > **RStudio.** <center> <img src = "https://insidedatablog.files.wordpress.com/2017/02/shiny.png" width=400/> </center> --- # ¿Cómo funciona `shiny`? <center> <img src = "img/shiny_04.PNG"/> </center> --- # ¿Qué es la reactividad? <center> <img src = "img/shiny_09.PNG"/> </center> --- # Estructura de una App con `shiny` .panelset[ .panel[.panel-name[Componentes] <center> <img src = "img/shiny_01.png"/> </center> ] .panel[.panel-name[Estructura Simple] <center> <img src = "img/shiny_03.PNG"/> </center> ] .panel[.panel-name[Estructura Múltiple] <center> <img src = "img/shiny_05.PNG" width=900/> </center> ] ] --- # Entradas → [*inputs*](https://shiny.rstudio.com/gallery/widget-gallery.html) <center> <img src = "img/shiny_06.png"/> </center> --- # Salidas → [*outputs*](https://shiny.rstudio.com/tutorial/written-tutorial/lesson4/) <center> <img src = "img/shiny_07.PNG" width=900/> </center> --- # *Inputs* → *Outputs* <center> <img src = "img/shiny_08.PNG"/> </center> --- class: inverse, center, middle # [Diseños de la App](https://www.bioinformatics.babraham.ac.uk/shiny/Intro_to_Shiny_course/examples/04.1_layouts/) <center> <img src = "https://www.clipartmax.com/png/full/285-2856299_software-development-clipart-client-computer-sales-dashboard-icon-transparent.png" width = 250/> </center> `fluidRow()` `flowLayout()` `sidebarLayout()` `splitLayout()` `verticalLayout()` `tabsetPanel()` `navlistPanel()` `navbarPage()` --- class: inverse, center, middle # ## [Temas con `shinythemes`](https://rstudio.github.io/shinythemes/) ## [Temas con `bslib`](https://shiny.rstudio.com/articles/themes.html) <center> <img src = "https://icons-for-free.com/iconfiles/png/512/colors+palette+icon-1320087273311630593.png" width = 250/> </center> --- class: inverse, middle, center # [Mastering Shiny](https://mastering-shiny.org/index.html) <center> <img src="https://d33wubrfki0l68.cloudfront.net/0c97eee3d8fc820f3a8d670c08b286e8a524257b/e426c/cover.png" width = 330/> </center> --- class: inverse, center, middle # <center> <img src = "img/gracias.gif" width = 600 /> </center>