Skip to content

A basic athlete dashboard built in Shiny that enables coaches send notes directly to athletes's phone from the app.

Notifications You must be signed in to change notification settings

josedv82/Push_Notes_to_Athlete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Push Notes to Athlete's Phones

A minimal athlete dashboard app built in Shiny that enables coaches to send notes directly to an athletes's phone from within the dashboard.

Demo

Content

This shiny app uses the package {pushover} to let users send notifications to an athlete's mobile phone directly from the R shiny dashboard. Steps I followed build the app:

Register on Pushover

  • Register an account on pushover (it offers a free trial)
  • Create a pushover app
  • Both, the user key and pushover app keys provided during the registration process will be needed for the shiny app.

**For step-by-step intructions on how to create a pushover account (and a pushover app) check this this tutorial

Alternatively, you can choose other notification services such as slack, pushbullet, etc.. depending on your organization's requirements.

Shiny APP

  • Download your data and format your dashboard. I did that here. I re-used a table dashboard I had previously created here.

  • Next I added a column with action buttons. On this code, towards the end I added a mutate statement that contains this part of the code. The important thing here is, no matter whether you have a table with 5 or 500 rows, each button has a unique id. This means you only need to create one modal and one observeEvent later in the app, instead of having to create one for each different row/button.

  • Finally, design your app UI and Server. My code example is here

Disclaimer

The raw data and images for this example were downloaded using the NBAstatR package.

About

A basic athlete dashboard built in Shiny that enables coaches send notes directly to athletes's phone from the app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages