This repository showcases a basic Shiny application built with R, aimed at demonstrating how to structure and develop interactive web applications for sport science data. It serves as a learning resource for those interested in building Shiny apps from scratch.
The app can be found here Shiny App Demo
Please note that sport_science_demo_folder is in a standard directory structure expected by Shiny. Renaming or moving the files in here will result in issues deploying the app.
- A script designed to generate synthetic sport science data. This is useful for testing and demonstrating the app without relying on real datasets. Included is a formula to calculate EWMA ACWR.
- ui.R
- Defines the user interface of the app — including layout, inputs, and outputs that the user interacts with.
- server.R
- Contains the server-side logic — i.e., how data is processed and how outputs react to inputs.
- global.r
- File to load libraries, data, and theme for app to reference.
- data/
- folder with data from create_dummy_data.R in a .rda file.
- www/
- folder with stored images for app to reference