ComenzarEmpieza gratis

Your first (empty) dashboard

In this exercise, you will be building a dashboard using data from a certain soccer world tournament which will be referred to "global soccer tournament" from here on. To this end, you decide that a shinydashboard will help you customize a dashboard based on your needs. Before you insert your desired elements in the dashboard, you will first construct an empty shinydashboard -- which will be like a skeleton of sorts.

The shiny and shinydashboard libraries have already been loaded for you in this exercise.

Este ejercicio forma parte del curso

Building Dashboards with shinydashboard

Ver curso

Instrucciones del ejercicio

  • Set the title of the shinydashboard to "Global soccer tournament".
  • Set up an empty side bar in the shinydashboard.
  • Set up an empty body for the shinydashboard.
  • Set up the UI of the shinydashboard by putting the header, side bar and body together.

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# Set the title of the shinydashboard
header <- ___
# Set up an empty side bar
sidebar <- ___
# Set up an empty body
body <- ___
# Set up the shinydashboard UI
ui <- ___
server <- function(input, output) {
}

shinyApp(ui, server)
Editar y ejecutar código