Header and side bar settings
Suppose you are working for an apparel company. Since a global soccer tournament has just concluded, your company wants to produce football apparel. To catch the attention of potential customers, the company needs to be in touch with the fan base.
You have been tasked to create a dashboard to help the company make better design decisions, based on the following:
- Some details for each match
- Total number of goals scored for each team
- Total number of yellow/red cards given to each team
In the exercise, the data has been stored as a dplyr
data frame called soccer
. The tidyverse
, shinydashboard
and shiny
libraries have also been loaded.
Good luck!
Diese Übung ist Teil des Kurses
Building Dashboards with shinydashboard
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# Set the title as "Soccer tournament"
header <- dashboardHeader(___)