The following vignette entails the working of the shiny apps included in the package:
"draft" : This shiny app lets you explore the history of NBA drafts by colleges varying over years. For example: You can select "Stanford" and see in a histogram formulation which teams drafted Stanford players. Also, you can download the histogram as a plot.
"shotcharts" : This shiny app lets you plot and download shot chart of a player with varying attributes including missed/not missed shot, in which quarter the shot was made etc. For example: You can choose "Stephen Curry" with outcome as an attribute which would plot the shots made and missed by Stephen Curry over the past twenty games.
Use launchApp() with the name of the App to start using the interface
rNBA::launchApp("draft") rNBA::launchApp("shotcharts")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.