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!
This exercise is part of the course
Building Dashboards with shinydashboard
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Set the title as "Soccer tournament"
header <- dashboardHeader(___)