A RShiny App - German Bundesliga Soccer Tables

avatar

Hello. I have made a RShiny app with the R programming language which features the German Bundesliga soccer final tables.

The app link is https://dkmathstats.shinyapps.io/bundesligaTables_app/.

The images are screenshots except for the first and second image.


Pixabay Image Source


About

This interactive app is for Bundesliga soccer tables info which covers from 1964 to the recent 2019-2020 season.

The bundesligR package is used for the 1964 to 2015 years. The 2016-2019 tables were extracted from the ESPN website (Manual fill into .csv and then combine).

Colourful value boxes were supplemented with (free) Font Awesome icons.

I am quite happy in how this turned out for a hobbyist side project.


Pixabay Image Source


Some Features

 
Home Page

The first (home) page is an overall view of all the seasons. There is a count for number of goals scored, how many games played, the team with the best season, the team with the most Bundesliga titles, the team with the worst season in terms of points, a list of title winners and a list of runner ups with counts.

screenshot01.png

screenshot02.png

Bundesliga Tables Page

This Bundesliga Tables page allows the user to choose which seasons (years) they want for final tables. Choosing the seasons is done with a slider that filters the data between two years (inclusive). Note that choosing a season for 2018 is choosing the 2018-2019 season for example.

An additional and optional filter is for the user who wish to focus on choosing up to the top four teams in each season. This filter is for reducing the number of rows in the output table.

The screenshot below shows the recent 2019-2020 season final table (default). Because of the DT table package, you can show more than 10 entries. However, you would have to scroll down more.

screenshot11.png

screenshot12.png

Team Picker

I have decided to add this feature for those who want to see how a team placed throughout the years in the Bundesliga. This team picker page allows the user to pick a team from a list of Bundesliga teams. (Default is Bayern Muenchen aka Bayern Munich) Once a team is selected a filtered table appears at the bottom displaying the team finishes in all of the seasons they have appeared in the Bundesliga. (Some teams get relegated and come back into the Bundesliga).

The table results is sorted in descending season order. Most recent seasons for the teams are at the top.

teamPicker_screenshot.png

 


Pixabay Image Source

 

Thank you for reading.



0
0
0.000
0 comments