The ‘EPL_MA_Crossover’ repository hosts the code for my English Premier League Moving Average Crossover Shiny app.
The Shiny app currently only displays one tab, namely the ‘Moving Average Crossover’ tab, which shows the moving average crossover plot of the selected team, metric, and moving averages lengths.
This project is an R Shiny app which contains:
- setup.R: Script containing packages and other setup materials.
- global.R: Script for the global environment in the Shiny application.
- ui.R: Script for the user interface in the Shiny application.
- server.R: Script for the server logic in the Shiny application.
- R/: Directory of the main functions used in the project.
The main functions in this repo is documented with roxygen2
-style
docstrings. Please use the
docstring
packages to view the documentation directly in RStudio’s help pane like
so:
library(docstring)
docstring(create_crossover_plot)
This project use the renv
package for dependency management. After cloning you may run
renv::restore()
to re-install all of the packages as declared in the
renv lockfile.
Football data is obtained directly from football-data.co.uk.