Predictions competition for the 2018 world cup
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

World Cup 2018 Predictions League

The R code needed to run a predictions league for the 2018 world cup and to make two shiny apps in R to display the results to the competitiors. The data needed by the model is in


Contains two parts of the shiny app. Server.r imports all of the competition .csvs and creates the league. UI.r creates the UI for the shiny app. This bit is very basic, just a title, table and chart.


The key bit of code here is CreateTracker.r. This creates a dataframe with snapshots of the league after each game so that the shiny app can display the league position in an interactive chart

server.r imports the dataframe and creates a chart to display the data

ui.r displays the chart and selects which competitiors to display on the chart initially.