ShinyConf 2024
Garrick Aden-Buie
2024-04-18
🆕 Joined Shiny in 2023
🎨 {bslib}
with Carson Sievert
rstudio.github.io/bslib
dash · board | ˈdaSHˌbôrd |
🤖 …
shinydashboard
package, otherwise it’s a ✨ sparkling dashboard ✨🤖 …
A dashboard is a powerful tool for facilitating
data-driven decision-making and enhancing
business performance by visualizing key metrics
in a user-friendly and accessible format.
👷♀️ Find, clean, assemble, explore, learn, re-clean some data
📊 Summarize and present the data
🧑🤝🧑 Share with your friends
🤔 Find someone with a question
🦸 Use your data skills
🚀 Share your data powers
Photo by Kenny Eliason on Unsplash
Photo by Hill Country Camera on Unsplash
Photo by Hill Country Camera on Unsplash
bslib
is the new shinydashboard
bslib
is the new shinydashboard
Philosophical successor, not a drop in replacement
Data-driven anything, not just “dashboards”
Packed with transferrable experiences
install.packages("shiny")
install.packages(c("shiny", "bslib"))
library(shiny)
ui <- fluidPage(
)
server <- function(input, output, session) {
}
shinyApp(ui, server)
page_sidebar()
page_navbar()
page_fillable()
value_box(
title = textOutput("wday"),
value = uiOutput("weather"),
showcase = uiOutput("icon"),
showcase_layout = "top right",
theme = "bg-gradient-blue-purple"
)
value_box(
title = textOutput("wday"),
value = textOutput("avg_temp"),
showcase = plotlyOutput("plot"),
showcase_layout = "bottom",
full_screen = TRUE
)
bslib.shinyapps.io/build-a-box
rstudio.github.io/bslib